Created
June 19, 2019 23:55
-
-
Save joshrosso/86618f87a45e4233a7207c1379e964fe to your computer and use it in GitHub Desktop.
rb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: RoleBinding | |
metadata: | |
name: psp-kube-system | |
namespace: kube-system | |
subjects: | |
- kind: Group | |
name: system:serviceaccounts | |
# allows kubelet to communicate mirror pods to the API server. | |
# if not set, mirror pods will fail and static pods that restart may not show up | |
# when listing pods. See https://github.com/kubernetes/kubernetes/issues/70952. | |
- kind: Group | |
name: system:nodes | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: psp-kube-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment