OS
Schema Hub

ParentReference

ParentReference describes a reference to a parent object.

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

Resource Structure

groupstring
Group is the group of the object being referenced.
namestringRequired
Name is the name of the object being referenced.
namespacestring
Namespace is the namespace of the object being referenced.
resourcestringRequired
Resource is the resource of the object being referenced.

Version Diff

Compare: