Allow use of numeric namespaces in helm chart

This commit is contained in:
Manuel Alejandro de Brito Fontes 2021-01-27 18:06:51 -03:00
parent 118a7527fb
commit 175f97dce5
8 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@ kind: PrometheusRule
metadata:
name: {{ include "ingress-nginx.controller.fullname" . }}
{{- if .Values.controller.metrics.prometheusRule.namespace }}
namespace: {{ .Values.controller.metrics.prometheusRule.namespace }}
namespace: {{ .Values.controller.metrics.prometheusRule.namespace | quote }}
{{- end }}
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}