| Crates.io | k8s-tpl |
| lib.rs | k8s-tpl |
| version | 0.5.0 |
| created_at | 2020-05-16 20:37:53.508954+00 |
| updated_at | 2020-05-17 19:42:23.589907+00 |
| description | Templatisation for Kubernetes manifests |
| homepage | |
| repository | https://github.com/connec/k8s-tpl/ |
| max_upload_size | |
| id | 242491 |
| size | 17,181 |
k8s-tplTemplatisation for Kubernetes manifests
k8s-tpl is a CLI tool for interpolating Kubernetes manifests using the Go templating language.
The supported input and output format is intended to facilitate usage in a pipeline with kubectl apply -f -.
The k8s-tpl CLI is available on crates.io and can be installed using Cargo:
cargo install k8s-tpl
The CLI is largely self documenting:
k8s-tpl --help
k8s-tpl --config dev.yaml kubernetes.yaml \
| kubectl apply -f -
k8s-tpl injects environment variables into an Env key in the template context.