Name | 30 |Type | 31 |Description | 32 |Required | 33 |
---|---|---|---|
apiVersion | 37 |string | 38 |project.io/v1alpha1 | 39 |true | 40 |
kind | 43 |string | 44 |Example | 45 |true | 46 |
metadata | 49 |object | 50 |Refer to the Kubernetes API documentation for the fields of the `metadata` field. | 51 |true | 52 |
arbitrary | 54 |map[string]string | 55 |
56 | arbitrary field 57 | 58 | Default: map[] 59 | |
60 | false | 61 |
messages | 63 |[]map[string]object | 64 |
65 | 66 | |
67 | false | 68 |
Name | 83 |Type | 84 |Description | 85 |Required | 86 |
---|---|---|---|
area | 90 |enum | 91 |
92 | Some area 93 | 94 | Enum: East, West 95 | |
96 | false | 97 |
code | 99 |integer | 100 |
101 | Some code 102 | 103 | Format: int32 104 | Default: 7 105 | Minimum: 0 106 | Maximum: 10 107 | |
108 | false | 109 |
text | 111 |string | 112 |
113 | Just text 114 | |
115 | false | 116 |
zones | 118 |[]enum | 119 |
120 | Some zones 121 | 122 | Enum: A, B 123 | |
124 | false | 125 |
Name | 43 |Type | 44 |Description | 45 |Required | 46 |
---|---|---|---|
apiVersion | 52 |string | 53 |{{$group.Group}}/{{$group.Version}} | 54 |true | 55 |
kind | 58 |string | 59 |{{$kind.Name}} | 60 |true | 61 |
metadata | 64 |object | 65 |Refer to the Kubernetes API documentation for the fields of the `metadata` field. | 66 |true | 67 |
{{if .TypeKey}}{{.Name}}{{else}}{{.Name}}{{end}} | 72 |{{.Type}} | 73 |
74 | {{.Description}} 75 | {{- if or .Schema.XValidations .Schema.Format .Schema.Enum .Schema.Default .Schema.Minimum .Schema.Maximum }} 76 | 77 | {{- end}} 78 | {{- if .Schema.XValidations }} 79 | Validations: 80 | {{- range .Schema.XValidations -}} 81 | 86 | {{- end }} 87 | {{- if .Schema.Enum }} 88 | Enum: {{ .Schema.Enum | toStrings | join ", " }} 89 | {{- end }} 90 | {{- if .Schema.Default }} 91 | Default: {{ .Schema.Default }} 92 | {{- end }} 93 | {{- if .Schema.Minimum }} 94 | Minimum: {{ .Schema.Minimum }} 95 | {{- end }} 96 | {{- if .Schema.Maximum }} 97 | Maximum: {{ .Schema.Maximum }} 98 | {{- end }} 99 | |
100 | {{.Required}} | 101 |
Name | 37 |Type | 38 |Description | 39 |Required | 40 |
---|---|---|---|
apiVersion | 46 |string | 47 |{{$group.Group}}/{{$group.Version}} | 48 |true | 49 |
kind | 52 |string | 53 |{{$kind.Name}} | 54 |true | 55 |
metadata | 58 |object | 59 |Refer to the Kubernetes API documentation for the fields of the `metadata` field. | 60 |true | 61 |
{{if .TypeKey}}{{.Name}}{{else}}{{.Name}}{{end}} | 66 |{{.Type}} | 67 |
68 | {{.Description}} 69 | {{- if or .Schema.XValidations .Schema.Format .Schema.Enum .Schema.Default .Schema.Minimum .Schema.Maximum }} 70 | 71 | {{- end}} 72 | {{- if .Schema.XValidations }} 73 | Validations: 74 | {{- range .Schema.XValidations -}} 75 | 80 | {{- end }} 81 | {{- if .Schema.Enum }} 82 | Enum: {{ .Schema.Enum | toStrings | join ", " }} 83 | {{- end }} 84 | {{- if .Schema.Default }} 85 | Default: {{ .Schema.Default }} 86 | {{- end }} 87 | {{- if .Schema.Minimum }} 88 | Minimum: {{ .Schema.Minimum }} 89 | {{- end }} 90 | {{- if .Schema.Maximum }} 91 | Maximum: {{ .Schema.Maximum }} 92 | {{- end }} 93 | |
94 | {{.Required}} | 95 |