existingConfigSecretshould now be consistently treated as a string in the post-install-hook

This commit is contained in:
Max Roby 2023-11-24 12:08:50 +01:00 committed by Chris Lu
parent c479c05f6e
commit cf5703e86e

View file

@ -88,7 +88,7 @@ spec:
- name: config-users - name: config-users
secret: secret:
defaultMode: 420 defaultMode: 420
{{- if .Values.filer.s3.existingConfigSecret }} {{- if not (empty .Values.filer.s3.existingConfigSecret) }}
secretName: {{ .Values.filer.s3.existingConfigSecret }} secretName: {{ .Values.filer.s3.existingConfigSecret }}
{{- else }} {{- else }}
secretName: seaweedfs-s3-secret secretName: seaweedfs-s3-secret