diff options
author | Martin Lehmann <martin@folio.no> | 2018-11-15T12·49+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2018-12-11T09·58+0100 |
commit | 54db9785d65d8a9dfc78d1cf230810b19f1abffb (patch) | |
tree | fcbfd470aaf794ca21bcd2a5ccc1a9dac66a3c12 /templater/templater.go | |
parent | 5f433c46c16f4466ad17578eb1762399aa7746d1 (diff) |
feat(main): Support specifying kubectl args in ResourceSets
Diffstat (limited to 'templater/templater.go')
-rw-r--r-- | templater/templater.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templater/templater.go b/templater/templater.go index ff4e0efde7b2..e842daeba0a2 100644 --- a/templater/templater.go +++ b/templater/templater.go @@ -35,6 +35,7 @@ type RenderedResource struct { type RenderedResourceSet struct { Name string Resources []RenderedResource + Args []string } func LoadAndApplyTemplates(include *[]string, exclude *[]string, c *context.Context) ([]RenderedResourceSet, error) { @@ -94,6 +95,7 @@ func processResourceSet(ctx *context.Context, rs *context.ResourceSet) (*Rendere return &RenderedResourceSet{ Name: rs.Name, Resources: resources, + Args: rs.Args, }, nil } |