Skip to content

Commit

Permalink
Merge pull request #16808 from rifelpet/gcp-alias-name
Browse files Browse the repository at this point in the history
Limit GCP subnet secondary alias names to 63 chars
  • Loading branch information
k8s-ci-robot authored Sep 5, 2024
2 parents 3aad69c + d47c0d0 commit 693874a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/gcemodel/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 693874a

Please sign in to comment.