In the lab environment if I do a describe on sa. I get output like this: ``` co . . .

Chandu:
In the lab environment if I do a describe on sa. I get output like this:

controlplane ~ ➜  k describe sa dev
Name:                dev
Namespace:           default
Labels:              <none>
Annotations:         <none>
Image pull secrets:  <none>
Mountable secrets:   <none>
Tokens:              <none>
Events:              <none>

and when I do describe on sa in my cluster I get this. I don’t understand why tokens are showing up for my sa.

Name:                dashboard
Namespace:           default
Labels:              <none>
Annotations:         <none>
Image pull secrets:  <none>
Mountable secrets:   dashboard-token-nm867
Tokens:              dashboard-token-nm867
Events:              <none>

As per @Mumshad Mannambeth with the new versions of k8s we have to create the tokens using k create token <sa-name> command like this. Can someone help me understand this?

Chandu:
@Trung Tran @unnivkn @Alistair Mackay @Awantika Nigam

unnivkn:
Hi @Chandu please go through this: https://kodekloud.slack.com/archives/CHMV3P9NV/p1666210941502019?thread_ts=1666182433.859059&cid=CHMV3P9NV

Alistair Mackay:
Hi @Chandu

What kuberbetes version is your test cluster running? If it is less than v1.24, then it will generate a secret when you create a SA.
The lab is running 1.24 so will instead mount a projected volume in the pod.

Chandu:
Thank you @Alistair Mackay