2024-02-29 11:02:27 -06:00
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: vector-agent
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["namespaces", "nodes", "pods"]
|
|
|
|
verbs: ["list", "watch"]
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
|
|
|
name: vector-agent
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: vector-agent
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: vector-agent
|
2024-07-30 20:56:14 -05:00
|
|
|
namespace: observability
|