Reputation: 21
I just learned a month using kubernetes but i have problem after i apply file serviceaccount and get from serviceaccount, i don't have token from describe serviceaccount. How to i get token from serviceaccount ?
describe serviceaccount name
Upvotes: 0
Views: 1919
Reputation: 59896
you need to request a service account token, as after this release the default token is no longer available.
kubectl create token SERVICE_ACCOUNT_NAME
Secret API objects containing service account tokens are no longer auto-generated for every ServiceAccount.
Upvotes: 4