Skip to content

generate bundle: Support overwriting of annotations.yaml #6787

@adambkaplan

Description

@adambkaplan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.language/goIssue is related to a Go operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions