From e239d1d288b5fe4efbd7dfcdc4571072ae9493fe Mon Sep 17 00:00:00 2001 From: Bryton Hall Date: Tue, 24 Sep 2019 16:16:17 -0400 Subject: [PATCH] expose metrics port of workflow controller --- charts/argo/templates/workflow-controller-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index b32385be..855373d3 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -48,3 +48,7 @@ spec: fieldPath: metadata.namespace resources: {{- toYaml .Values.controller.resources | nindent 12 }} + {{- if .Values.controller.metricsConfig.enabled }} + ports: + - containerPort: 8080 + {{- end }}