Browse Source

fix: remove blocking match label (#6760)

matchLabels are immutable. Thus, matching against the version, which
changes with every release, blocks Helm upgrades. To resolve this, the
label is removed. See [1] where this was similarly done.

[1] https://github.com/seaweedfs/seaweedfs/pull/6090
pull/6766/head
Manuel Leonhardt 1 week ago
committed by GitHub
parent
commit
3c15c8ddad
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      k8s/charts/seaweedfs/templates/cosi-deployment.yaml

1
k8s/charts/seaweedfs/templates/cosi-deployment.yaml

@ -14,7 +14,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: objectstorage-provisioner app.kubernetes.io/component: objectstorage-provisioner
template: template:

Loading…
Cancel
Save