TokenRequest
TokenRequest contains parameters of a service account token.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/storage.api.k8s.io/TokenRequest_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/storage.api.k8s.io/TokenRequest_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
audiencestringRequiredaudience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
expirationSecondsintegerexpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".