Support using release name for workflow controller instance id

This commit is contained in:
Alexander Matyushentsev 2018-01-05 11:11:40 -08:00
parent dcd5931ef3
commit 5ab47e8639
2 changed files with 9 additions and 2 deletions

View file

@ -8,7 +8,11 @@ metadata:
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
data: data:
config: | config: |
{{ if .Values.useReleaseAsInstanceID }}
instanceID: {{ .Release.Name }}
{{ else }}
instanceID: {{ .Values.instanceID }} instanceID: {{ .Values.instanceID }}
{{ end }}
artifactRepository: artifactRepository:
{{ if .Values.installMinio }} {{ if .Values.installMinio }}
s3: s3:

View file

@ -1,14 +1,17 @@
imagesNamespace: argoproj imagesNamespace: argoproj
controllerImage: workflow-controller controllerImage: workflow-controller
uiImage: argoui uiImage: argoui
executorImage: argoexec
imagesTag: v2.0.0-alpha3 imagesTag: v2.0.0-alpha3
controllerName: workflow-controller controllerName: workflow-controller
# Enables ability to SSH into pod using web UI
enableWebConsole: false enableWebConsole: false
executorImage: argoexec
uiName: ui uiName: ui
crdVersion: v1alpha1 crdVersion: v1alpha1
# If set to true then chart set controller instance id to release name
useReleaseAsInstanceID: false
instanceID: instanceID:
serviceAccount:
# If set to true then chart installs minio and generate according artifactRepository section in workflow controller config map
installMinio: true installMinio: true
minioBucketName: argo-artifacts minioBucketName: argo-artifacts