mirror of https://github.com/kubernetes/kops.git
Limit GCP subnet secondary alias names to 63 chars
This commit is contained in:
parent
801abbc9c8
commit
d47c0d0e66
|
@ -54,7 +54,7 @@ func (c *GCEModelContext) NameForIPAliasRange(key string) string {
|
|||
// but there's a 5 IP alias range limit per subnet anwyay, so
|
||||
// this is rather pointless and in practice we just use a
|
||||
// separate subnet per cluster
|
||||
return c.SafeObjectName(key)
|
||||
return c.SafeSuffixedObjectName(key)
|
||||
}
|
||||
|
||||
// LinkToSubnet returns a link to the GCE subnet object
|
||||
|
|
Loading…
Reference in New Issue