diff --git a/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml b/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml index 8b2d28530..8348b3e01 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 @@ -561,6 +563,8 @@ spec: verbs: - get - create + - update + - delete - apiGroups: - apps resourceNames: diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 78a60d237..7a9c501b3 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/config/rbac/role.yaml b/config/rbac/role.yaml index add29b74d..4e81a1041 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -33,6 +33,8 @@ rules: verbs: - get - create + - update + - delete - apiGroups: - apps resourceNames: diff --git a/manifests/stable/sriov-network-operator.clusterserviceversion.yaml b/manifests/stable/sriov-network-operator.clusterserviceversion.yaml index 8b2d28530..8348b3e01 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 @@ -561,6 +563,8 @@ spec: verbs: - get - create + - update + - delete - apiGroups: - apps resourceNames: