mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #108 from Liujingfang1/args
Add variable reference support for args
This commit is contained in:
@@ -38,6 +38,26 @@ func NewRefVarTransformer(vars map[string]string) (Transformer, error) {
|
|||||||
GroupVersionKind: &schema.GroupVersionKind{Kind: "Job"},
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "Job"},
|
||||||
Path: []string{"spec", "template", "spec", "containers", "command"},
|
Path: []string{"spec", "template", "spec", "containers", "command"},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "StatefulSet"},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "args"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "StatefulSet"},
|
||||||
|
Path: []string{"spec", "template", "spec", "containers", "args"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "Deployment"},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "args"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "Deployment"},
|
||||||
|
Path: []string{"spec", "template", "spec", "containers", "args"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{Kind: "Job"},
|
||||||
|
Path: []string{"spec", "template", "spec", "containers", "args"},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user