Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions bats/tests/k8s/helm-install-rancher.bats
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,17 @@ deploy_rancher() {
--version "$rancher_chart_version" \
--namespace cattle-system \
--set hostname="$host" \
--wait \
--timeout=10m \
--set replicas=1 \
--create-namespace

# Don't use `helm --wait`: the chart's Deployment relies on the default
# `progressDeadlineSeconds` (10m), which is shorter than the initial
# rancher image pull on slow networks. Wait on `Available` directly,
# since that condition is driven by pod Ready state and is unaffected
# by ProgressDeadlineExceeded.
kubectl wait --namespace cattle-system \
--for=condition=Available --timeout=30m \
deployment/rancher
}

verify_rancher() {
Expand Down
Loading