supabase-kubernetes icon indicating copy to clipboard operation
supabase-kubernetes copied to clipboard

fix(storage): correct secret key reference for AWS_SECRET_ACCESS_KEY

Open albionh opened this issue 2 months ago • 0 comments

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

The Helm template for AWS_SECRET_ACCESS_KEY incorrectly references .Values.secret.s3.secretRefKey.keyId instead of .Values.secret.s3.secretRefKey.accessKey. This causes pods to pull the wrong key from the Kubernetes Secret and fail to authenticate to S3/MinIO.

What is the new behavior?

  • AWS_SECRET_ACCESS_KEY now correctly references .Values.secret.s3.secretRefKey.accessKey | default "accessKey".
  • Backward compatibility preserved via default "accessKey".
  • Pods can now properly mount credentials and authenticate with S3/MinIO.

Additional context

Tested locally with helm template to confirm correct Secret key resolution. This aligns the chart with expected AWS credential naming (keyId for AWS_ACCESS_KEY_ID, accessKey for AWS_SECRET_ACCESS_KEY).

albionh avatar Sep 17 '25 16:09 albionh