@@ -369,6 +369,14 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
369
369
Path : []string {"spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
370
370
CreateIfNotPresent : false ,
371
371
},
372
+ {
373
+ GroupVersionKind : & schema.GroupVersionKind {
374
+ Version : "v1" ,
375
+ Kind : "Pod" ,
376
+ },
377
+ Path : []string {"spec" , "imagePullSecrets" , "name" },
378
+ CreateIfNotPresent : false ,
379
+ },
372
380
{
373
381
GroupVersionKind : & schema.GroupVersionKind {
374
382
Kind : "Deployment" ,
@@ -404,6 +412,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
404
412
Path : []string {"spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
405
413
CreateIfNotPresent : false ,
406
414
},
415
+ {
416
+ GroupVersionKind : & schema.GroupVersionKind {
417
+ Kind : "Deployment" ,
418
+ },
419
+ Path : []string {"spec" , "template" , "spec" , "imagePullSecrets" , "name" },
420
+ CreateIfNotPresent : false ,
421
+ },
407
422
{
408
423
GroupVersionKind : & schema.GroupVersionKind {
409
424
Kind : "ReplicaSet" ,
@@ -439,6 +454,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
439
454
Path : []string {"spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
440
455
CreateIfNotPresent : false ,
441
456
},
457
+ {
458
+ GroupVersionKind : & schema.GroupVersionKind {
459
+ Kind : "ReplicaSet" ,
460
+ },
461
+ Path : []string {"spec" , "template" , "spec" , "imagePullSecrets" , "name" },
462
+ CreateIfNotPresent : false ,
463
+ },
442
464
{
443
465
GroupVersionKind : & schema.GroupVersionKind {
444
466
Kind : "DaemonSet" ,
@@ -474,6 +496,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
474
496
Path : []string {"spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
475
497
CreateIfNotPresent : false ,
476
498
},
499
+ {
500
+ GroupVersionKind : & schema.GroupVersionKind {
501
+ Kind : "DaemonSet" ,
502
+ },
503
+ Path : []string {"spec" , "template" , "spec" , "imagePullSecrets" , "name" },
504
+ CreateIfNotPresent : false ,
505
+ },
477
506
{
478
507
GroupVersionKind : & schema.GroupVersionKind {
479
508
Kind : "StatefulSet" ,
@@ -509,6 +538,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
509
538
Path : []string {"spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
510
539
CreateIfNotPresent : false ,
511
540
},
541
+ {
542
+ GroupVersionKind : & schema.GroupVersionKind {
543
+ Kind : "StatefulSet" ,
544
+ },
545
+ Path : []string {"spec" , "template" , "spec" , "imagePullSecrets" , "name" },
546
+ CreateIfNotPresent : false ,
547
+ },
512
548
{
513
549
GroupVersionKind : & schema.GroupVersionKind {
514
550
Kind : "Job" ,
@@ -544,6 +580,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
544
580
Path : []string {"spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
545
581
CreateIfNotPresent : false ,
546
582
},
583
+ {
584
+ GroupVersionKind : & schema.GroupVersionKind {
585
+ Kind : "Job" ,
586
+ },
587
+ Path : []string {"spec" , "template" , "spec" , "imagePullSecrets" , "name" },
588
+ CreateIfNotPresent : false ,
589
+ },
547
590
{
548
591
GroupVersionKind : & schema.GroupVersionKind {
549
592
Kind : "CronJob" ,
@@ -579,13 +622,27 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
579
622
Path : []string {"spec" , "jobTemplate" , "spec" , "template" , "spec" , "initContainers" , "envFrom" , "secretRef" , "name" },
580
623
CreateIfNotPresent : false ,
581
624
},
625
+ {
626
+ GroupVersionKind : & schema.GroupVersionKind {
627
+ Kind : "CronJob" ,
628
+ },
629
+ Path : []string {"spec" , "jobTemplate" , "spec" , "template" , "spec" , "imagePullSecrets" , "name" },
630
+ CreateIfNotPresent : false ,
631
+ },
582
632
{
583
633
GroupVersionKind : & schema.GroupVersionKind {
584
634
Kind : "Ingress" ,
585
635
},
586
636
Path : []string {"spec" , "tls" , "secretName" },
587
637
CreateIfNotPresent : false ,
588
638
},
639
+ {
640
+ GroupVersionKind : & schema.GroupVersionKind {
641
+ Kind : "ServiceAccount" ,
642
+ },
643
+ Path : []string {"imagePullSecrets" , "name" },
644
+ CreateIfNotPresent : false ,
645
+ },
589
646
},
590
647
},
591
648
{
0 commit comments