diff options
| author | Max Roby <max@lil-mac.lan> | 2023-11-24 12:08:50 +0100 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2023-11-24 06:40:19 -0800 |
| commit | cf5703e86e3f3b4aa9dca31a979c4521890a8d2b (patch) | |
| tree | bc936ae388b036583ab9ca343069da542c06b4c0 | |
| parent | c479c05f6eeb53fc7fc28b289e48e8b3cd6c4cda (diff) | |
| download | seaweedfs-cf5703e86e3f3b4aa9dca31a979c4521890a8d2b.tar.xz seaweedfs-cf5703e86e3f3b4aa9dca31a979c4521890a8d2b.zip | |
existingConfigSecretshould now be consistently treated as a string in the post-install-hook
| -rw-r--r-- | k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index 712eddd74..b8c95fcca 100644 --- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml @@ -88,7 +88,7 @@ spec: - name: config-users secret: defaultMode: 420 - {{- if .Values.filer.s3.existingConfigSecret }} + {{- if not (empty .Values.filer.s3.existingConfigSecret) }} secretName: {{ .Values.filer.s3.existingConfigSecret }} {{- else }} secretName: seaweedfs-s3-secret |
