ServiceReference
ServiceReference holds a reference to Service.legacy.k8s.io
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/apiregistration.api.k8s.io/ServiceReference_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/apiregistration.api.k8s.io/ServiceReference_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
namestringName is the name of the service
namespacestringNamespace is the namespace of the service
portintegerIf specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).