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

feat(cluster): Add support for passing inheritedMetadata to Cluster spec #326

Open
paraddise opened this issue Jul 2, 2024 · 1 comment · May be fixed by #400
Open

feat(cluster): Add support for passing inheritedMetadata to Cluster spec #326

paraddise opened this issue Jul 2, 2024 · 1 comment · May be fixed by #400
Labels
chart( cluster ) Related to the cluster chart

Comments

@paraddise
Copy link
Contributor

Operator supports passing metadata that will be inherited by all resources related to Cluster.

Spec - https://github.com/cloudnative-pg/cloudnative-pg/blob/main/api/v1/cluster_types.go#L254

@itay-grudev itay-grudev added the chart( cluster ) Related to the cluster chart label Jul 30, 2024
@paraddise
Copy link
Contributor Author

paraddise commented Aug 29, 2024

As workaround you can pass INHERITED_LABELS to configmap/secret of the operator
my values.yaml

config:
  data:
    INHERITED_LABELS: finops

Definition from the doc

list of label names that, when defined in a Cluster metadata, will be inherited by all the generated resources, including pods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( cluster ) Related to the cluster chart
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants