13 lines
263 B
YAML
13 lines
263 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: sa-pod-reader
|
|
namespace: cka
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: my-serviceaccount
|
|
namespace: cka
|
|
roleRef:
|
|
kind: Role
|
|
name: pod-reader
|
|
apiGroup: rbac.authorization.k8s.io
|