Whenever I create a ServiceAccount it appears to be without a Secret. What must I enable/do to make sure that every ServiceAccount I create automatically gets a Secret object created for it?
This is the microk8s version I’m using:
installed: v1.18.13 (1854) 199MB classic
I already tried all documentation I could find, and this blog that is mentioned above.
But I wasn’t able to find a solution.
When I try to create a service-account-token for the SA I get an error.
microk8s, 1.24
Ok I might have found the problem.
I randomly changed the metadata.name to the exact name of the ServiceAccount. Then it was created.
If anyone has some information, docs, etc for me why that is and where those relations are explained. That would be awesome.