Register and document annotations on Secret that relate to ServiceAccount (#32005)

* Registered secret annotation

Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Updated Secret type

Co-authored-by: Tim Bannister <tim@scalefactory.com>
pull/33772/head^2
Manish Kumar 2022-05-17 20:10:27 +05:30 committed by GitHub
parent a3095962e8
commit e7300a151c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -334,6 +334,24 @@ Used on: Service
Kubernetes uses this label to differentiate multiple Services. Used currently for `ELB`(Elastic Load Balancer) only.
### kubernetes.io/service-account.name
Example: `kubernetes.io/service-account.name: "sa-name"`
Used on: Secret
This annotation records the {{< glossary_tooltip term_id="name" text="name">}} of the
ServiceAccount that the token (stored in the Secret of type `kubernetes.io/service-account-token`) represents.
### kubernetes.io/service-account.uid
Example: `kubernetes.io/service-account.uid: da68f9c6-9d26-11e7-b84e-002dc52800da`
Used on: Secret
This annotation records the {{< glossary_tooltip term_id="uid" text="unique ID" >}} of the
ServiceAccount that the token (stored in the Secret of type `kubernetes.io/service-account-token`) represents.
### endpointslice.kubernetes.io/managed-by {#endpointslicekubernetesiomanaged-by}
Example: `endpointslice.kubernetes.io/managed-by="controller"`