-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 use images overrides in operator deploy #795
🌱 use images overrides in operator deploy #795
Conversation
Signed-off-by: Zhiwei Yin <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zhiweiyin318 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #795 +/- ##
==========================================
+ Coverage 63.79% 63.81% +0.01%
==========================================
Files 192 192
Lines 18613 18613
==========================================
+ Hits 11875 11878 +3
+ Misses 5759 5757 -2
+ Partials 979 978 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -21,7 +21,7 @@ hub-kubeconfig: | |||
deploy-hub: deploy-hub-helm hub-kubeconfig cluster-ip | |||
|
|||
deploy-hub-helm: ensure-helm | |||
$(HELM) install cluster-manager deploy/cluster-manager/chart/cluster-manager --namespace=open-cluster-management --create-namespace --set images.registry=$(IMAGE_REGISTRY),images.tag=$(IMAGE_TAG) | |||
$(HELM) install cluster-manager deploy/cluster-manager/chart/cluster-manager --namespace=open-cluster-management --create-namespace --set images.overrides.operatorImage=$(OPERATOR_IMAGE_NAME),images.overrides.registrationImage=$(REGISTRATION_IMAGE),images.overrides.workImage=$(WORK_IMAGE),images.overrides.placementImage=$(PLACEMENT_IMAGE),images.overrides.addOnManagerImage=$(ADDON_MANAGER_IMAGE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we remove the images.registry and images.tag?
/lgtm |
e5e013c
into
open-cluster-management-io:main
Signed-off-by: Zhiwei Yin <[email protected]>
* Use e2e images instead of latest (open-cluster-management-io#756) Signed-off-by: zhujian <[email protected]> * override images in helm chart (open-cluster-management-io#771) Signed-off-by: Zhiwei Yin <[email protected]> * use images overrides in operator deploy (open-cluster-management-io#795) Signed-off-by: Zhiwei Yin <[email protected]> --------- Signed-off-by: zhujian <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> Co-authored-by: Zhiwei Yin <[email protected]>
Summary
The two makefile commands are used in e2e tests, but in some case, the image name will be overrode by the temp names.
So here use the override images directly .
Related issue(s)
Fixes #