-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add related images to bundle generation #5519
Add related images to bundle generation #5519
Conversation
Signed-off-by: Ryan King <ryking@redhat.com>
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.
minor typo.
internal/generate/clusterserviceversion/clusterserviceversion.go
Outdated
Show resolved
Hide resolved
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.
looks good, given nit & typo fix
Signed-off-by: Ryan King <ryking@redhat.com>
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.
/lgtm
Signed-off-by: Ryan King <ryking@redhat.com>
/lgtm |
Signed-off-by: Ryan King <ryking@redhat.com>
/lgtm |
* add related images to bundle generation Signed-off-by: Ryan King <ryking@redhat.com> * regenerate and fix typos Signed-off-by: Ryan King <ryking@redhat.com> * no related images will be null, not an empty slice Signed-off-by: Ryan King <ryking@redhat.com> * regenerate to fix sanity Signed-off-by: Ryan King <ryking@redhat.com>
* add related images to bundle generation Signed-off-by: Ryan King <ryking@redhat.com> * regenerate and fix typos Signed-off-by: Ryan King <ryking@redhat.com> * no related images will be null, not an empty slice Signed-off-by: Ryan King <ryking@redhat.com> * regenerate to fix sanity Signed-off-by: Ryan King <ryking@redhat.com>
Signed-off-by: Ryan King ryking@redhat.com
Description of the change:
During bundle generation (
operator-sdk generate bundle
ormake bundle
),operator-sdk
will look through the environment of the controller manager for related images, namedRELATED_IMAGE_<IMAGE_NAME>
, and add them to theClusterServiceVersion
spec.relatedImages
field.Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs