diff --git a/pkg/transformers/refvars.go b/pkg/transformers/refvars.go index 7d25a245b..f66ebf2ca 100644 --- a/pkg/transformers/refvars.go +++ b/pkg/transformers/refvars.go @@ -38,6 +38,26 @@ func NewRefVarTransformer(vars map[string]string) (Transformer, error) { GroupVersionKind: &schema.GroupVersionKind{Kind: "Job"}, 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 }