From 2430f7cee09785083f4371bc32d9bfba8e25d6b7 Mon Sep 17 00:00:00 2001 From: Anthony Byrne Date: Wed, 24 Jun 2026 10:57:01 -0400 Subject: [PATCH] helm: scope metrics-reader ClusterRole name to release The metrics-reader ClusterRole uses a generic hardcoded name that collides with identically-named resources from other operators (e.g. LVMS on OpenShift). Prefix the name with the Helm release name to avoid the conflict. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Anthony Byrne --- charts/gpu-base-operator/templates/metrics_reader_role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gpu-base-operator/templates/metrics_reader_role.yaml b/charts/gpu-base-operator/templates/metrics_reader_role.yaml index 51a75db..0a60ab5 100644 --- a/charts/gpu-base-operator/templates/metrics_reader_role.yaml +++ b/charts/gpu-base-operator/templates/metrics_reader_role.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: metrics-reader + name: {{ .Release.Name }}-metrics-reader rules: - nonResourceURLs: - "/metrics"