From f7b98ea1fb8a5c7b59ac93e2b5eb5c3ea27f3a3d Mon Sep 17 00:00:00 2001 From: Max Roby Date: Thu, 23 Nov 2023 12:04:15 +0100 Subject: [PATCH] fix uneeded quote usage --- .../seaweedfs/templates/post-install-user-hook.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml index 32439bca2..0926c0ba7 100644 --- a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml +++ b/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml @@ -47,12 +47,12 @@ spec: - name: SEAWEEDFS_FULLNAME value: "{{ template "seaweedfs.name" . }}" {{- range $reg, $props := $.Values.filer.s3.createUsers }} - - name: "{{ $props.secretName | upper }}-ID" + - name: {{ $props.secretName | upper }}_ID valueFrom: secretKeyRef: name: {{ $props.secretName }} key: ACCESS_KEY_ID - - name: "{{ $props.secretName | upper }}-KEY" + - name: {{ $props.secretName | upper }}_KEY valueFrom: secretKeyRef: name: {{ $props.secretName }} @@ -67,8 +67,8 @@ spec: "s3.configure --user {{ $props.name }} \ --buckets {{ $props.buckets }} \ --actions {{ $props.actions }} \ - --access_key "${{ $props.secretName | upper }}-ID" \ - --secret_key "${{ $props.secretName | upper }}-KEY" \ + --access_key ${{ $props.secretName | upper }}_ID \ + --secret_key ${{ $props.secretName | upper }}_KEY \ --apply true" |\ /usr/bin/weed shell {{- end }}