mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Skip readiness check on init for Istio SMI
This commit is contained in:
@@ -93,7 +93,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 || c.meshProvider == "istio" {
|
||||
if skipLivenessChecks || strings.Contains(c.meshProvider, "istio") {
|
||||
skipPrimaryCheck = true
|
||||
}
|
||||
label, ports, err := c.deployer.Initialize(cd, skipPrimaryCheck)
|
||||
|
||||
Reference in New Issue
Block a user