@@ -120,12 +120,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
120120 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
121121 ManagementState : ManagementStateManaged ,
122122 Replicas : & one ,
123- PodDisruptionBudget : & PodDisruptionBudgetSpec {
124- MaxUnavailable : & intstr.IntOrString {
125- Type : intstr .Int ,
126- IntVal : 1 ,
127- },
128- },
129123 },
130124 Mode : ModeDeployment ,
131125 UpgradeStrategy : UpgradeStrategyAutomatic ,
@@ -156,12 +150,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
156150 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
157151 Replicas : & five ,
158152 ManagementState : ManagementStateManaged ,
159- PodDisruptionBudget : & PodDisruptionBudgetSpec {
160- MaxUnavailable : & intstr.IntOrString {
161- Type : intstr .Int ,
162- IntVal : 1 ,
163- },
164- },
165153 },
166154 },
167155 },
@@ -191,12 +179,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
191179 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
192180 Replicas : & five ,
193181 ManagementState : ManagementStateUnmanaged ,
194- PodDisruptionBudget : & PodDisruptionBudgetSpec {
195- MaxUnavailable : & intstr.IntOrString {
196- Type : intstr .Int ,
197- IntVal : 1 ,
198- },
199- },
200182 },
201183 },
202184 },
@@ -224,12 +206,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
224206 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
225207 Replicas : & one ,
226208 ManagementState : ManagementStateManaged ,
227- PodDisruptionBudget : & PodDisruptionBudgetSpec {
228- MaxUnavailable : & intstr.IntOrString {
229- Type : intstr .Int ,
230- IntVal : 1 ,
231- },
232- },
233209 },
234210 Autoscaler : & AutoscalerSpec {
235211 TargetCPUUtilization : & defaultCPUTarget ,
@@ -261,12 +237,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
261237 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
262238 ManagementState : ManagementStateManaged ,
263239 Replicas : & one ,
264- PodDisruptionBudget : & PodDisruptionBudgetSpec {
265- MaxUnavailable : & intstr.IntOrString {
266- Type : intstr .Int ,
267- IntVal : 1 ,
268- },
269- },
270240 },
271241 Ingress : Ingress {
272242 Type : IngressTypeRoute ,
@@ -345,12 +315,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
345315 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
346316 Replicas : & one ,
347317 ManagementState : ManagementStateManaged ,
348- PodDisruptionBudget : & PodDisruptionBudgetSpec {
349- MaxUnavailable : & intstr.IntOrString {
350- Type : intstr .Int ,
351- IntVal : 1 ,
352- },
353- },
354318 },
355319 UpgradeStrategy : UpgradeStrategyAutomatic ,
356320 TargetAllocator : TargetAllocatorEmbedded {
@@ -396,12 +360,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
396360 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
397361 Replicas : & one ,
398362 ManagementState : ManagementStateManaged ,
399- PodDisruptionBudget : & PodDisruptionBudgetSpec {
400- MaxUnavailable : & intstr.IntOrString {
401- Type : intstr .Int ,
402- IntVal : 1 ,
403- },
404- },
405363 },
406364 UpgradeStrategy : UpgradeStrategyAutomatic ,
407365 TargetAllocator : TargetAllocatorEmbedded {
@@ -442,24 +400,12 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
442400 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
443401 Replicas : & one ,
444402 ManagementState : ManagementStateManaged ,
445- PodDisruptionBudget : & PodDisruptionBudgetSpec {
446- MaxUnavailable : & intstr.IntOrString {
447- Type : intstr .Int ,
448- IntVal : 1 ,
449- },
450- },
451403 },
452404 UpgradeStrategy : UpgradeStrategyAutomatic ,
453405 TargetAllocator : TargetAllocatorEmbedded {
454406 Enabled : true ,
455407 Replicas : & one ,
456408 AllocationStrategy : TargetAllocatorAllocationStrategyConsistentHashing ,
457- PodDisruptionBudget : & PodDisruptionBudgetSpec {
458- MaxUnavailable : & intstr.IntOrString {
459- Type : intstr .Int ,
460- IntVal : 1 ,
461- },
462- },
463409 },
464410 },
465411 },
@@ -487,12 +433,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
487433 Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
488434 Replicas : & one ,
489435 ManagementState : ManagementStateManaged ,
490- PodDisruptionBudget : & PodDisruptionBudgetSpec {
491- MaxUnavailable : & intstr.IntOrString {
492- Type : intstr .Int ,
493- IntVal : 1 ,
494- },
495- },
496436 },
497437 UpgradeStrategy : UpgradeStrategyAutomatic ,
498438 TargetAllocator : TargetAllocatorEmbedded {
0 commit comments