Shipyard configuration files can use built in functions which are interpolated at runtime. For example the
k8s_config(<cluster_name>) function could be used to return the file path location for the Kubernetes config file used to access a cluster.
Functions can be used whenever you use a string or integer inside your Shipyard configuration
The env function can be used to interpolate a system set environment variable inside your configuration.
The env function can be used to interpolate the path of the Kubernetes config for a
k8s_cluster resource created by Shipyard.
The home function returns the full path to the current users home folder.
The shipyard function returns the full path to the
.shipyard folder inside your home folder.
The data function returns the full path to a temporary data folder which is automatically removed when running
The file function loads the contents of a file at the given path. Note: This file must exist before
shipyard run is executed.