Skip to content

Add user configurable labels to our crds which operators pass through to all created objects #184

@soenkeliebau

Description

@soenkeliebau

Currently our operators create a default set of labels on the objects that they create.

We currently do not offer users the functionality to add custom labels to those objects that are created by our operators, which will probably be necessary.

The idea is to add something like the following to all our cluster crds:

propagatedLabels:
  - env: prod
  - team: marketing

Which would then result in those labels being added to statefulset, pods, etc that are created to create this cluster.

Ideally we'd specify this struct in the framework and also have an easy way of adding these to objects in the builders or similar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions