fix(argo-workflows): Support value for s3 secret name

Signed-off-by: ariel-enso <ariel.shadkhan@snyk.io>
This commit is contained in:
ariel-enso 2023-06-18 18:58:43 +03:00
parent 120a5e901c
commit e8dbcc9832
No known key found for this signature in database
GPG key ID: EA86B63A14B3D880
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.4.8
name: argo-workflows name: argo-workflows
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
type: application type: application
version: 0.30.0 version: 0.29.3
icon: https://argoproj.github.io/argo-workflows/assets/logo.png icon: https://argoproj.github.io/argo-workflows/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
sources: sources:

View file

@ -706,13 +706,14 @@ artifactRepository:
# -- Store artifact in a S3-compliant object store # -- Store artifact in a S3-compliant object store
# @default -- See [values.yaml] # @default -- See [values.yaml]
s3: s3:
secretName: "{{ .Release.Name }}-minio"
# Note the `key` attribute is not the actual secret, it's the PATH to # 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. # the contents in the associated secret, as defined by the `name` attribute.
accessKeySecret: accessKeySecret:
name: "{{ .Release.Name }}" name: "{{ tpl .Values.artifactRepository.s3.secretName . }}"
key: accesskey key: accesskey
secretKeySecret: secretKeySecret:
name: "{{ .Release.Name }}" name: "{{ tpl .Values.artifactRepository.s3.secretName . }}"
key: secretkey key: secretkey
# insecure will disable TLS. Used for s3 comptiable alternatives not configured with TLS # insecure will disable TLS. Used for s3 comptiable alternatives not configured with TLS
insecure: false insecure: false