From a9828c250d8f35110f221f68b2b2b758896991fe Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 13 Feb 2023 14:43:03 +0200 Subject: [PATCH] whops --- library/common-test/tests/daemonset/spec_test.yaml | 5 ++++- library/common-test/tests/statefulset/spec_test.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/library/common-test/tests/daemonset/spec_test.yaml b/library/common-test/tests/daemonset/spec_test.yaml index 9297f894ea..d6dcbc01c5 100644 --- a/library/common-test/tests/daemonset/spec_test.yaml +++ b/library/common-test/tests/daemonset/spec_test.yaml @@ -24,6 +24,9 @@ tests: revisionHistoryLimit: 3 updateStrategy: type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 + maxSurge: 1 - it: should apply defaults to rollingUpdate set: @@ -43,7 +46,7 @@ tests: content: replicas: 2 revisionHistoryLimit: 4 - strategy: + updateStrategy: type: RollingUpdate rollingUpdate: maxSurge: 1 diff --git a/library/common-test/tests/statefulset/spec_test.yaml b/library/common-test/tests/statefulset/spec_test.yaml index 4ced9ed59b..0aa0fa0a80 100644 --- a/library/common-test/tests/statefulset/spec_test.yaml +++ b/library/common-test/tests/statefulset/spec_test.yaml @@ -24,6 +24,9 @@ tests: revisionHistoryLimit: 3 updateStrategy: type: RollingUpdate + rollingUpdate: + maxSurge: 1 + partition: 1 - it: should apply defaults to rollingUpdate set: @@ -43,7 +46,7 @@ tests: content: replicas: 2 revisionHistoryLimit: 4 - strategy: + updateStrategy: type: RollingUpdate rollingUpdate: maxSurge: 1