Fix alloy-k8s: add pods/log permission for log collection

This commit is contained in:
Erich Blume 2026-01-22 13:07:11 -08:00
commit 2dc43c5ae1

View file

@ -10,7 +10,7 @@ metadata:
name: alloy
rules:
- apiGroups: [""]
resources: ["nodes", "nodes/proxy", "nodes/metrics", "services", "endpoints", "pods", "namespaces"]
resources: ["nodes", "nodes/proxy", "nodes/metrics", "services", "endpoints", "pods", "pods/log", "namespaces"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["configmaps"]