You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a end user, I want to inject labels to all crossplane-managed resources. When using provider-kubernetes I might want to add labels or annotations to all resulting resources from Objects, so that its metadata would end up like:
I feel this should come directly from the ProviderConfig, e.g. under spec.commonLabels or by adding a new kind ObjectTemplate where we could set the skeleton of an Object (mainly metadata annotations and labels) from which all resulting Objects would merge.
Additionally a selector field could help selecting which Objects we want to alter.
apiVersion: kubernetes.crossplane.io/v1alpha2kind: ObjectTemplatemetadata:
name: commonspec:
selector: {} # applies to all ObjectscommonLabels:
app.kubernetes.io/managed-by: crossplane
The text was updated successfully, but these errors were encountered:
What problem are you facing?
As a end user, I want to inject labels to all crossplane-managed resources. When using
provider-kubernetes
I might want to add labels or annotations to all resulting resources from Objects, so that its metadata would end up like:When creating an Object like:
How could Crossplane help solve your problem?
I feel this should come directly from the ProviderConfig, e.g. under
spec.commonLabels
or by adding a new kindObjectTemplate
where we could set the skeleton of an Object (mainly metadata annotations and labels) from which all resulting Objects would merge.Additionally a
selector
field could help selecting which Objects we want to alter.The text was updated successfully, but these errors were encountered: