Skip to content

Commit

Permalink
Ensure kubeconfig ends with \n
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
graywolf-at-work authored May 14, 2020
1 parent d4f3924 commit bf25f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/kubeconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ users:
value: ${v}
%{~ endfor ~}
%{ endif ~}
${""}

0 comments on commit bf25f6e

Please sign in to comment.