@@ -367,13 +367,6 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
367
367
Path : []string {"spec" , "initContainers" , "env" , "valueFrom" , "secretKeyRef" , "name" },
368
368
CreateIfNotPresent : false ,
369
369
},
370
- {
371
- GroupVersionKind : & schema.GroupVersionKind {
372
- Kind : "StorageClass" ,
373
- },
374
- Path : []string {"parameters" , "secretName" },
375
- CreateIfNotPresent : false ,
376
- },
377
370
{
378
371
GroupVersionKind : & schema.GroupVersionKind {
379
372
Version : "v1" ,
@@ -678,6 +671,34 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
678
671
Path : []string {"imagePullSecrets" , "name" },
679
672
CreateIfNotPresent : false ,
680
673
},
674
+ {
675
+ GroupVersionKind : & schema.GroupVersionKind {
676
+ Kind : "StorageClass" ,
677
+ },
678
+ Path : []string {"parameters" , "secretName" }, // This is for Glusterfs,
679
+ CreateIfNotPresent : false ,
680
+ },
681
+ {
682
+ GroupVersionKind : & schema.GroupVersionKind {
683
+ Kind : "StorageClass" ,
684
+ },
685
+ Path : []string {"parameters" , "adminSecretName" }, // This is for Quobyte, CephRBD, StorageOS
686
+ CreateIfNotPresent : false ,
687
+ },
688
+ {
689
+ GroupVersionKind : & schema.GroupVersionKind {
690
+ Kind : "StorageClass" ,
691
+ },
692
+ Path : []string {"parameters" , "userSecretName" }, // This is for CephRBD
693
+ CreateIfNotPresent : false ,
694
+ },
695
+ {
696
+ GroupVersionKind : & schema.GroupVersionKind {
697
+ Kind : "StorageClass" ,
698
+ },
699
+ Path : []string {"parameters" , "secretRef" }, // This is for ScaleIO
700
+ CreateIfNotPresent : false ,
701
+ },
681
702
},
682
703
},
683
704
{
0 commit comments