From 8c8444541a0b60530f4c421e746dc31ad66f23a3 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 24 Jan 2024 12:24:15 -0500 Subject: [PATCH] fix(s3): re-add env vars for S3 presigner for asset downloads (#121) --- charts/cryostat/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/cryostat/templates/deployment.yaml b/charts/cryostat/templates/deployment.yaml index 34a20e6b..948ed256 100644 --- a/charts/cryostat/templates/deployment.yaml +++ b/charts/cryostat/templates/deployment.yaml @@ -72,12 +72,16 @@ spec: value: static - name: QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID value: cryostat + - name: AWS_ACCESS_KEY_ID + value: $(QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID) - name: QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: {{ printf "%s-storage-secret-key" .Release.Name }} key: SECRET_KEY optional: false + - name: AWS_SECRET_ACCESS_KEY + value: $(QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY) {{- if not .Values.minimal }} - name: GRAFANA_DATASOURCE_URL value: http://127.0.0.1:8800