diff --git a/library/common-test/tests/daemonset/spec_test.yaml b/library/common-test/tests/daemonset/spec_test.yaml index d6dcbc01c5..ffd995a718 100644 --- a/library/common-test/tests/daemonset/spec_test.yaml +++ b/library/common-test/tests/daemonset/spec_test.yaml @@ -42,15 +42,12 @@ tests: asserts: - documentIndex: *daemonSetDoc isSubset: - path: spec + path: spec.updateStrategy content: - replicas: 2 - revisionHistoryLimit: 4 - updateStrategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 - it: should apply spec correctly set: diff --git a/library/common-test/tests/deployment/spec_test.yaml b/library/common-test/tests/deployment/spec_test.yaml index bdc8db1c3d..aa244674c4 100644 --- a/library/common-test/tests/deployment/spec_test.yaml +++ b/library/common-test/tests/deployment/spec_test.yaml @@ -40,15 +40,12 @@ tests: asserts: - documentIndex: *deploymentDoc isSubset: - path: spec + path: spec.strategy content: - replicas: 2 - revisionHistoryLimit: 4 - strategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 - it: should apply spec correctly set: diff --git a/library/common-test/tests/statefulset/spec_test.yaml b/library/common-test/tests/statefulset/spec_test.yaml index 0aa0fa0a80..d1acc7300c 100644 --- a/library/common-test/tests/statefulset/spec_test.yaml +++ b/library/common-test/tests/statefulset/spec_test.yaml @@ -42,15 +42,12 @@ tests: asserts: - documentIndex: *statefulSetDoc isSubset: - path: spec + path: spec.updateStrategy content: - replicas: 2 - revisionHistoryLimit: 4 - updateStrategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 1 - partition: 1 + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + partition: 1 - it: should apply spec correctly set: