added support for specifying user data for the worker launch config that runs before anything else

This commit is contained in:
jimbecker
2018-06-27 11:51:34 -04:00
parent c5b637ac0f
commit 81755336e8
3 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/bash -xe
# Allow user supplied pre userdata code
${pre_userdata}
# Certificate Authority config
CA_CERTIFICATE_DIRECTORY=/etc/kubernetes/pki
CA_CERTIFICATE_FILE_PATH=$CA_CERTIFICATE_DIRECTORY/ca.crt