--- # Source: hydra/charts/hydra-maester/templates/rbac.yaml apiVersion: v1 kind: ServiceAccount metadata: name: hydra-maester-account --- # Source: hydra/charts/hydra-maester/templates/rbac.yaml kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: hydra-maester-role rules: - apiGroups: ["hydra.ory.sh"] resources: ["oauth2clients", "oauth2clients/status"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - apiGroups: [""] resources: ["secrets"] verbs: ["list", "watch", "create"] --- # Source: hydra/charts/hydra-maester/templates/rbac.yaml kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: hydra-maester-role-binding subjects: - kind: ServiceAccount name: hydra-maester-account # Service account assigned to the controller pod. namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: hydra-maester-role --- # Source: hydra/charts/hydra-maester/templates/rbac.yaml kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: hydra-maester-role rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get", "list", "watch", "create"] - apiGroups: ["hydra.ory.sh"] resources: ["oauth2clients", "oauth2clients/status"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] --- # Source: hydra/charts/hydra-maester/templates/rbac.yaml kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: hydra-maester-role-binding subjects: - kind: ServiceAccount name: hydra-maester-account # Service account assigned to the controller pod. namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: hydra-maester-role