Browse Source

add a $ to env vars so they expand in shell

pull/5049/head
Max Roby 1 year ago
committed by Chris Lu
parent
commit
0aea4dc1f3
  1. 4
      k8s/charts/seaweedfs/templates/post-install-user-hook.yaml

4
k8s/charts/seaweedfs/templates/post-install-user-hook.yaml

@ -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 }}

Loading…
Cancel
Save