mirror of
https://github.com/kerberos-io/deployment.git
synced 2026-08-23 15:18:32 +00:00
21 lines
572 B
YAML
21 lines
572 B
YAML
kind: ClusterRole
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pods-list
|
|
rules:
|
|
- apiGroups: ["", "apps"]
|
|
resources: ["pods", "pods/log", "deployments", "services", "services/proxy", "endpoints", "nodes", "configmaps"]
|
|
verbs: ["get", "list", "create", "update", "delete", "watch"]
|
|
---
|
|
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pods-list
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: default
|
|
namespace: kerberos-factory
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: pods-list
|
|
apiGroup: rbac.authorization.k8s.io |