Allow templating in S3 config
Signed-off-by: PidgeyBE <pidgey.be@gmail.com> Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>
This commit is contained in:
parent
0923de4993
commit
cc6c3e0962
1 changed files with 7 additions and 7 deletions
|
@ -69,20 +69,20 @@ data:
|
|||
s3:
|
||||
{{- if .Values.useStaticCredentials }}
|
||||
accessKeySecret:
|
||||
key: {{ .Values.artifactRepository.s3.accessKeySecret.key }}
|
||||
name: {{ .Values.artifactRepository.s3.accessKeySecret.name }}
|
||||
key: {{ tpl .Values.artifactRepository.s3.accessKeySecret.key $ }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.accessKeySecret.name $ }}
|
||||
secretKeySecret:
|
||||
key: {{ .Values.artifactRepository.s3.secretKeySecret.key }}
|
||||
name: {{ .Values.artifactRepository.s3.secretKeySecret.name }}
|
||||
key: {{ tpl .Values.artifactRepository.s3.secretKeySecret.key $ }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.secretKeySecret.name $ }}
|
||||
{{- end }}
|
||||
bucket: {{ .Values.artifactRepository.s3.bucket }}
|
||||
endpoint: {{ .Values.artifactRepository.s3.endpoint }}
|
||||
bucket: {{ tpl .Values.artifactRepository.s3.bucket $ }}
|
||||
endpoint: {{ tpl .Values.artifactRepository.s3.endpoint $ }}
|
||||
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
||||
{{- if .Values.artifactRepository.s3.keyFormat }}
|
||||
keyFormat: {{ .Values.artifactRepository.s3.keyFormat | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.artifactRepository.s3.region }}
|
||||
region: {{ .Values.artifactRepository.s3.region }}
|
||||
region: {{ tpl .Values.artifactRepository.s3.region $ }}
|
||||
{{- end }}
|
||||
{{- if .Values.artifactRepository.s3.roleARN }}
|
||||
roleARN: {{ .Values.artifactRepository.s3.roleARN }}
|
||||
|
|
Loading…
Reference in a new issue