Skip to content

Commit 29de290

Browse files
authored
Restore role definition to match documentation (#2374)
1 parent 91a0b9d commit 29de290

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

documentation/staging/content/security/rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ kubectl -n weblogic-operator-ns \
6565
```
6666
```shell
6767
$ kubectl -n domain1-ns \
68-
describe rolebinding weblogic-operator-rolebinding-namespace \
68+
describe rolebinding weblogic-operator-rolebinding-namespace
6969
```
7070

7171
##### Kubernetes Role and RoleBinding naming conventions

kubernetes/charts/weblogic-operator/templates/_operator-role.tpl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ metadata:
1212
weblogic.operatorName: {{ .Release.Namespace | quote }}
1313
rules:
1414
- apiGroups: [""]
15-
resources: ["secrets", "configmaps"]
16-
verbs: ["get", "list", "watch"]
17-
- apiGroups: [""]
18-
resources: ["events"]
15+
resources: ["events", "secrets", "configmaps"]
1916
verbs: ["get", "list", "watch", "create", "update", "patch", "delete", "deletecollection"]
2017
{{- end }}

0 commit comments

Comments
 (0)