Skip to content

Commit

Permalink
Merge pull request #10 from isovalent/saurabhsingh0308-patch-1
Browse files Browse the repository at this point in the history
Update provisioner.sh to use the latest version of Prometheus CRDS.
  • Loading branch information
saurabhsingh0308 authored Oct 10, 2023
2 parents 7ca8f79 + 83251ad commit ac86510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export IPSEC_ENABLED
# Manually create the 'ServiceMonitor' CRD from 'kube-prometheus' so we can enable the creation of 'ServiceMonitor' resources in the Cilium Helm chart.
if [[ "${INSTALL_KUBE_PROMETHEUS_CRDS}" == "true" ]];
then
kubectl apply -f "https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/release-0.11/manifests/setup/0servicemonitorCustomResourceDefinition.yaml"
kubectl apply -f "https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/release-0.13/manifests/setup/0servicemonitorCustomResourceDefinition.yaml"
until kubectl get servicemonitors --all-namespaces;
do
echo "Waiting for the 'servicemonitors' CRD...";
Expand Down Expand Up @@ -114,4 +114,4 @@ fi
if [[ "${POST_CILIUM_INSTALL_SCRIPT}" != "" ]];
then
base64 --decode <<< "${POST_CILIUM_INSTALL_SCRIPT}" | bash
fi
fi

0 comments on commit ac86510

Please sign in to comment.