Skip to content

Commit 83ec4e2

Browse files
committed
Fix avaibility reporting for DC with MinReadySeconds
1 parent 6bbad88 commit 83ec4e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/deploy/util/util.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,9 @@ func MakeDeploymentV1(config *deployapi.DeploymentConfig, codec runtime.Codec) (
407407
},
408408
Spec: v1.ReplicationControllerSpec{
409409
// The deployment should be inactive initially
410-
Replicas: &zero,
411-
Selector: selector,
410+
Replicas: &zero,
411+
Selector: selector,
412+
MinReadySeconds: config.Spec.MinReadySeconds,
412413
Template: &v1.PodTemplateSpec{
413414
ObjectMeta: metav1.ObjectMeta{
414415
Labels: podLabels,

0 commit comments

Comments
 (0)