This repository has been archived on 2025-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
theshire/kubernetes/apps/kube-system/descheduler/app/rbac.yaml

21 lines
490 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: descheduler-pdb-reader
rules:
- apiGroups: ["policy"]
resources: ["poddisruptionbudgets"]
verbs: ["list", "get", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: descheduler-pdb-reader
subjects:
- kind: ServiceAccount
name: descheduler
namespace: kube-system
roleRef:
kind: ClusterRole
name: descheduler-pdb-reader
apiGroup: rbac.authorization.k8s.io