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
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
The text was updated successfully, but these errors were encountered:
To recreate, in the
operator-wandb
directory run:The resulting yaml will have duplicate selector labels:
... spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: app app.kubernetes.io/instance: release-name helm.sh/chart: app-0.1.0 app.kubernetes.io/name: app app.kubernetes.io/instance: release-name app.kubernetes.io/version: "0.33.0" wandb.com/app-name: app-0.1.0 app.kubernetes.io/managed-by: Helm ...
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:
The text was updated successfully, but these errors were encountered: