@@ -120,12 +120,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
120
120
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
121
121
ManagementState : ManagementStateManaged ,
122
122
Replicas : & one ,
123
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
124
- MaxUnavailable : & intstr.IntOrString {
125
- Type : intstr .Int ,
126
- IntVal : 1 ,
127
- },
128
- },
129
123
},
130
124
Mode : ModeDeployment ,
131
125
UpgradeStrategy : UpgradeStrategyAutomatic ,
@@ -156,12 +150,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
156
150
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
157
151
Replicas : & five ,
158
152
ManagementState : ManagementStateManaged ,
159
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
160
- MaxUnavailable : & intstr.IntOrString {
161
- Type : intstr .Int ,
162
- IntVal : 1 ,
163
- },
164
- },
165
153
},
166
154
},
167
155
},
@@ -191,12 +179,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
191
179
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
192
180
Replicas : & five ,
193
181
ManagementState : ManagementStateUnmanaged ,
194
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
195
- MaxUnavailable : & intstr.IntOrString {
196
- Type : intstr .Int ,
197
- IntVal : 1 ,
198
- },
199
- },
200
182
},
201
183
},
202
184
},
@@ -224,12 +206,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
224
206
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
225
207
Replicas : & one ,
226
208
ManagementState : ManagementStateManaged ,
227
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
228
- MaxUnavailable : & intstr.IntOrString {
229
- Type : intstr .Int ,
230
- IntVal : 1 ,
231
- },
232
- },
233
209
},
234
210
Autoscaler : & AutoscalerSpec {
235
211
TargetCPUUtilization : & defaultCPUTarget ,
@@ -261,12 +237,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
261
237
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
262
238
ManagementState : ManagementStateManaged ,
263
239
Replicas : & one ,
264
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
265
- MaxUnavailable : & intstr.IntOrString {
266
- Type : intstr .Int ,
267
- IntVal : 1 ,
268
- },
269
- },
270
240
},
271
241
Ingress : Ingress {
272
242
Type : IngressTypeRoute ,
@@ -345,12 +315,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
345
315
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
346
316
Replicas : & one ,
347
317
ManagementState : ManagementStateManaged ,
348
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
349
- MaxUnavailable : & intstr.IntOrString {
350
- Type : intstr .Int ,
351
- IntVal : 1 ,
352
- },
353
- },
354
318
},
355
319
UpgradeStrategy : UpgradeStrategyAutomatic ,
356
320
TargetAllocator : TargetAllocatorEmbedded {
@@ -396,12 +360,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
396
360
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
397
361
Replicas : & one ,
398
362
ManagementState : ManagementStateManaged ,
399
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
400
- MaxUnavailable : & intstr.IntOrString {
401
- Type : intstr .Int ,
402
- IntVal : 1 ,
403
- },
404
- },
405
363
},
406
364
UpgradeStrategy : UpgradeStrategyAutomatic ,
407
365
TargetAllocator : TargetAllocatorEmbedded {
@@ -442,24 +400,12 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
442
400
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
443
401
Replicas : & one ,
444
402
ManagementState : ManagementStateManaged ,
445
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
446
- MaxUnavailable : & intstr.IntOrString {
447
- Type : intstr .Int ,
448
- IntVal : 1 ,
449
- },
450
- },
451
403
},
452
404
UpgradeStrategy : UpgradeStrategyAutomatic ,
453
405
TargetAllocator : TargetAllocatorEmbedded {
454
406
Enabled : true ,
455
407
Replicas : & one ,
456
408
AllocationStrategy : TargetAllocatorAllocationStrategyConsistentHashing ,
457
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
458
- MaxUnavailable : & intstr.IntOrString {
459
- Type : intstr .Int ,
460
- IntVal : 1 ,
461
- },
462
- },
463
409
},
464
410
},
465
411
},
@@ -487,12 +433,6 @@ func TestCollectorDefaultingWebhook(t *testing.T) {
487
433
Args : map [string ]string {"feature-gates" : "-component.UseLocalHostAsDefaultHost" },
488
434
Replicas : & one ,
489
435
ManagementState : ManagementStateManaged ,
490
- PodDisruptionBudget : & PodDisruptionBudgetSpec {
491
- MaxUnavailable : & intstr.IntOrString {
492
- Type : intstr .Int ,
493
- IntVal : 1 ,
494
- },
495
- },
496
436
},
497
437
UpgradeStrategy : UpgradeStrategyAutomatic ,
498
438
TargetAllocator : TargetAllocatorEmbedded {
0 commit comments