Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

add a $ to env vars so they expand in shell

Max Roby0aea4dc1f312
diff --git a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml
index 40cf9b427e..7673696041 100644
--- a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml
+++ b/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 }}