From 8c66f6c9552ef4314d74952711a1d029dd9fb23d Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sat, 25 Jul 2026 11:34:26 +0000 Subject: [PATCH] Add metrics.k8s.io permissions to Dozzle ClusterRole Dozzle pod was crashing with: pods.metrics.k8s.io is forbidden: User "system:serviceaccount:dozzle:dozzle" cannot list resource "pods" in API group "metrics.k8s.io" at the cluster scope Added permission for the metrics.k8s.io API group to allow Dozzle to collect pod metrics for its monitoring dashboard. Fixes: DEV-372 Co-Authored-By: Paperclip --- apps/dozzle/service-account.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/dozzle/service-account.yaml b/apps/dozzle/service-account.yaml index e8d2fb6..e99cfd7 100644 --- a/apps/dozzle/service-account.yaml +++ b/apps/dozzle/service-account.yaml @@ -33,6 +33,13 @@ rules: - get - list - watch +- apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get + - list --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding