Skip to content

Commit

Permalink
Merge pull request #71 from openebs/prometheus-fix
Browse files Browse the repository at this point in the history
fix: update prometheus service monitor helm parameter set option
  • Loading branch information
rohan2794 authored Oct 1, 2024
2 parents f138c3c + cb07100 commit a42e7dc
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 a42e7dc

Please sign in to comment.