helm template
command in a before plan hook to generate the Kubernetes resource definitions to deploy.helm template
means that you are not using the full Helm workflow, which may cause limitations or prevent certain Charts from working.spacelift-worker
that exists within that cluster.kubectl
where to find the file containing the output of the helm template
command, and prevents kubectl
from attempting to apply every yaml file in your repository. This is important if you want to commit a values.yaml
file to your repository.SPACELIFT_WORKER_REPLICAS
- the number of worker pool replicas to create.SPACELIFT_WORKER_POOL_TOKEN
- the token downloaded when creating your worker pool.SPACELIFT_WORKER_POOL_PRIVATE_KEY
- your base64-encoded private key.spacelift-worker
already exists. If it doesn't, create it using kubectl create namespace spacelift-worker
before triggering a run.