add metricsConfig to the configmaps for the workflow-controller-configmap.yaml (#42)

main
Nick Stott 2019-04-16 18:27:40 -04:00 committed by Alex Collins
parent 97bc21a6eb
commit c14d052fd7
2 changed files with 7 additions and 0 deletions

View File

@ -30,3 +30,6 @@ data:
endpoint: {{ .Values.artifactRepository.s3.endpoint | default (printf "%s-%s" .Release.Name "minio:9000") }}
insecure: {{ .Values.artifactRepository.s3.insecure }}
{{- end}}
{{- if .Values.controller.metricsConfig.enabled }}
metricsConfig:
{{ toYaml .Values.controller.metricsConfig | indent 6}}{{- end }}

View File

@ -15,6 +15,10 @@ init:
controller:
# podAnnotations is an optional map of annotations to be applied to the controller Pods
podAnnotations: {}
metricsConfig:
enabled: false
path: /metrics
port: 8080
serviceAccount: argo
name: workflow-controller
workflowNamespaces: