From f8d0b834dbbd36106614f9bdfea5378a8360edfc Mon Sep 17 00:00:00 2001 From: Noah Birrer Date: Fri, 2 Aug 2024 12:35:02 -0400 Subject: [PATCH] fix: reference root scope --- src/keycloak/chart/templates/prometheusrule.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keycloak/chart/templates/prometheusrule.yaml b/src/keycloak/chart/templates/prometheusrule.yaml index 4c33fe4f3..20ef047ac 100644 --- a/src/keycloak/chart/templates/prometheusrule.yaml +++ b/src/keycloak/chart/templates/prometheusrule.yaml @@ -4,7 +4,7 @@ apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: name: {{ include "keycloak.fullname" $ }} - namespace: {{ .Release.Namespace }} + namespace: {{ $.Release.Namespace }} {{- with .annotations }} annotations: {{- range $key, $value := . }}