Add archiveLogs option to Argo workflow controller config map

This commit is contained in:
Kornesh Kanan 2019-02-08 15:10:28 +08:00
parent 969a59ead2
commit 225bae2d57
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,9 @@ data:
{{- end }} {{- end }}
artifactRepository: artifactRepository:
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }} {{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
{{- if .Values.artifactRepository.archiveLogs }}
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
{{- end }}
s3: s3:
{{- if .Values.useStaticCredentials }} {{- if .Values.useStaticCredentials }}
accessKeySecret: accessKeySecret:

View file

@ -71,6 +71,8 @@ ui:
useDefaultArtifactRepo: false useDefaultArtifactRepo: false
useStaticCredentials: true useStaticCredentials: true
artifactRepository: artifactRepository:
# archiveLogs will archive the main container logs as an artifact
archiveLogs: true
s3: s3:
# 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.