feat: add support for setting roleARN and useSDKCreds properties for S3 artifact repository

This commit is contained in:
Yuriy Gapon 2020-04-29 21:24:44 -04:00
parent 9df1b0dd99
commit e2347af3f9
2 changed files with 7 additions and 0 deletions

View file

@ -38,6 +38,11 @@ data:
{{- end }}
{{- if .Values.artifactRepository.s3.region }}
region: {{ .Values.artifactRepository.s3.region }}
{{- if .Values.artifactRepository.s3.roleARN }}
roleARN: {{ .Values.artifactRepository.s3.roleARN }}
{{- end }}
{{- if .Values.artifactRepository.s3.useSDKCreds }}
useSDKCreds: {{ .Values.artifactRepository.s3.useSDKCreds }}
{{- end }}
{{- end}}
{{- if .Values.controller.metricsConfig.enabled }}

View file

@ -195,6 +195,8 @@ artifactRepository:
# bucket:
# endpoint:
# region:
# roleARN:
# useSDKCreds: true
# NOTE: These are setting attributes for the `minio` optional dependency
minio: