mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 08:37:18 +01:00
10 lines
255 B
Smarty
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 }
|