add agent-observability service account and namespace-scoped RBAC
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# Confines the agent-observability service account (in vm-system) to the
|
||||
# agent-observability ClusterRole within this namespace.
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: agent-observability
|
||||
namespace: logging
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: agent-observability
|
||||
namespace: vm-system
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: agent-observability
|
||||
@@ -17,6 +17,7 @@ resources:
|
||||
- configmap_logarchiver.yaml
|
||||
- deployment_logarchiver.yaml
|
||||
- logviewer
|
||||
- agent-observability-rolebinding.yaml
|
||||
|
||||
# Vector pipelines are the single source of truth (also validated by
|
||||
# `vector test` in CI). Mounted into each tier via `existingConfigMaps`.
|
||||
|
||||
Reference in New Issue
Block a user