From 97a0800b88f98f79fd7dffdcd03babf2245bf32a Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 25 Feb 2024 08:40:18 +0200 Subject: [PATCH] gce: Limit health check names to 63 chars --- pkg/model/gcemodel/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/gcemodel/context.go b/pkg/model/gcemodel/context.go index 03b052689f..555bf84cfb 100644 --- a/pkg/model/gcemodel/context.go +++ b/pkg/model/gcemodel/context.go @@ -101,7 +101,7 @@ func (c *GCEModelContext) NameForTargetPool(id string) string { } func (c *GCEModelContext) NameForHealthCheck(id string) string { - return c.SafeObjectName(id) + return c.SafeSuffixedObjectName(id) } func (c *GCEModelContext) NameForBackendService(id string) string {