Skip to content

Commit 55b2f35

Browse files
authored
Merge pull request ceph#322 from black-dragon74/cp-deploy-strat-update
driver: Change controller-plugin deployment strategy to Recreate
2 parents ba9e1a9 + af20d72 commit 55b2f35

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/controller/defaults.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ var defaultDaemonSetUpdateStrategy = appsv1.DaemonSetUpdateStrategy{
5959
}
6060

6161
var defaultDeploymentStrategy = appsv1.DeploymentStrategy{
62-
Type: appsv1.RollingUpdateDeploymentStrategyType,
63-
RollingUpdate: &appsv1.RollingUpdateDeployment{
64-
MaxSurge: ptr.To(intstr.FromString("25%")),
65-
MaxUnavailable: ptr.To(intstr.FromString("25%")),
66-
},
62+
Type: appsv1.RecreateDeploymentStrategyType,
6763
}
6864

6965
var operatorNamespace = utils.Call(func() string {

0 commit comments

Comments
 (0)