From 63f4bc64a3f032a436ff54c0f688ce99bb147c63 Mon Sep 17 00:00:00 2001 From: David Jansen <39294842+dajsn@users.noreply.github.com> Date: Fri, 5 Sep 2025 19:16:22 +0200 Subject: [PATCH] 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` --- k8s/charts/seaweedfs/templates/cosi/cosi-deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/cosi/cosi-deployment.yaml b/k8s/charts/seaweedfs/templates/cosi/cosi-deployment.yaml index b200c89ae..813af850d 100644 --- a/k8s/charts/seaweedfs/templates/cosi/cosi-deployment.yaml +++ b/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: