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

generate bundle: Support overwriting of annotations.yaml #6787

Open
adambkaplan opened this issue Jul 22, 2024 · 0 comments
Open

generate bundle: Support overwriting of annotations.yaml #6787

adambkaplan opened this issue Jul 22, 2024 · 0 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. language/go Issue is related to a Go operator project

Comments

@adambkaplan
Copy link

Feature Request

Describe the problem you need a feature to resolve.

Operator bundles need to have annotations for releasing in various catalogs. These should be synced between bundle.Dockerfile and annotations.yaml, per the bundle format docs. However, operator-sdk generate bundle provides no easy means to do this. --overwrite wipes out any additional labels on the bundle.Dockerfile.

Describe the solution you'd like.

Amend --overwrite to support overwriting annotations only (or provide a new --overwrite-annotations option). Ex:

operator-sdk generate bundle --overwrite=annotations

/language go

@openshift-ci openshift-ci bot added the language/go Issue is related to a Go operator project label Jul 22, 2024
@acornett21 acornett21 added kind/feature Categorizes issue or PR as related to a new feature. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. language/go Issue is related to a Go operator project
Projects
None yet
Development

No branches or pull requests

2 participants