1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Use correct templateoptions for helm charts

This commit is contained in:
James Keogh 2018-09-21 18:05:33 +01:00
parent ec1d0a5272
commit d2a1a6dc1d

View file

@ -475,7 +475,7 @@ func main() {
}
// Execute to tmp buffer
tmpBuf := &bytes.Buffer{}
t.Execute(tmpBuf, templateOptions)
t.Execute(tmpBuf, chartTemplateOptions)
// Add tmp buffer to output, unless empty
if strings.TrimSpace(tmpBuf.String()) != "" {
if output.Len() > 0 {