Browse Source

fix: helm chart with COSI deployment enabled breaks on helm upgrade (#7201)

the `helm.sh/chart` line with the changing version number breaks helm upgrades to due to `matchLabels` being immutable.

drop the offending line as it does not belong into the `matchLabels`
pull/7207/head
David Jansen 4 weeks ago
committed by GitHub
parent
commit
63f4bc64a3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      k8s/charts/seaweedfs/templates/cosi/cosi-deployment.yaml

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

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

Loading…
Cancel
Save