fix ingress rbac roles

There was 2 things that the current IC (0.9 beta7) needs.

The ClusterRole was missing `get nodes`:

```
RBAC DENY: user "system:serviceaccount:kube-system:nginx-ingress-controller" groups [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] cannot "get" resource "nodes" named "xxx" cluster-wide
```

The Role was missing `update configmaps`:

```RBAC DENY: user "system:serviceaccount:kube-system:nginx-ingress-controller" groups [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] cannot "update" resource "configmaps" named "ingress-controller-leader-nginx" in namespace "kube-system"```
This commit is contained in:
Puja 2017-06-01 17:00:40 +02:00 committed by Puja Abbassi
parent f1484650d3
commit 87e95805ea

View file

@ -23,6 +23,7 @@ rules:
- pods
- secrets
verbs:
- get
- list
- watch
- apiGroups:
@ -69,6 +70,7 @@ rules:
- secrets
verbs:
- get
- update
- apiGroups:
- ""
resources: