Skip to content

Commit 5b0c52d

Browse files
authored
Merge pull request #162 from TheauW/twartel-wait-web-pod
fix: wait for the web pod
2 parents bfbe28e + 2be4402 commit 5b0c52d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

run_demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ if ! "${demo_dir}/helm" install --debug diracx-demo "${script_dir}/diracx" "${he
585585
echo "Failed to run \"helm install\"" >> "${demo_dir}/.failed"
586586
else
587587
printf "%b Waiting for installation to finish...\n" ${UNICORN_EMOJI}
588-
if "${demo_dir}/kubectl" wait --for=condition=ready pod --selector=app.kubernetes.io/name=diracx --timeout=900s; then
588+
if "${demo_dir}/kubectl" wait --for=condition=ready pod --selector='app.kubernetes.io/name in (diracx, diracx-web)' --timeout=900s; then
589589
printf "%b %b %b Pods are ready! %b %b %b\n" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}" "${PARTY_EMOJI}"
590590

591591
# Dump the CA certificate to a file so that it can be used by the client

0 commit comments

Comments
 (0)