aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessebot <jessebot@linux.com>2023-11-21 12:38:30 +0100
committerChris Lu <chrislusf@users.noreply.github.com>2023-11-21 08:20:45 -0800
commit4297601f4b1f40e8ed4a7f7771f64a693f76781e (patch)
treea77476c160ef1b5bab41144dda8a1bc10af3d3d9
parent05106829083345e996f3438e901fbdf2e34b0870 (diff)
downloadseaweedfs-4297601f4b1f40e8ed4a7f7771f64a693f76781e.tar.xz
seaweedfs-4297601f4b1f40e8ed4a7f7771f64a693f76781e.zip
rename seaweedfs-s3-secret.yaml to s3-secret.yaml to match other s3 files
also make sure we check filer.s3.existingConfigSecret
-rw-r--r--k8s/charts/seaweedfs/templates/s3-secret.yaml (renamed from k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml)2
1 files changed, 1 insertions, 1 deletions
diff --git a/k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml b/k8s/charts/seaweedfs/templates/s3-secret.yaml
index 58e649c98..09e81adbf 100644
--- a/k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml
+++ b/k8s/charts/seaweedfs/templates/s3-secret.yaml
@@ -1,4 +1,4 @@
-{{- if not (or .Values.filer.s3.skipAuthSecretCreation .Values.s3.skipAuthSecretCreation .Values.s3.existingConfigSecret ) }}
+{{- if not (or .Values.filer.s3.skipAuthSecretCreation .Values.s3.skipAuthSecretCreation .Values.filer.s3.existingConfigSecret .Values.s3.existingConfigSecret ) }}
{{- $access_key_admin := randAlphaNum 16 -}}
{{- $secret_key_admin := randAlphaNum 32 -}}
{{- $access_key_read := randAlphaNum 16 -}}