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