mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
383 B
21 lines
383 B
kind: Role
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pod-reader
|
|
rules:
|
|
- apiGroups: [ "" ]
|
|
resources: ["pods"]
|
|
verbs: ["get", "watch", "list"]
|
|
---
|
|
kind: RoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: pod-reader-binding
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: default
|
|
apiGroup: ''
|
|
roleRef:
|
|
kind: Role
|
|
name: pod-reader
|
|
apiGroup: ''
|