expose workflow metrics port (#121)

This commit is contained in:
Bryton Hall 2019-09-24 16:52:33 -04:00 committed by Alex Collins
parent d99ab90a6d
commit 9273c610ce
2 changed files with 5 additions and 1 deletions

View file

@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "v2.3.0" appVersion: "v2.3.0"
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
name: argo name: argo
version: 0.5.3 version: 0.5.4
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png

View file

@ -48,3 +48,7 @@ spec:
fieldPath: metadata.namespace fieldPath: metadata.namespace
resources: resources:
{{- toYaml .Values.controller.resources | nindent 12 }} {{- toYaml .Values.controller.resources | nindent 12 }}
{{- if .Values.controller.metricsConfig.enabled }}
ports:
- containerPort: 8080
{{- end }}