Add support for custom healthz path in helm chart

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-03-15 11:54:58 -03:00
parent 130af33510
commit 3a5bc90709
4 changed files with 13 additions and 2 deletions

View file

@ -82,6 +82,9 @@ spec:
{{- if .Values.controller.maxmindLicenseKey }}
- --maxmind-license-key={{ .Values.controller.maxmindLicenseKey }}
{{- end }}
{{- if not (eq .Values.controller.healthCheckPath "/healthz") }}
- --health-check-path={{ .Values.controller.healthCheckPath }}
{{- end }}
{{- range $key, $value := .Values.controller.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}