add metricsConfig to the configmaps for the workflow-controller-configmap.yaml (#42)
This commit is contained in:
parent
97bc21a6eb
commit
c14d052fd7
2 changed files with 7 additions and 0 deletions
|
@ -30,3 +30,6 @@ data:
|
||||||
endpoint: {{ .Values.artifactRepository.s3.endpoint | default (printf "%s-%s" .Release.Name "minio:9000") }}
|
endpoint: {{ .Values.artifactRepository.s3.endpoint | default (printf "%s-%s" .Release.Name "minio:9000") }}
|
||||||
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
{{- if .Values.controller.metricsConfig.enabled }}
|
||||||
|
metricsConfig:
|
||||||
|
{{ toYaml .Values.controller.metricsConfig | indent 6}}{{- end }}
|
||||||
|
|
|
@ -15,6 +15,10 @@ init:
|
||||||
controller:
|
controller:
|
||||||
# podAnnotations is an optional map of annotations to be applied to the controller Pods
|
# podAnnotations is an optional map of annotations to be applied to the controller Pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
metricsConfig:
|
||||||
|
enabled: false
|
||||||
|
path: /metrics
|
||||||
|
port: 8080
|
||||||
serviceAccount: argo
|
serviceAccount: argo
|
||||||
name: workflow-controller
|
name: workflow-controller
|
||||||
workflowNamespaces:
|
workflowNamespaces:
|
||||||
|
|
Loading…
Reference in a new issue