Skip to content

Support custom labels on Pods created by clickhouseinstallations #1999

@klibr007

Description

@klibr007

Description

When deploying a ClickHouseInstallation, there does not appear to be a supported way to add custom labels to the Pods created by the operator.

We would like to apply custom organizational labels to all ClickhousePods generated by a ClickHouseInstallation, without relying on external mutating admission controllers or post-deployment patches.

For example:

metadata:
  labels:
    xxx: yyy

or

spec:
  templates:
    podTemplates:
      podLabels:
        xxx: yyy

which would then be propagated to the Pod templates of the generated StatefulSets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions