-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Allow setting custom images for addons #10111
Conversation
Hi @lingsamuel. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can one of the admins verify this patch? |
/cc @tstromberg |
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.
do u mind adding an example output of an addon with multiple images and replacing one of the images in the addon ?
would it support if the user wants to replace only one of the images? could we see an example?
Added. Currently I migrated ingress addon, requires 3 images, user can custom all/some of these images. |
a76589b
to
d51a10c
Compare
48cefbf
to
334805d
Compare
This comment has been minimized.
This comment has been minimized.
334805d
to
dd66adb
Compare
/cc @medyagh |
ae24ed8
to
f7f1ca0
Compare
1f7d571
to
07bd386
Compare
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.
thank you for updating the PR, @lingsamuel lets add index to the table too
/ok-to-test |
Seems like all failing tests are flaky. |
@lingsamuel do u mind pulling upstream master |
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
Signed-off-by: Ling Samuel <[email protected]>
* fix missing suffix when using global image repo * support override global image repo * change all imagePullPolicy to IfNotPresent * fix empty global image repo suffix Signed-off-by: Ling Samuel <[email protected]>
07bd386
to
101d39f
Compare
@medyagh done |
Signed-off-by: Ling Samuel <[email protected]>
@lingsamuel sorry for the delay in reviewing this PR, and this looks good to me. thank you for adding this feature |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lingsamuel, medyagh 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 |
Signed-off-by: Ling Samuel [email protected]
Currently addon image names are hardcoded, see #10063.
This PR move images to golang instead of yaml (currently migrated: ingress). To fully support #10063, we need to migrate all yaml template to the format this PR used.
Fixes #10063
Changes:
Addon
struct--images
foraddons enable
, format is:ImageName=Image,ImageName2=Image2
--registries
foraddons enable
, format is:ImageName=Registry,ImageName2=Registry2
. Empty is okay (will use docker.io).addon images
to view how many images the addon requires, and images name used aboveImageRepository
mistakes in yaml templateExamples:
Custom 1 image (newest
images
output see below):Custom 2 images:
Custom image and registry:
addons images ingress
:Note:
kube-webhook-certgen
, I am not sure if it's by design, so I keep this as is.quay.io/operator-framework/olm@sha256:0d15ffb5d10a176ef6e831d7865f98d51255ea5b0d16403618c94a004d049373
is0.14.1
: