OS
Schema Hub

LinuxContainerUser

LinuxContainerUser represents user identity information in Linux containers

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/LinuxContainerUser_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/LinuxContainerUser_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

gidintegerRequired
GID is the primary gid initially attached to the first process in the container
supplementalGroupsarray
SupplementalGroups are the supplemental groups initially attached to the first process in the container
uidintegerRequired
UID is the primary uid initially attached to the first process in the container