Service account and token

Hi

I have been working on
Certified Kubernetes Application Developer (CKAD) | KodeKloud

at question 12, i need to

create a service account → ok,
create the token and paste it in the web app → ok,
change the service account name so I do not need to paste it → ok

everything seems ok but when i inspect the service account , there is : None
so I am a bit surprised how can things work.

also the command :create token creates the token but how does it attach to the service account ?

Hi @stephane.hordoir,

Did you skip this lecture on SA?

Service Account Updates - KodeKloud

Regards,

Hi @Tej-Singh-Rana

No I did not skip this lecture but I understand that the command

k create token $serviceAccontName

creates a token on the screen that you can use to access the web app, but I do not understand how the token created is bound to the service account, since when I inspected the service account, there was token : None.

I may have misunderstood a notion.