Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 8f2f1d7

Browse files
Ganesh Maharaj Mahalingamdklyle
authored andcommitted
Fix bash command to check prometheus crds
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
1 parent 32f421a commit 8f2f1d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clr-k8s-examples/create_stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function monitoring() {
258258
set_repo_version "${PROMETHEUS_VER}" "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus"
259259
kubectl apply --server-side -f "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus/manifests/setup/"
260260

261-
while ! $(kubectl get servicemonitors --all-namespaces) ; do
261+
while ! [[ $(kubectl get servicemonitors --all-namespaces) ]]; do
262262
echo "Waiting for prometheus crds"
263263
sleep 10
264264
done

0 commit comments

Comments
 (0)