Skip to content

Commit

Permalink
Fix bash command to check prometheus crds
Browse files Browse the repository at this point in the history
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
  • Loading branch information
Ganesh Maharaj Mahalingam authored and dklyle committed Aug 15, 2022
1 parent 32f421a commit 8f2f1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clr-k8s-examples/create_stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function monitoring() {
set_repo_version "${PROMETHEUS_VER}" "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus"
kubectl apply --server-side -f "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus/manifests/setup/"

while ! $(kubectl get servicemonitors --all-namespaces) ; do
while ! [[ $(kubectl get servicemonitors --all-namespaces) ]]; do
echo "Waiting for prometheus crds"
sleep 10
done
Expand Down

0 comments on commit 8f2f1d7

Please sign in to comment.