improvement: Generate aws-auth configmap's roles from Object. No more string concat. (#790)

Do not use string concat to generate a YAML data structure

Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
This commit is contained in:
Daniel PiddockandThierno IB. BARRY authored and GitHub committed 2020-03-18 08:58:19 +01:00
1 parent e8a1ce17d8
commit 3957a7c02c
2 files changed
+62 -60

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
- rolearn: ${worker_role_arn}
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
%{~ if platform == "windows" ~}
- eks:kube-proxy-windows
%{~ endif ~}