message
This commit is contained in:
parent
0ebd8220ab
commit
0749b8458c
BIN
SetupGuide.pdf
BIN
SetupGuide.pdf
Binary file not shown.
Binary file not shown.
12
clusterrolebinding.yaml
Normal file
12
clusterrolebinding.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: read-pods
|
||||||
|
subjects:
|
||||||
|
- kind: User
|
||||||
|
name: anna
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
roleRef:
|
||||||
|
kind: ClusterRole
|
||||||
|
name: pod-reader
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
8
podaccessclusterrole.yaml
Normal file
8
podaccessclusterrole.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: pod-reader
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""] # "" indicates the core API grouop
|
||||||
|
resources: ["pods"]
|
||||||
|
verbs: ["get", "watch", "list"]
|
||||||
Loading…
Reference in New Issue
Block a user