From 9273c610ce60199fb3b15c8dda3d94f38c7952d5 Mon Sep 17 00:00:00 2001 From: Bryton Hall Date: Tue, 24 Sep 2019 16:52:33 -0400 Subject: [PATCH] expose workflow metrics port (#121) --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index f3fc51bf..1ffb5594 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v1 appVersion: "v2.3.0" description: A Helm chart for Argo Workflows name: argo -version: 0.5.3 +version: 0.5.4 icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png 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 }}