diff --git a/action.yml b/action.yml index e152f54..6c6b89e 100644 --- a/action.yml +++ b/action.yml @@ -202,20 +202,20 @@ runs: - name: Wait for calico, coredns, metrics server, traefik run: | echo "::group::Wait for daemonset/calico-node" - kubectl rollout status --watch --timeout=5m daemonset/calico-node -n kube-system + kubectl rollout status --watch --timeout=1m daemonset/calico-node -n kube-system echo "::endgroup::" echo "::group::Wait for deployment/calico-kube-controllers" - kubectl rollout status --watch --timeout=5m deployment/calico-kube-controllers -n kube-system + kubectl rollout status --watch --timeout=1m deployment/calico-kube-controllers -n kube-system echo "::endgroup::" echo "::group::Wait for deployment/coredns" - kubectl rollout status --watch --timeout=5m deployment/coredns -n kube-system + kubectl rollout status --watch --timeout=1m deployment/coredns -n kube-system echo "::endgroup::" echo "::group::Wait for deployment/metrics-server" if [[ "${{ inputs.metrics-enabled }}" == true ]]; then - kubectl rollout status --watch --timeout=5m deployment/metrics-server -n kube-system + kubectl rollout status --watch --timeout=1m deployment/metrics-server -n kube-system fi echo "::endgroup::" @@ -224,9 +224,9 @@ runs: # NOTE: Different versions of k3s install traefik in different ways, # by waiting for these jobs if they exist, we will be fine no # matter what. - kubectl wait --for=condition=complete --timeout=5m job/helm-install-traefik-crd -n kube-system || true - kubectl wait --for=condition=complete --timeout=5m job/helm-install-traefik -n kube-system || true - kubectl rollout status --watch --timeout=5m deployment/traefik -n kube-system + kubectl wait --for=condition=complete --timeout=1m job/helm-install-traefik-crd -n kube-system || true + kubectl wait --for=condition=complete --timeout=1m job/helm-install-traefik -n kube-system || true + kubectl rollout status --watch --timeout=1m deployment/traefik -n kube-system fi echo "::endgroup::" shell: bash