Template Controller

Template Controller documentation.

The Template Controller is a controller originating from the Kluctl project, but not limited to Kluctl. It allows to define template objects which are rendered and applied into the cluster based on an input matrix.

In its easiest form, an ObjectTemplate takes one input object (e.g. a ConfigMap) and creates another object (e.g. a Secret) which is then applied into the cluster.

The Template Controller also offers CRDs which allow to query external resources (e.g. GitHub Pull Requests) which can then be used as inputs into ObjectTemplates.

Use Cases

Template Controller has many use case. Some are for example:

  1. Dynamic environments for Pull Requests
  2. Transformation of Secrets/Objects

Documentation

Reference documentation is available here.

The announcement blog post also contains valuable explanations and examples.

Installation

Installation instructions can be found here


Installation

Installation documentation

Specs

template-controller specs

Security

Security documentation.

Templating

Templating documentation.

Use Case: Dynamic environments for Pull Requests

Use Case: Dynamic environments for Pull Requests

Use Case: Transformation of Secrets/Objects

Use Case: Transformation of Secrets/Objects

Template Controller API reference

Template Controller API reference

Last modified June 5, 2024: Sync docs (c6748cd)