fix: Ensure kubeconfig ends with \n (#880)

In order to be a text file according to POSIX, file needs to be composed of
text lines. Text line is defined as sequence of characters ending in \n. Sadly,
`~}` did strip everything including the \n, so the kubeconfing did not end
with a new line. Output empty string at the end to make sure of it.
This commit is contained in:
graywolf-at-work
2020-06-02 09:24:39 +00:00
committed by GitHub
parent 3fefc2a66c
commit 05cd78593a

View File

@@ -35,4 +35,4 @@ users:
- name: ${k}
value: ${v}
%{~ endfor ~}
%{ endif ~}
%{ endif }