This step uses the ktmpl
tool to parse Kubernetes template files
and stores the generated file for future usage with like the kubectl
step.
deploy:
steps:
- blendle/ktmpl:
template: template.yml # required, must contain valid template
output: deployment.yml # optional, defaults to kubernetes.yml
parameters: REPLICA_COUNT=2 KEY=foo # optional, regular parameters
base64_parameters: SECRET=$secret # optional, will be base64 encoded
version: 0.3.0 # optional, ktmpl version to download
debug: true # optional, print debug information
The step is available as open source under the terms of the MIT License.