OS
Schema Hub

ObjectFieldSelector

ObjectFieldSelector selects an APIVersioned field of an object.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/ObjectFieldSelector_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/ObjectFieldSelector_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

apiVersionstring
Version of the schema the FieldPath is written in terms of, defaults to "v1".
fieldPathstringRequired
Path of the field to select in the specified API version.