improvement: Dont set -x in userdata to avoid printing sensitive informations in logs (#1187)

This commit is contained in:
myoung34
2021-01-28 16:54:38 -06:00
committed by GitHub
parent 4fc609bd22
commit 84a3761742
2 changed files with 3 additions and 3 deletions

View File

@@ -3,8 +3,8 @@ Content-Type: multipart/mixed; boundary="//"
--//
Content-Type: text/x-shellscript; charset="us-ascii"
#!/bin/bash
set -xe
#!/bin/bash
set -e
# 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}'

View File

@@ -1,4 +1,4 @@
#!/bin/bash -xe
#!/bin/bash -e
# Allow user supplied pre userdata code
${pre_userdata}