1
0
mirror of https://github.com/rancher/types.git synced 2025-08-28 16:50:30 +00:00

Removed dnsLabel frm hostname prefix type

as it can end with "-" - something that is not allowed by the dnsLabel
format
This commit is contained in:
Alena Prokharchyk 2018-09-05 09:29:27 -07:00
parent d0680871a3
commit 013da612d0

View File

@ -144,7 +144,7 @@ type NodePoolSpec struct {
Worker bool `json:"worker"`
NodeTemplateName string `json:"nodeTemplateName,omitempty" norman:"type=reference[nodeTemplate],required,notnullable"`
HostnamePrefix string `json:"hostnamePrefix" norman:"type=dnsLabel,required,notnullable"`
HostnamePrefix string `json:"hostnamePrefix" norman:"required,notnullable"`
Quantity int `json:"quantity" norman:"required,default=1"`
NodeLabels map[string]string `json:"nodeLabels"`
NodeAnnotations map[string]string `json:"nodeAnnotations"`