Skip to content

Commit 3fc058a

Browse files
authored
Update auth script (#80)
* update script * update readme
1 parent 9f12176 commit 3fc058a

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,7 @@ When the `NamespaceScope` CR is created/updated, it will:
8686
resources:
8787
- '*'
8888
verbs:
89-
- create
90-
- delete
91-
- get
92-
- list
93-
- patch
94-
- update
95-
- watch
96-
- apiGroups:
97-
- rbac.authorization.k8s.io
98-
resources:
99-
- roles
100-
verbs:
101-
- escalate
102-
- bind
89+
- '*'
10390
---
10491
kind: RoleBinding
10592
apiVersion: rbac.authorization.k8s.io/v1

scripts/authorize-namespace.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,7 @@ rules:
141141
resources:
142142
- "*"
143143
verbs:
144-
- create
145-
- delete
146-
- get
147-
- list
148-
- patch
149-
- update
150-
- watch
151-
- apiGroups:
152-
- rbac.authorization.k8s.io
153-
resources:
154-
- roles
155-
verbs:
156-
- escalate
157-
- bind
144+
- "*"
158145
EOF
159146

160147
#

0 commit comments

Comments
 (0)