Add agent-observability service account and namespace-scoped RBAC #497

Closed
unkin-agent wants to merge 1 commits from benvin/agent-observability-rbac into main
Member

The VictoriaMetrics/VictoriaLogs stack has no agent service account, so fixing a stale operator-managed Deployment there needs an admin context. This supplies the identity the agent-observability Vault role mints tokens for.

  • add the agent-observability service account in vm-system
  • add an agent-observability ClusterRole: patch/update on workloads and VictoriaMetrics CRs, pod delete for rolling restarts, read-only on services, configmaps, endpoints, events and Gateway API routes
  • bind the service account to it per namespace in vm-system, observability and logging

Requires terraform-vault #156 for the creds path.

The VictoriaMetrics/VictoriaLogs stack has no agent service account, so fixing a stale operator-managed Deployment there needs an admin context. This supplies the identity the agent-observability Vault role mints tokens for. - add the agent-observability service account in vm-system - add an agent-observability ClusterRole: patch/update on workloads and VictoriaMetrics CRs, pod delete for rolling restarts, read-only on services, configmaps, endpoints, events and Gateway API routes - bind the service account to it per namespace in vm-system, observability and logging Requires terraform-vault #156 for the creds path.
unkin-agent added 1 commit 2026-09-27 00:38:51 +10:00
add agent-observability service account and namespace-scoped RBAC
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
d4a39c44e6
Author
Member

Closing: the agent-observability RBAC is generated by Vault in terraform-vault #156, so no in-cluster ServiceAccount or bindings are needed.

Closing: the agent-observability RBAC is generated by Vault in terraform-vault #156, so no in-cluster ServiceAccount or bindings are needed.
unkin-agent closed this pull request 2026-09-27 10:04:02 +10:00
All checks were successful
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Required
Details
ci/woodpecker/pr/kubeconform Pipeline was successful
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#497