Skip to content

Commit e7300a1

Browse files
Manish KumarTim Bannister
andauthored
Register and document annotations on Secret that relate to ServiceAccount (#32005)
* Registered secret annotation Signed-off-by: Manish Kumar <[email protected]> * Update content/en/docs/reference/labels-annotations-taints/_index.md Co-authored-by: Tim Bannister <[email protected]> * Update content/en/docs/reference/labels-annotations-taints/_index.md Co-authored-by: Tim Bannister <[email protected]> * Updated Secret type Co-authored-by: Tim Bannister <[email protected]>
1 parent a309596 commit e7300a1

File tree

1 file changed

+18
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+18
-0
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,24 @@ Used on: Service
334334

335335
Kubernetes uses this label to differentiate multiple Services. Used currently for `ELB`(Elastic Load Balancer) only.
336336

337+
### kubernetes.io/service-account.name
338+
339+
Example: `kubernetes.io/service-account.name: "sa-name"`
340+
341+
Used on: Secret
342+
343+
This annotation records the {{< glossary_tooltip term_id="name" text="name">}} of the
344+
ServiceAccount that the token (stored in the Secret of type `kubernetes.io/service-account-token`) represents.
345+
346+
### kubernetes.io/service-account.uid
347+
348+
Example: `kubernetes.io/service-account.uid: da68f9c6-9d26-11e7-b84e-002dc52800da`
349+
350+
Used on: Secret
351+
352+
This annotation records the {{< glossary_tooltip term_id="uid" text="unique ID" >}} of the
353+
ServiceAccount that the token (stored in the Secret of type `kubernetes.io/service-account-token`) represents.
354+
337355
### endpointslice.kubernetes.io/managed-by {#endpointslicekubernetesiomanaged-by}
338356

339357
Example: `endpointslice.kubernetes.io/managed-by="controller"`

0 commit comments

Comments
 (0)