fix(addons): separator
This commit is contained in:
parent
376b77fd6b
commit
92b4b1010c
@ -112,13 +112,15 @@ func renderAddons(cluster *clustersconfig.Cluster) string {
|
||||
buf := &bytes.Buffer{}
|
||||
|
||||
for _, addon := range addons {
|
||||
fmt.Fprintf(buf, "# addon: %s\n", addon.Name)
|
||||
fmt.Fprintf(buf, "---\n# addon: %s\n", addon.Name)
|
||||
err := addon.Execute(buf, clusterAsMap, nil)
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("cluster %q: addons %q: failed to render %q: %v",
|
||||
cluster.Name, cluster.Addons, addon.Name, err)
|
||||
}
|
||||
|
||||
fmt.Fprintln(buf)
|
||||
}
|
||||
|
||||
return buf.String()
|
||||
|
Loading…
Reference in New Issue
Block a user