generate bundle: Support overwriting of annotations.yaml#6860
generate bundle: Support overwriting of annotations.yaml#6860KeenonLee wants to merge 1 commit intooperator-framework:masterfrom
generate bundle: Support overwriting of annotations.yaml#6860Conversation
|
a5c0daf to
88f5768
Compare
|
/assign @acornett21 |
Signed-off-by: Keenon Lee <jitli@redhat.com>
88f5768 to
7dda757
Compare
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
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-sigs/prow repository. |
|
Can you reopen the pr, when operator-sdk bundle, always cover my old bundles in local host, thanks. |
|
Reopen PR because someone needs it |
|
@KeenonLee: Reopened this PR. DetailsIn response to this:
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-sigs/prow repository. |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
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-sigs/prow repository. |
Description of the change:
jitli@RedHat:~/work/src/github/sdk/operator-sdk$ ./build/operator-sdk generate bundle -h Flags: --channels string A comma-separated list of channels the bundle belongs to (default "alpha") --crds-dir string Directory to read cluster-ready CustomResoureDefinition manifests from. This option can only be used if --deploy-dir is set --default-channel string The default channel for the bundle --deploy-dir string Directory to read cluster-ready operator manifests from. If --crds-dir is not set, CRDs are ready from this directory. This option is mutually exclusive with --input-dir and piping to stdin --extra-service-accounts strings Names of service accounts, outside of the operator's Deployment account, that have bindings to {Cluster}Roles that should be added to the CSV -h, --help help for bundle --input-dir string Directory to read cluster-ready operator manifests from. This option is mutually exclusive with --deploy-dir/--crds-dir and piping to stdin. This option should not be passed an existing bundle directory, as this bundle will not contain the correct set of manifests required to generate a CSV. Use --kustomize-dir to pass a base CSV --kustomize-dir string Directory containing kustomize bases in a "bases" dir and a kustomization.yaml for operator-framework manifests (default "config/manifests") --manifests Generate bundle manifests --metadata Generate bundle metadata and Dockerfile --output-dir string Directory to write the bundle to --overwrite Overwrite the bundle's metadata and Dockerfile if they exist (default true) + --overwrite-annotations Only overwrite annotations.yaml without modifying bundle.Dockerfile --package string Bundle's package name -q, --quiet Run in quiet mode --stdout Write bundle manifest to stdout --use-image-digests Use SHA Digest for images -v, --version string Semantic version of the operator in the generated bundle. Only set if creating a new bundle or upgrading your operator Global Flags: --plugins strings plugin keys to be used for this subcommand execution --verbose Enable verbose loggingMotivation for the change:
--overwrite wipes out any additional labels on the bundle.Dockerfile.
Provide a new --overwrite-annotations option to support overwriting annotations only.
Closes #6787
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments(seechangelog/fragments/00-template.yaml)website/content/en/docs