mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 16:23:58 +01:00
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:
@@ -35,4 +35,4 @@ users:
|
||||
- name: ${k}
|
||||
value: ${v}
|
||||
%{~ endfor ~}
|
||||
%{ endif ~}
|
||||
%{ endif }
|
||||
|
||||
Reference in New Issue
Block a user