8c5e158db4
* Baseline for the new Keycloak operator * v2alpha1 and better kustomization setup
31 lines
594 B
YAML
31 lines
594 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: keycloak-operator-role
|
|
rules:
|
|
- apiGroups:
|
|
- apps
|
|
resources:
|
|
- deployments
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- create
|
|
- delete
|
|
- patch
|
|
- update
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: keycloak-operator
|
|
name: keycloak-operator-role-binding
|
|
roleRef:
|
|
kind: Role
|
|
apiGroup: rbac.authorization.k8s.io
|
|
name: keycloak-operator-role
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: keycloak-operator
|