From 4297601f4b1f40e8ed4a7f7771f64a693f76781e Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 21 Nov 2023 12:38:30 +0100 Subject: [PATCH] rename seaweedfs-s3-secret.yaml to s3-secret.yaml to match other s3 files also make sure we check filer.s3.existingConfigSecret --- .../templates/{seaweedfs-s3-secret.yaml => s3-secret.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename k8s/charts/seaweedfs/templates/{seaweedfs-s3-secret.yaml => s3-secret.yaml} (93%) diff --git a/k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml b/k8s/charts/seaweedfs/templates/s3-secret.yaml similarity index 93% rename from k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml rename to 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 -}}