Revert "Wait for available API token in a new namespace (#7045)"
This reverts commit 275c54e8. 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
Please register or sign in to comment