Skip to content
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

Conversation

zhiweiyin318
Copy link
Member

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 #

@openshift-ci openshift-ci bot requested review from xuezhaojun and zhujian7 January 9, 2025 08:19
Copy link
Contributor

openshift-ci bot commented Jan 9, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Jan 9, 2025
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.81%. Comparing base (6461137) to head (aa99573).
Report is 1 commits behind head on main.

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     
Flag Coverage Δ
unit 63.81% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -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)
Copy link
Member

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?

@zhujian7
Copy link
Member

zhujian7 commented Jan 9, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 9, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit e5e013c into open-cluster-management-io:main Jan 9, 2025
15 checks passed
zhujian7 pushed a commit to zhujian7/ocm that referenced this pull request Jan 9, 2025
@zhiweiyin318 zhiweiyin318 deleted the update-deploy branch January 9, 2025 09:19
openshift-merge-bot bot pushed a commit to stolostron/ocm that referenced this pull request Jan 9, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants