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

@ -9,6 +9,7 @@ metadata:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: controller
name: {{ include "ingress-nginx.controller.fullname" . }}-admission
namespace: {{ .Release.Namespace }}
spec:
type: {{ .Values.controller.admissionWebhooks.service.type }}
{{- if .Values.controller.admissionWebhooks.service.clusterIP }}