mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-28 12:11:48 +01:00
improvement: Dont set -x in userdata to avoid printing sensitive informations in logs (#1187)
This commit is contained in:
@@ -4,7 +4,7 @@ Content-Type: multipart/mixed; boundary="//"
|
|||||||
--//
|
--//
|
||||||
Content-Type: text/x-shellscript; charset="us-ascii"
|
Content-Type: text/x-shellscript; charset="us-ascii"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -xe
|
set -e
|
||||||
|
|
||||||
# Bootstrap and join the cluster
|
# Bootstrap and join the cluster
|
||||||
/etc/eks/bootstrap.sh --b64-cluster-ca '${cluster_auth_base64}' --apiserver-endpoint '${endpoint}' ${bootstrap_extra_args} --kubelet-extra-args "${kubelet_extra_args}" '${cluster_name}'
|
/etc/eks/bootstrap.sh --b64-cluster-ca '${cluster_auth_base64}' --apiserver-endpoint '${endpoint}' ${bootstrap_extra_args} --kubelet-extra-args "${kubelet_extra_args}" '${cluster_name}'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -e
|
||||||
|
|
||||||
# Allow user supplied pre userdata code
|
# Allow user supplied pre userdata code
|
||||||
${pre_userdata}
|
${pre_userdata}
|
||||||
|
|||||||
Reference in New Issue
Block a user