kubernetes/pkg/apis/apps
areller a6943ad863
[fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809)
* restructure tests

restructure TestValidateStatefulSet and TestValidateStatefulSetUpdate to be an array and accept list of expected errors. in this commits, no tests were changed and expected errors are not filled yet

* add expected errors

adding expected errors and making the tests pass, without making any changes to the tests

* clean up TestValidateStatefulSet error cases

* clean up TestValidateStatefulSetUpdate cases

* validate new statefulset as part of update validation

* address PR comments
2022-05-24 11:55:24 -07:00
..
fuzzer statefulset PersistentVolumeClaimDeletePolicy api change 2021-11-17 16:46:47 -08:00
install hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
v1 fix some nits from API changes 2022-04-05 13:41:29 -07:00
v1beta1 fix some nits from API changes 2022-04-05 13:41:29 -07:00
v1beta2 fix some nits from API changes 2022-04-05 13:41:29 -07:00
validation [fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809) 2022-05-24 11:55:24 -07:00
doc.go deepcopy: remove deepcopy register tags 2017-11-10 18:25:26 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
register.go Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation 2019-08-22 21:26:49 +02:00
types.go [sts] api: Make available replicas optional 2022-04-01 11:54:50 -04:00
zz_generated.deepcopy.go API: maxUnavailable for StatefulSet 2022-03-28 11:01:05 -07:00