The information below was written for a previous version of Armory Spinnaker
(v1.13 and earlier). Please look here for
documentation on the latest version.
Modify Global User-Data For All Deployments
When new server-groups are deployed Spinnaker attaches a global user-data script/file that is prepended to any application specific user-data configured in a server Spinnaker pipeline. By default Armory Spinnaker comes with a user-data file which is placed in /opt/spinnaker/config/udf/udf0
. This can be modified and overwritten to your specific needs.
To modify the location of the udf0
template file update your clouddriver-local.yml
file and add the following:
udf:
udfRoot: /opt/spinnaker/config/udf
See udf0 docs, which by default Spinnaker will create an /etc/default/server-env
file which contain cluster and server group information.