Correct values & secrets for s3

This commit is contained in:
Benedith Mulongo 2024-12-10 18:14:17 +01:00
parent f5ec2e2b3a
commit cc55e5f9be
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3
2 changed files with 6 additions and 3 deletions

View file

@ -312,9 +312,9 @@ catalogs:
fs.native-s3.enabled=true
hive.metastore: file
hive.metastore.catalog.dir: s3a://delta-lake-test/
s3.aws-access-key="{{ .Env.MINIO_ACCESS_KEY }}"
s3.aws-secret-key="{{ .Env.MINIO_SECRET_KEY }}"
s3.endpoint="{{ .Env.MINIO_ENDPOINT_URL }}"
s3.aws-access-key="{{ .Values.MINIO_ACCESS_KEY }}"
s3.aws-secret-key="{{ .Values.MINIO_SECRET_KEY }}"
s3.endpoint="{{ .Values.MINIO_ENDPOINT_URL }}"
s3.path-style-access=true
# catalogs -- Configure
# [catalogs](https://trino.io/docs/current/installation/deployment.html#catalog-properties).

View file

@ -22,5 +22,8 @@ worker:
# s3.aws-secret-key="${MINIO_SECRET_KEY}"
# s3.endpoint="${MINIO_ENDPOINT_URL}"
# s3.path-style-access=true
MINIO_ACCESS_KEY: { ? { .Secret "minio-credentials" "MINIO_ACCESS_KEY" | quote } }
MINIO_SECRET_KEY: { ? { .Secret "minio-credentials" "MINIO_SECRET_KEY" | quote } }
MINIO_ENDPOINT_URL: { ? { .Secret "minio-credentials" "MINIO_ENDPOINT_URL" | quote } }
# #s3.ssl.enabled: false