expose metrics port of workflow controller

This commit is contained in:
Bryton Hall 2019-09-24 16:16:17 -04:00 committed by GitHub
parent d99ab90a6d
commit e239d1d288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 }}