Browse Source

rename seaweedfs-s3-secret.yaml to s3-secret.yaml to match other s3 files

also make sure we check filer.s3.existingConfigSecret
pull/5048/head
jessebot 1 year ago
committed by Chris Lu
parent
commit
4297601f4b
  1. 2
      k8s/charts/seaweedfs/templates/s3-secret.yaml

2
k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml → 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 -}} {{- $access_key_admin := randAlphaNum 16 -}}
{{- $secret_key_admin := randAlphaNum 32 -}} {{- $secret_key_admin := randAlphaNum 32 -}}
{{- $access_key_read := randAlphaNum 16 -}} {{- $access_key_read := randAlphaNum 16 -}}
Loading…
Cancel
Save