Skip to content

Commit

Permalink
fix: update prometheus service monitor helm parameter set option
Browse files Browse the repository at this point in the history
Signed-off-by: rohan2794 <[email protected]>
  • Loading branch information
rohan2794 committed Oct 1, 2024
1 parent f138c3c commit cb07100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/mayastor/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func installPrometheus(namespace string) error {
return fmt.Errorf("failed to update helm repo: Error: %v", err)
}

cmdString := "prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false,nodeExporter.enabled=false,prometheus.service.type=NodePort,alertmanager.enabled=false,grafana.enabled=false"
cmdString := "prometheus.prometheusSpec.serviceMonitorSelector.matchLabels=null,nodeExporter.enabled=false,prometheus.service.type=NodePort,alertmanager.enabled=false,grafana.enabled=false"
// install prometheus using helm
cmd := exec.Command(
"helm", "install", "e2e-prometheus", "prometheus-community/kube-prometheus-stack",
Expand Down

0 comments on commit cb07100

Please sign in to comment.