@@ -89,7 +89,7 @@ func TestDeploymentSecurityContext(t *testing.T) {
89
89
90
90
cfg := config .New ()
91
91
92
- params1 := manifests. Params {
92
+ params1 := Params {
93
93
TargetAllocator : targetallocator11 ,
94
94
Config : cfg ,
95
95
Log : logger ,
@@ -114,7 +114,7 @@ func TestDeploymentSecurityContext(t *testing.T) {
114
114
115
115
cfg = config .New ()
116
116
117
- params2 := manifests. Params {
117
+ params2 := Params {
118
118
TargetAllocator : targetAllocator2 ,
119
119
Config : cfg ,
120
120
Log : logger ,
@@ -133,8 +133,8 @@ func TestDeploymentNewDefault(t *testing.T) {
133
133
targetAllocator := targetAllocatorInstance ()
134
134
cfg := config .New ()
135
135
136
- params := manifests. Params {
137
- OtelCol : otelcol ,
136
+ params := Params {
137
+ Collector : otelcol ,
138
138
TargetAllocator : targetAllocator ,
139
139
Config : cfg ,
140
140
Log : logger ,
@@ -167,8 +167,8 @@ func TestDeploymentPodAnnotations(t *testing.T) {
167
167
targetAllocator .Spec .PodAnnotations = testPodAnnotationValues
168
168
cfg := config .New ()
169
169
170
- params := manifests. Params {
171
- OtelCol : otelcol ,
170
+ params := Params {
171
+ Collector : otelcol ,
172
172
TargetAllocator : targetAllocator ,
173
173
Config : cfg ,
174
174
Log : logger ,
@@ -225,7 +225,7 @@ func TestDeploymentNodeSelector(t *testing.T) {
225
225
226
226
cfg := config .New ()
227
227
228
- params1 := manifests. Params {
228
+ params1 := Params {
229
229
TargetAllocator : targetAllocator1 ,
230
230
Config : cfg ,
231
231
Log : logger ,
@@ -250,7 +250,7 @@ func TestDeploymentNodeSelector(t *testing.T) {
250
250
251
251
cfg = config .New ()
252
252
253
- params2 := manifests. Params {
253
+ params2 := Params {
254
254
TargetAllocator : targetAllocator2 ,
255
255
Config : cfg ,
256
256
Log : logger ,
@@ -267,7 +267,7 @@ func TestDeploymentAffinity(t *testing.T) {
267
267
268
268
cfg := config .New ()
269
269
270
- params1 := manifests. Params {
270
+ params1 := Params {
271
271
TargetAllocator : targetAllocator1 ,
272
272
Config : cfg ,
273
273
Log : logger ,
@@ -290,7 +290,7 @@ func TestDeploymentAffinity(t *testing.T) {
290
290
291
291
cfg = config .New ()
292
292
293
- params2 := manifests. Params {
293
+ params2 := Params {
294
294
TargetAllocator : targetAllocator2 ,
295
295
Config : cfg ,
296
296
Log : logger ,
@@ -310,7 +310,7 @@ func TestDeploymentTolerations(t *testing.T) {
310
310
}
311
311
312
312
cfg := config .New ()
313
- params1 := manifests. Params {
313
+ params1 := Params {
314
314
TargetAllocator : targetAllocator1 ,
315
315
Config : cfg ,
316
316
Log : logger ,
@@ -332,7 +332,7 @@ func TestDeploymentTolerations(t *testing.T) {
332
332
},
333
333
}
334
334
335
- params2 := manifests. Params {
335
+ params2 := Params {
336
336
TargetAllocator : targetAllocator2 ,
337
337
Config : cfg ,
338
338
Log : logger ,
@@ -355,7 +355,7 @@ func TestDeploymentTopologySpreadConstraints(t *testing.T) {
355
355
356
356
cfg := config .New ()
357
357
358
- params1 := manifests. Params {
358
+ params1 := Params {
359
359
TargetAllocator : targetAllocator1 ,
360
360
Config : cfg ,
361
361
Log : logger ,
@@ -378,7 +378,7 @@ func TestDeploymentTopologySpreadConstraints(t *testing.T) {
378
378
}
379
379
380
380
cfg = config .New ()
381
- params2 := manifests. Params {
381
+ params2 := Params {
382
382
TargetAllocator : targetAllocator2 ,
383
383
Config : cfg ,
384
384
Log : logger ,
@@ -401,8 +401,8 @@ func TestDeploymentSetInitContainer(t *testing.T) {
401
401
},
402
402
}
403
403
otelcol := collectorInstance ()
404
- params := manifests. Params {
405
- OtelCol : otelcol ,
404
+ params := Params {
405
+ Collector : otelcol ,
406
406
TargetAllocator : targetAllocator ,
407
407
Config : config .New (),
408
408
Log : logger ,
@@ -423,8 +423,8 @@ func TestDeploymentAdditionalContainers(t *testing.T) {
423
423
},
424
424
}
425
425
otelcol := collectorInstance ()
426
- params := manifests. Params {
427
- OtelCol : otelcol ,
426
+ params := Params {
427
+ Collector : otelcol ,
428
428
TargetAllocator : targetAllocator ,
429
429
Config : config .New (),
430
430
Log : logger ,
@@ -441,8 +441,8 @@ func TestDeploymentHostNetwork(t *testing.T) {
441
441
// Test default
442
442
targetAllocator := targetAllocatorInstance ()
443
443
otelcol := collectorInstance ()
444
- params := manifests. Params {
445
- OtelCol : otelcol ,
444
+ params := Params {
445
+ Collector : otelcol ,
446
446
TargetAllocator : targetAllocator ,
447
447
Config : config .New (),
448
448
Log : logger ,
@@ -467,8 +467,8 @@ func TestDeploymentShareProcessNamespace(t *testing.T) {
467
467
// Test default
468
468
targetAllocator := targetAllocatorInstance ()
469
469
otelcol := collectorInstance ()
470
- params := manifests. Params {
471
- OtelCol : otelcol ,
470
+ params := Params {
471
+ Collector : otelcol ,
472
472
TargetAllocator : targetAllocator ,
473
473
Config : config .New (),
474
474
Log : logger ,
@@ -490,8 +490,8 @@ func TestDeploymentPriorityClassName(t *testing.T) {
490
490
// Test default
491
491
targetAllocator := targetAllocatorInstance ()
492
492
otelcol := collectorInstance ()
493
- params := manifests. Params {
494
- OtelCol : otelcol ,
493
+ params := Params {
494
+ Collector : otelcol ,
495
495
TargetAllocator : targetAllocator ,
496
496
Config : config .New (),
497
497
Log : logger ,
@@ -513,8 +513,8 @@ func TestDeploymentTerminationGracePeriodSeconds(t *testing.T) {
513
513
// Test default
514
514
targetAllocator := targetAllocatorInstance ()
515
515
otelcol := collectorInstance ()
516
- params := manifests. Params {
517
- OtelCol : otelcol ,
516
+ params := Params {
517
+ Collector : otelcol ,
518
518
TargetAllocator : targetAllocator ,
519
519
Config : config .New (),
520
520
Log : logger ,
0 commit comments