Skip to content

Commit ce31dac

Browse files
author
gitirabassi
committed
added storageclass paramether secret for glusterfs configuration with kustomize
1 parent a81b2e3 commit ce31dac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/transformers/namereferenceconfig.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
367367
Path: []string{"spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
368368
CreateIfNotPresent: false,
369369
},
370+
{
371+
GroupVersionKind: &schema.GroupVersionKind{
372+
Kind: "StorageClass",
373+
},
374+
Path: []string{"parameters", "secretName"},
375+
CreateIfNotPresent: false,
376+
},
370377
{
371378
GroupVersionKind: &schema.GroupVersionKind{
372379
Version: "v1",

0 commit comments

Comments
 (0)