Skip primary check on skip analysis

This commit is contained in:
stefanprodan
2019-11-25 23:48:22 +02:00
parent 3fbe62aa47
commit 9af6ade54d
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ func (c *Controller) advanceCanary(name string, namespace string, skipLivenessCh
}
// check primary deployment status
if !skipLivenessChecks {
if !skipLivenessChecks && !cd.Spec.SkipAnalysis {
if _, err := canaryController.IsPrimaryReady(cd); err != nil {
c.recordEventWarningf(cd, "%v", err)
return