File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
docs-source/content/userguide/managing-domains/domain-lifecycle Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
206206metadata:
207207 name: weblogic-domain-cluster-role
208208rules:
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#
233233kind: RoleBinding
234234apiVersion: 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
235253metadata:
236254 name: weblogic-domain-operator-rolebinding
237255 namespace: weblogic-operator
You can’t perform that action at this time.
0 commit comments