Skip to content

Commit 17a5355

Browse files
committed
fix: use HCO namespace instead of hardcoded openshift-cnv in PrometheusRule
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
1 parent 0bbca2f commit 17a5355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/active/observability/prometheus-rules.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: monitoring.coreos.com/v1
22
kind: PrometheusRule
33
metadata:
44
name: virt-platform-autopilot-alerts
5-
namespace: openshift-cnv
5+
namespace: {{ .HCO.metadata.namespace | default "openshift-cnv" }}
66
labels:
77
app: virt-platform-autopilot
88
prometheus: k8s

0 commit comments

Comments
 (0)