From 0734773993d0e8f76521078792890a5e929ed4ac Mon Sep 17 00:00:00 2001 From: nilscan Date: Wed, 2 Oct 2019 14:29:48 +1300 Subject: [PATCH] Skip primary check for appmesh --- pkg/controller/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/scheduler.go b/pkg/controller/scheduler.go index d3d0294a..913eca5e 100644 --- a/pkg/controller/scheduler.go +++ b/pkg/controller/scheduler.go @@ -99,7 +99,7 @@ func (c *Controller) advanceCanary(name string, namespace string, skipLivenessCh // create primary deployment and hpa if needed // skip primary check for Istio since the deployment will become ready after the ClusterIP are created skipPrimaryCheck := false - if skipLivenessChecks || strings.Contains(provider, "istio") { + if skipLivenessChecks || strings.Contains(provider, "istio") || strings.Contains(provider, "appmesh") { skipPrimaryCheck = true } label, ports, err := c.deployer.Initialize(cd, skipPrimaryCheck)