diff --git a/scripts/provisioner.sh b/scripts/provisioner.sh index c1fa197..4a656d9 100755 --- a/scripts/provisioner.sh +++ b/scripts/provisioner.sh @@ -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..."; @@ -114,4 +114,4 @@ fi if [[ "${POST_CILIUM_INSTALL_SCRIPT}" != "" ]]; then base64 --decode <<< "${POST_CILIUM_INSTALL_SCRIPT}" | bash -fi \ No newline at end of file +fi