Files
terraform-aws-eks/modules/node_groups/templates/userdata.sh.tpl

10 lines
255 B
Smarty

#!/bin/bash -e
# Allow user supplied pre userdata code
${pre_userdata}
sed -i '/^KUBELET_EXTRA_ARGS=/a KUBELET_EXTRA_ARGS+=" ${kubelet_extra_args}"' /etc/eks/bootstrap.sh
%{ if run_bootstrap_script }
/etc/eks/bootstrap.sh ${cluster_name}
%{ endif }