From 6e3f042a5ffa98a0ee1c056802eb2c0ebd1feed8 Mon Sep 17 00:00:00 2001 From: xeniape Date: Thu, 8 Oct 2026 10:41:27 +0200 Subject: [PATCH] chore: remove CRD wait workaround from getting started script --- .../examples/getting_started/code/getting_started.sh | 11 ----------- .../getting_started/code/getting_started.sh.j2 | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh b/docs/modules/trino/examples/getting_started/code/getting_started.sh index 24226e2c..97be5c09 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh @@ -48,17 +48,6 @@ exit 1 ;; esac -# TODO: Remove once https://github.com/stackabletech/issues/issues/828 has been -# implemented (see that issue for details). -until kubectl get crd trinoclusters.trino.stackable.tech >/dev/null 2>&1; do - echo "Waiting for CRDs to be installed" - sleep 1 -done -until kubectl get crd trinocatalogs.trino.stackable.tech >/dev/null 2>&1; do - echo "Waiting for CRDs to be installed" - sleep 1 -done - echo "Installing Trino cluster from trino.yaml" # tag::install-trino[] kubectl apply -f trino.yaml diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 index d6b6a796..0bc70628 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 @@ -48,17 +48,6 @@ exit 1 ;; esac -# TODO: Remove once https://github.com/stackabletech/issues/issues/828 has been -# implemented (see that issue for details). -until kubectl get crd trinoclusters.trino.stackable.tech >/dev/null 2>&1; do - echo "Waiting for CRDs to be installed" - sleep 1 -done -until kubectl get crd trinocatalogs.trino.stackable.tech >/dev/null 2>&1; do - echo "Waiting for CRDs to be installed" - sleep 1 -done - echo "Installing Trino cluster from trino.yaml" # tag::install-trino[] kubectl apply -f trino.yaml