fix(argo-workflows): Drop .Values.useDefaultArtifactRepo flag to simplify usage (#2002)
Fixes #1140 - [x] remove `.Values.useDefaultArtifactRepo` to ensure if items populated they get into the configmap. - [x] change structure of `.Values.customArtifactRepository` to only include the custom information Signed-off-by: jmeridth <jmeridth@gmail.com>
This commit is contained in:
parent
513df3df8f
commit
2197c8e040
4 changed files with 14 additions and 22 deletions
|
|
@ -55,7 +55,6 @@ data:
|
|||
securityContext: {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.useDefaultArtifactRepo }}
|
||||
artifactRepository:
|
||||
{{- if .Values.artifactRepository.archiveLogs }}
|
||||
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
||||
|
|
@ -96,10 +95,8 @@ data:
|
|||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- if .Values.customArtifactRepository }}
|
||||
artifactRepository: {{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.customArtifactRepository }}
|
||||
{{- toYaml .Values.customArtifactRepository | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.metricsConfig.enabled }}
|
||||
metricsConfig:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue