ci: fix the helm ci (#14804)

pull/14809/head
Trevor Whitney 7 months ago committed by GitHub
parent a90b74d6b1
commit 5cf1938544
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/helm-ci.yml

@ -85,10 +85,12 @@ jobs:
run: |
kubectl create namespace prometheus
helm install prometheus prometheus-community/kube-prometheus-stack \
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install --debug prometheus prometheus-community/kube-prometheus-stack \
--namespace prometheus \
--set grafana.enabled=false \
--set prometheus.prometheusSpec.serviceMonitorSelector.matchLabels.release=prometheus
--set prometheus.prometheusSpec.serviceMonitorSelector.matchLabels.release=prometheus \
--set prometheus.prometheusSpec.scrapeConfigNamespaceSelector.matchLabels.release=prometheus
kubectl --namespace prometheus get pods -l "release=prometheus"
kubectl --namespace prometheus get services -l "release=prometheus"

Loading…
Cancel
Save