Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Wait for available API token in a new namespace (kubernetes-s…
…igs#7045)" This reverts commit 275c54e. Static tokens are no longer created automatically for service account in Kubernetes. Instead, they are dynamically injected into pods using a projected volume. Thus there is no longer a need to check for this (it didn't work anyway, since the describe output actually contains <none> when there is no tokens: { "attempts": 1, "changed": false, "cmd": "set -o pipefail && /usr/local/bin/kubectl describe serviceaccounts default --namespace test | grep Tokens | awk '{print $2}'", "delta": "0:00:00.075633", "end": "2024-10-19 14:25:04.858871", "msg": "", "rc": 0, "start": "2024-10-19 14:25:04.783238", "stderr": "", "stderr_lines": [], "stdout": "<none>", "stdout_lines": [ "<none>" ] } )
- Loading branch information