Skip to content

Commit

Permalink
fix ingress rbac roles
Browse files Browse the repository at this point in the history
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"```
  • Loading branch information
puja108 authored Jun 1, 2017
1 parent a6bba68 commit c96758a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/rbac/nginx/nginx-ingress-controller-rbac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rules:
- pods
- secrets
verbs:
- get
- list
- watch
- apiGroups:
Expand Down Expand Up @@ -69,6 +70,7 @@ rules:
- secrets
verbs:
- get
- update
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit c96758a

Please sign in to comment.