[stable/nginx-ingress] Fix ClusterRole creation when using namespaces (#19886)

* [stable/nginx-ingress] Fix ClusterRole creation when using namespaces

We want to be able to choose to deploy to a namespace and still opt-in
to ClusterRole creation.

Fixes: https://github.com/helm/charts/issues/18420

Signed-off-by: Graham McGregor <graham@gmcgregor.ca>

Co-authored-by: Madeline Van Der Paelt <madd_y@hotmail.com>

* [stable/nginx-ingress] Bump nginx-ingress chart version

Signed-off-by: Graham McGregor <graham@gmcgregor.ca>

Co-authored-by: Madeline Van Der Paelt <madd_y@hotmail.com>

Co-authored-by: maddster82 <madd_y@hotmail.com>
This commit is contained in:
Graham McGregor
2020-01-07 12:00:18 -08:00
committed by Kubernetes Prow Robot
co-authored by Madeline Van Der Paelt
parent c3bf9967db
commit 4e2db070b2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: nginx-ingress
version: 1.27.2
version: 1.28.0
appVersion: 0.26.2
home: https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
@@ -1,4 +1,4 @@
{{- if and .Values.rbac.create (not .Values.controller.scope.enabled) -}}
{{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
@@ -1,4 +1,4 @@
{{- if and .Values.rbac.create (not .Values.controller.scope.enabled) -}}
{{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata: