Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
RBAC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Cowey committed Jan 12, 2021
1 parent eb9e9fb commit d60ae22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ rules:
- apiGroups:
- ""
- extensions
- networking.k8s.io
resources:
- secrets
- services
- pods
- pods/exec
- pods/log
- persistentvolumeclaims
- networking.k8s.io
- ingresses
verbs:
- "*"
- apiGroups:
Expand All @@ -27,7 +28,6 @@ rules:
- daemonsets
- replicasets
- statefulsets
- ingresses
verbs:
- create
- delete
Expand All @@ -53,3 +53,5 @@ rules:
- patch
- update
- watch
E0112 10:06:00.410573 7 reflector.go:127] pkg/mod/k8s.io/client-go@v0.19.4/tools/cache/reflector.go:156: Failed to watch networking.k8s.io/v1, Kind=Ingress: failed to list networking.k8s.io/v1, Kind=Ingress: ingresses.networking.k8s.io is forbidden: User "system:serviceaccount:ghost-system:default" cannot list resource "ingresses" in API group "networking.k8s.io" at the cluster scope
E0112 10:07:19.998385 7 reflector.go:127] pkg/mod/k8s.io/client-go@v0.19.4/tools/cache/reflector.go:156: Failed to watch networking.k8s.io/v1, Kind=Ingress: failed to list networking.k8s.io/v1, Kind=Ingress: ingresses.networking.k8s.io is forbidden: User "system:serviceaccount:ghost-system:default" cannot list resource "ingresses" in API group "networking.k8s.io" at the cluster scope
1 change: 1 addition & 0 deletions examples/02-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ rules:
- apiGroups:
- ""
- extensions
- networking.k8s.io
resources:
- secrets
- services
Expand Down

0 comments on commit d60ae22

Please sign in to comment.