teleport/tool
Hugo Shaka 44f57bf346
Add hidden cli command: wait-no-resolve (#19277)
Part of https://github.com/gravitational/teleport/pull/18274

This commit introduces a new hidden `wait` CLI subcommand:

- `teleport wait no-resolve <domain-name>` resolves a domain name and exits only when no IPs are resolved. This CLI command should be used in the Helm chart, as an init-container, to block proxies from rolling out until all auth pods have been successfully rolled-out.

- `teleport wait duration 30s` has the same behaviour as `sleep 30`. Due to image hardening we won't have `sleep` available, but waiting 30 seconds in a preStop hook is required to ensure a 100% seamless pod rollout on kube-proxy-based clusters.
2023-01-10 16:46:00 +00:00
..
common Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
tbot Enable nolintlint linter (#19406) 2022-12-16 21:13:58 +00:00
tctl Client store generalization (#19420) 2023-01-06 01:34:04 +00:00
teleport Add hidden cli command: wait-no-resolve (#19277) 2023-01-10 16:46:00 +00:00
tsh Client store generalization (#19420) 2023-01-06 01:34:04 +00:00