github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/weblogic-operator/templates/_operator-role.tpl (about) 1 # Copyright (c) 2018, 2022, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 {{- define "operator.operatorRole" }} 5 --- 6 kind: "Role" 7 apiVersion: "rbac.authorization.k8s.io/v1" 8 metadata: 9 name: "weblogic-operator-role" 10 namespace: {{ .Release.Namespace | quote }} 11 labels: 12 weblogic.operatorName: {{ .Release.Namespace | quote }} 13 rules: 14 - apiGroups: [""] 15 resources: ["events", "secrets", "configmaps"] 16 verbs: ["get", "list", "watch", "create", "update", "patch", "delete", "deletecollection"] 17 - apiGroups: ["admissionregistration.k8s.io"] 18 resources: ["validatingwebhookconfigurations"] 19 verbs: ["get", "create", "update", "patch", "delete"] 20 {{- end }}