Commit Graph

8 Commits

Author SHA1 Message Date
graywolf-at-work
05cd78593a 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.
2020-06-02 11:24:39 +02:00
Daniel Piddock
b183b97253 improvement: Remove dependency on external template provider (#854)
* Remove template_file for generating kubeconfig

Push logic from terraform down to the template. Makes the formatting
slightly easier to follow

* Remove template_file for generating userdata

Updates to the eks_cluster now do not trigger recreation of launch
configurations

* Remove template_file for LT userdata

* Remove template dependency
2020-05-06 10:54:14 +02:00
Nic Grayson
e1e265bf21 allow user to overwrite the kubeconfig default args (#129)
* allow user to overwrite the kubeconfig default args

* quote args to auth command
2018-11-01 17:14:07 +01:00
Max Williams
7e4e93eeec Removing region from kubectl config and adding override variable 2018-07-09 10:40:51 +02:00
Max Williams
fac9bc8db1 Making kubeconfig file path and generated config unique 2018-07-06 12:11:48 +02:00
Steve Davids
3de7f505e6 Removed carriage return line endings. 2018-06-29 18:41:14 -04:00
Steve Davids
efecd2ed87 Allowing a more configurable kubeconfig 2018-06-29 18:39:22 -04:00
brandoconnor
6bc2125fd2 forgot to add templates 2018-06-08 02:21:23 -07:00