mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
added all the documented secret for storageclasses
This commit is contained in:
@@ -367,13 +367,6 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
|
||||
Path: []string{"spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Kind: "StorageClass",
|
||||
},
|
||||
Path: []string{"parameters", "secretName"},
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Version: "v1",
|
||||
@@ -678,6 +671,34 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
|
||||
Path: []string{"imagePullSecrets", "name"},
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Kind: "StorageClass",
|
||||
},
|
||||
Path: []string{"parameters", "secretName"}, // This is for Glusterfs,
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Kind: "StorageClass",
|
||||
},
|
||||
Path: []string{"parameters", "adminSecretName"}, // This is for Quobyte, CephRBD, StorageOS
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Kind: "StorageClass",
|
||||
},
|
||||
Path: []string{"parameters", "userSecretName"}, // This is for CephRBD
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
{
|
||||
GroupVersionKind: &schema.GroupVersionKind{
|
||||
Kind: "StorageClass",
|
||||
},
|
||||
Path: []string{"parameters", "secretRef"}, // This is for ScaleIO
|
||||
CreateIfNotPresent: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user