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`
This commit is contained in:
David Jansen
2025-09-05 19:16:22 +02:00
committed by GitHub
parent 0ac3c65480
commit 63f4bc64a3

View File

@@ -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: