feat(argo-workflows): Support Azure Blob Storage for artifact (#1488)
* feat(argo-workflows): Support Azure Blob Storage for artifact Signed-off-by: yu-croco <yu.croco@gmail.com> * chore(argo-workflows): refactor, from if/else to with Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
bf2420767b
commit
ab2ab593b3
4 changed files with 29 additions and 7 deletions
|
|
@ -56,10 +56,13 @@ data:
|
|||
{{- if .Values.artifactRepository.archiveLogs }}
|
||||
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
||||
{{- end }}
|
||||
{{- if .Values.artifactRepository.gcs }}
|
||||
gcs:
|
||||
{{ toYaml .Values.artifactRepository.gcs | indent 8}}
|
||||
{{- else }}
|
||||
{{- with .Values.artifactRepository.gcs }}
|
||||
gcs: {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.artifactRepository.azure }}
|
||||
azure: {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if and (not .Values.artifactRepository.gcs) (not .Values.artifactRepository.azure) }}
|
||||
s3:
|
||||
{{- if .Values.useStaticCredentials }}
|
||||
accessKeySecret:
|
||||
|
|
@ -89,7 +92,7 @@ data:
|
|||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.metricsConfig.enabled }}
|
||||
metricsConfig:
|
||||
enabled: {{ .Values.controller.metricsConfig.enabled }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue