mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +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++ {
|
||||
unique := fmt.Sprintf("updater%v", i)
|
||||
version := "v1"
|
||||
if i%2 == 0 {
|
||||
version = "v1beta1"
|
||||
}
|
||||
object, err = client.CoreV1().RESTClient().Patch(types.MergePatchType).
|
||||
AbsPath("/apis/admissionregistration.k8s.io/"+version).
|
||||
AbsPath("/apis/admissionregistration.k8s.io/v1").
|
||||
Resource("validatingwebhookconfigurations").
|
||||
Name("webhook").
|
||||
Param("fieldManager", unique).
|
||||
|
Loading…
Reference in New Issue
Block a user