k8s-tpl

Crates.iok8s-tpl
lib.rsk8s-tpl
version0.5.0
sourcesrc
created_at2020-05-16 20:37:53.508954
updated_at2020-05-17 19:42:23.589907
descriptionTemplatisation for Kubernetes manifests
homepage
repositoryhttps://github.com/connec/k8s-tpl/
max_upload_size
id242491
size17,181
Chris Connelly (connec)

documentation

README

k8s-tpl

Templatisation for Kubernetes manifests

Overview

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 -.

Installation

The k8s-tpl CLI is available on crates.io and can be installed using Cargo:

cargo install k8s-tpl

Usage

The CLI is largely self documenting:

k8s-tpl --help

Basic usage

k8s-tpl --config dev.yaml kubernetes.yaml \
  | kubectl apply -f -

Environment variables

k8s-tpl injects environment variables into an Env key in the template context.

Commit count: 39

cargo fmt