From e8dbcc9832a924312ca6419fbe80c13dc4f0366f Mon Sep 17 00:00:00 2001 From: ariel-enso Date: Sun, 18 Jun 2023 18:58:43 +0300 Subject: [PATCH] fix(argo-workflows): Support value for s3 secret name Signed-off-by: ariel-enso --- charts/argo-workflows/Chart.yaml | 2 +- charts/argo-workflows/values.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index b91b3376..0258a831 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v3.4.8 name: argo-workflows description: A Helm chart for Argo Workflows type: application -version: 0.30.0 +version: 0.29.3 icon: https://argoproj.github.io/argo-workflows/assets/logo.png home: https://github.com/argoproj/argo-helm sources: diff --git a/charts/argo-workflows/values.yaml b/charts/argo-workflows/values.yaml index 0b16c9f8..4b959f2c 100644 --- a/charts/argo-workflows/values.yaml +++ b/charts/argo-workflows/values.yaml @@ -706,13 +706,14 @@ artifactRepository: # -- Store artifact in a S3-compliant object store # @default -- See [values.yaml] s3: + secretName: "{{ .Release.Name }}-minio" # Note the `key` attribute is not the actual secret, it's the PATH to # the contents in the associated secret, as defined by the `name` attribute. accessKeySecret: - name: "{{ .Release.Name }}" + name: "{{ tpl .Values.artifactRepository.s3.secretName . }}" key: accesskey secretKeySecret: - name: "{{ .Release.Name }}" + name: "{{ tpl .Values.artifactRepository.s3.secretName . }}" key: secretkey # insecure will disable TLS. Used for s3 comptiable alternatives not configured with TLS insecure: false