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

@ -6,6 +6,7 @@ metadata:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: controller
name: {{ include "ingress-nginx.fullname" . }}
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role