UserInfo
UserInfo holds the information about the user needed to implement the user.Info interface.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/authentication.api.k8s.io/UserInfo_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/authentication.api.k8s.io/UserInfo_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
extraobjectAny additional information provided by the authenticator.
groupsarrayThe names of groups this user is a part of.
uidstringA unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
usernamestringThe name that uniquely identifies this user among all active users.