added namespace field in the namespace scoped resource templates of helm chart (#7256)

* added namespace field in the namespace scoped resource templates of helm chart

* moved namespace field from roleRef to metadata
This commit is contained in:
Long 2021-06-21 11:56:51 +00:00 committed by GitHub
parent 388fa0185c
commit 2a190d2657
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 29 additions and 1 deletions

View file

@ -13,6 +13,7 @@ metadata:
{{- toYaml .Values.controller.service.labels | nindent 4 }}
{{- end }}
name: {{ include "ingress-nginx.controller.fullname" . }}-internal
namespace: {{ .Release.Namespace }}
spec:
type: "{{ .Values.controller.service.type }}"
{{- if .Values.controller.service.internal.loadBalancerIP }}