mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #101330 from deads2k/apply-remove-beta
apply test for manager limit to only use v1 apis
This commit is contained in:
commit
0f4de95e5b
@ -403,12 +403,8 @@ func TestApplyGroupsManySeparateUpdates(t *testing.T) {
|
|||||||
|
|
||||||
for i := 0; i < 20; i++ {
|
for i := 0; i < 20; i++ {
|
||||||
unique := fmt.Sprintf("updater%v", i)
|
unique := fmt.Sprintf("updater%v", i)
|
||||||
version := "v1"
|
|
||||||
if i%2 == 0 {
|
|
||||||
version = "v1beta1"
|
|
||||||
}
|
|
||||||
object, err = client.CoreV1().RESTClient().Patch(types.MergePatchType).
|
object, err = client.CoreV1().RESTClient().Patch(types.MergePatchType).
|
||||||
AbsPath("/apis/admissionregistration.k8s.io/"+version).
|
AbsPath("/apis/admissionregistration.k8s.io/v1").
|
||||||
Resource("validatingwebhookconfigurations").
|
Resource("validatingwebhookconfigurations").
|
||||||
Name("webhook").
|
Name("webhook").
|
||||||
Param("fieldManager", unique).
|
Param("fieldManager", unique).
|
||||||
|
Loading…
Reference in New Issue
Block a user