TypedLocalObjectReference
TypedLocalObjectReference allows to reference typed object inside the same namespace.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/scheduling.api.k8s.io/TypedLocalObjectReference_v1alpha1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/scheduling.api.k8s.io/TypedLocalObjectReference_v1alpha1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
apiGroupstringAPIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain.
kindstringRequiredKind is the type of resource being referenced. It must be a path segment name.
namestringRequiredName is the name of resource being referenced. It must be a path segment name.