From 060a93dab77d93ec7289d17aa189cd12c25995b7 Mon Sep 17 00:00:00 2001 From: Andrea Panattoni Date: Fri, 20 Sep 2024 09:57:29 +0200 Subject: [PATCH] d/s: CNF-12002 set `METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULES` Make the operator creating PrometheusRules to browse metrics in the Developer Console. refs: - https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/732 Signed-off-by: Andrea Panattoni --- .../manifests/sriov-network-operator.clusterserviceversion.yaml | 2 ++ config/manager/manager.yaml | 2 ++ .../stable/sriov-network-operator.clusterserviceversion.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml b/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml index fdcc139235..346479377a 100644 --- a/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml +++ b/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml @@ -404,6 +404,8 @@ spec: value: metrics-exporter-cert - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_ENABLED value: "true" + - name: METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULES + value: "true" - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_NAMESPACE value: openshift-monitoring - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_SERVICE_ACCOUNT diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 76d3a56a9a..649805fa8b 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -92,6 +92,8 @@ spec: value: metrics-exporter-cert - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_ENABLED value: "true" + - name: METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULES + value: "true" - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_NAMESPACE value: openshift-monitoring - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_SERVICE_ACCOUNT diff --git a/manifests/stable/sriov-network-operator.clusterserviceversion.yaml b/manifests/stable/sriov-network-operator.clusterserviceversion.yaml index fdcc139235..346479377a 100644 --- a/manifests/stable/sriov-network-operator.clusterserviceversion.yaml +++ b/manifests/stable/sriov-network-operator.clusterserviceversion.yaml @@ -404,6 +404,8 @@ spec: value: metrics-exporter-cert - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_ENABLED value: "true" + - name: METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULES + value: "true" - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_NAMESPACE value: openshift-monitoring - name: METRICS_EXPORTER_PROMETHEUS_OPERATOR_SERVICE_ACCOUNT