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