Before this change, the ~/.kube/config file is created and owned by root, so not readily available for apps to use.
This PR writes the file as the default user (ubuntu).
Remove the test-sa workaround, now that with uk8s 1.24 causes the cloud-init to hang on No resources found in default namespace.
Drive-by fixes:
use the new jammy
increase timeout (launch failed: The following errors occurred: timed out waiting for initialization to complete)
~/.kube/config
file is created and owned byroot
, so not readily available for apps to use. This PR writes the file as the default user (ubuntu
).test-sa
workaround, now that with uk8s 1.24 causes the cloud-init to hang onNo resources found in default namespace.
launch failed: The following errors occurred: timed out waiting for initialization to complete
)