2018-08-22 16:16:13 +00:00
|
|
|
kind: ClusterRole
|
2020-04-14 20:14:04 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-08-22 16:16:13 +00:00
|
|
|
metadata:
|
|
|
|
name: psp:netchecker-agent-hostnet
|
|
|
|
namespace: {{ netcheck_namespace }}
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- policy
|
|
|
|
resourceNames:
|
|
|
|
- netchecker-agent-hostnet
|
|
|
|
resources:
|
|
|
|
- podsecuritypolicies
|
|
|
|
verbs:
|
|
|
|
- use
|