Added template for ingress class resource name
As a child chart need to able to pass class resource as variable including release namespace as variables.
This commit is contained in:
parent
8b24fc98d2
commit
9477838781
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ metadata:
|
|||
{{- with .Values.controller.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ .Values.controller.ingressClassResource.name }}
|
||||
name: {{ tpl (toYaml .Values.controller.ingressClassResource.name) . | nindent 2 }}
|
||||
{{- if .Values.controller.ingressClassResource.default }}
|
||||
annotations:
|
||||
ingressclass.kubernetes.io/is-default-class: "true"
|
||||
|
|
Loading…
Reference in a new issue