From b7d184c740024cc4087b85ede41ae35c027ab138 Mon Sep 17 00:00:00 2001 From: Gregor Tudan Date: Mon, 13 May 2024 16:20:14 +0200 Subject: [PATCH] Helm-Chart: Make MySQL credentials optional (#5583) --- k8s/charts/seaweedfs/templates/filer-statefulset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml index 6da7ecbe0..30f2da537 100644 --- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml @@ -84,11 +84,13 @@ spec: secretKeyRef: name: secret-seaweedfs-db key: user + optional: true - name: WEED_MYSQL_PASSWORD valueFrom: secretKeyRef: name: secret-seaweedfs-db key: password + optional: true - name: SEAWEEDFS_FULLNAME value: "{{ template "seaweedfs.name" . }}" {{- if .Values.filer.extraEnvironmentVars }}