Note app.kubernetes.io/name: app and app.kubernetes.io/instance: release-name are duplicated.
On the whole, kubernetes ignores the duplication. Kustomize is less nice and will throw errors along these lines:
error: map[string]interface {}(nil): yaml: unmarshal errors:
line 20: mapping key "app.kubernetes.io/name" already defined at line 17
line 21: mapping key "app.kubernetes.io/instance" already defined at line 18
To recreate, in the
operator-wandb
directory run:The resulting yaml will have duplicate selector labels:
Note
app.kubernetes.io/name: app
andapp.kubernetes.io/instance: release-name
are duplicated.On the whole, kubernetes ignores the duplication. Kustomize is less nice and will throw errors along these lines: