OS
Schema Hub

DeviceAttribute

DeviceAttribute must have exactly one field set.

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

Resource Structure

boolboolean
BoolValue is a true/false value.
intinteger
IntValue is a number.
stringstring
StringValue is a string. Must not be longer than 64 characters.
versionstring
VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

Version Diff

Compare: