--- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: manager-role rules: - apiGroups: - database.ayatori.ddupan.top resources: - postgresqldatabases verbs: - create - get - list - patch - update - watch - apiGroups: - database.ayatori.ddupan.top resources: - postgresqldatabases/finalizers - postgresqlinstances/finalizers - postgresqltenants/finalizers verbs: - update - apiGroups: - database.ayatori.ddupan.top resources: - postgresqldatabases/status - postgresqlinstances/status - postgresqltenants/status verbs: - get - patch - update - apiGroups: - database.ayatori.ddupan.top resources: - postgresqlinstances - postgresqltenants verbs: - get - list - patch - update - watch