Skip to content

Commit 7378f81

Browse files
committed
Works, we're scraping like before now
1 parent c43a840 commit 7378f81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install-prometheus-operator.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ cat manifests/prometheus-service-monitor/prometheus-k8s.yaml \
4040
> manifests/prometheus/prometheus-k8s.yaml
4141
diff -u manifests/prometheus-service-monitor/prometheus-k8s.yaml manifests/prometheus/prometheus-k8s.yaml
4242
43+
# Create config manually instead
44+
kubectl create namespace monitoring
45+
kubectl -n monitoring create secret generic prometheus-k8s --from-file ../../../../config/prometheus.yaml
46+
4347
EOF
4448
cat $SOURCE_DIR/$OPERATOR_KUBE_DIR/$OPERATOR_DEPLOY >> deploy.sh
4549

0 commit comments

Comments
 (0)