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
There is a supported way to change labels with spec.labels in all objects what is created by operator, but it is not supported to change the app.kubernetes.io/name label from 'vertica' to anything else, because if it is changed, then operator won't see the created objects in certain operations, for example during a vertica upgrade operator won't change vertica image version in the statefulset, but changes all other thing in the statefulset :)
If it is possible, then it would be great to get the ability to change the app.kubernetes.io/name label as well, because we have other Kubernetes manifests as well in the deployment, and all other has our self app.kubernetes.io/name label, except Vertica pods :(
The text was updated successfully, but these errors were encountered:
We can now set the following label in the CR:
```
spec:
labels:
app.kubernetes.io/name: "org-name"
```
All k8s created object will have it. If it is not set in the CR, it will
assume the default value which is `vertica`.
A webhook has also been added to prevent other internally used labels to
be overridden.
Closes#384
---------
Co-authored-by: Matt Spilchen <matt.spilchen@vertica.com>
There is a supported way to change labels with spec.labels in all objects what is created by operator, but it is not supported to change the app.kubernetes.io/name label from 'vertica' to anything else, because if it is changed, then operator won't see the created objects in certain operations, for example during a vertica upgrade operator won't change vertica image version in the statefulset, but changes all other thing in the statefulset :)
If it is possible, then it would be great to get the ability to change the app.kubernetes.io/name label as well, because we have other Kubernetes manifests as well in the deployment, and all other has our self app.kubernetes.io/name label, except Vertica pods :(
The text was updated successfully, but these errors were encountered: