-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly set DeploymentStrategy for SingleReplica
Currently, the code does not set deployment.Spec.Strategy before breaking out in the SingleReplica case. This results in the kube-apiserver defaulting the Strategy. On the next reconcile pass, this code will attempt to unset the defaulted values leading to a hot reconciliation loop. To avoid this, explicitly set the Strategy to the kube default before the break out of the switch. Fixes https://issues.redhat.com/browse/OCPBUGS-38871
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters