From 3c15c8ddade7aa81d5a94212986f27024b28f93a Mon Sep 17 00:00:00 2001 From: Manuel Leonhardt Date: Mon, 5 May 2025 20:54:43 +0200 Subject: [PATCH] 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 --- k8s/charts/seaweedfs/templates/cosi-deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml b/k8s/charts/seaweedfs/templates/cosi-deployment.yaml index 0e2e19477..d23de0584 100644 --- a/k8s/charts/seaweedfs/templates/cosi-deployment.yaml +++ b/k8s/charts/seaweedfs/templates/cosi-deployment.yaml @@ -14,7 +14,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: