Skip to content

Commit e3e1ed3

Browse files
update RBAC policy example, jenkins-ignore
1 parent faa47c1 commit e3e1ed3

File tree

1 file changed

+20
-2
lines changed
  • docs-source/content/userguide/managing-domains/domain-lifecycle

1 file changed

+20
-2
lines changed

docs-source/content/userguide/managing-domains/domain-lifecycle/scaling.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
206206
metadata:
207207
name: weblogic-domain-cluster-role
208208
rules:
209-
- apiGroups: ["weblogic.oracle"]
210-
resources: ["domains"]
209+
- apiGroups: ["apiextensions.k8s.io", "weblogic.oracle"]
210+
resources: ["customresourcedefinitions", "domains"]
211211
verbs: ["get", "list", "update"]
212212
---
213213
#
@@ -232,6 +232,24 @@ roleRef:
232232
#
233233
kind: RoleBinding
234234
apiVersion: rbac.authorization.k8s.io/v1beta1
235+
metadata:
236+
name: weblogic-domain-operator-rolebinding
237+
namespace: weblogic-operator2
238+
subjects:
239+
- kind: ServiceAccount
240+
name: default
241+
namespace: weblogic-domain
242+
apiGroup: ""
243+
roleRef:
244+
kind: ClusterRole
245+
name: cluster-admin
246+
apiGroup: "rbac.authorization.k8s.io"
247+
---
248+
#
249+
# creating role-bindings
250+
#
251+
kind: RoleBinding
252+
apiVersion: rbac.authorization.k8s.io/v1beta1
235253
metadata:
236254
name: weblogic-domain-operator-rolebinding
237255
namespace: weblogic-operator

0 commit comments

Comments
 (0)