# API Reference Packages: {{range .Groups}} - [{{.Group}}/{{.Version}}](#{{ anchorize (printf "%s/%s" .Group .Version) }}) {{- end -}}{{/* range .Groups */}} {{- range .Groups }} {{- $group := . }} # {{.Group}}/{{.Version}} Resource Types: {{range .Kinds}} - [{{.Name}}](#{{ anchorize .Name }}) {{end}}{{/* range .Kinds */}} {{range .Kinds}} {{$kind := .}} ## {{.Name}} {{range .Types}} {{if not .IsTopLevel}} ### {{.Name}} {{end}} {{.Description}}
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | {{$group.Group}}/{{$group.Version}} | true |
| kind | string | {{$kind.Name}} | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the `metadata` field. | true |
| {{if .TypeKey}}{{.Name}}{{else}}{{.Name}}{{end}} | {{.Type}} |
{{.Description}} {{- if or .Schema.Format .Schema.Enum .Schema.Default .Schema.Minimum .Schema.Maximum }} {{- end}} {{- if .Schema.Format }} Format: {{ .Schema.Format }} {{- end }} {{- if .Schema.Enum }} Enum: {{ .Schema.Enum | toStrings | join ", " }} {{- end }} {{- if .Schema.Default }} Default: {{ .Schema.Default }} {{- end }} {{- if .Schema.Minimum }} Minimum: {{ .Schema.Minimum }} {{- end }} {{- if .Schema.Maximum }} Maximum: {{ .Schema.Maximum }} {{- end }} |
{{.Required}} |