mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Normally the pod would get created via a DaemonSet controller, but during testing it is easier to create it directly. We just need to ignore errors (like 'No API token found for service account "csi-service-account"') and retry for a while. If the error persists, the error will still abort and report it eventually. This problem also occurs elsewhere, so an utility function in the framework for it seems justified. Fixes: #68776
14 KiB
14 KiB