CrossVersionObjectReference
CrossVersionObjectReference contains enough information to let you identify the referred resource.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/CrossVersionObjectReference_v2.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/CrossVersionObjectReference_v2.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
apiVersionstringapiVersion is the API version of the referent
kindstringRequiredkind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
namestringRequiredname is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Version Diff
Compare:→