Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
welpaolo committed Aug 14, 2024
1 parent 4a866c9 commit 1fc29e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/utils/k8s-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ wait_for_pod() {
namespace=$2

echo "Waiting for pod '$pod_name' to become ready..."
kubectl wait --for condition=Ready pod/$pod_name -n $namespace --timeout 60s
kubectl wait --for condition=Ready pod/$pod_name -n $namespace --timeout 300s
}


Expand Down Expand Up @@ -90,4 +90,5 @@ setup_admin_pod(){
kubectl -n $namespace exec $pod_name -- env KCONFIG="$user_kubeconfig" /bin/bash -c 'echo "$KCONFIG" > ~/.kube/config'

echo "Admin pod with name '$pod_name' created and configured successfully."
kubectl -n $namespace get pods
}

0 comments on commit 1fc29e8

Please sign in to comment.