Skip to content

A controller that allows to connect k8s objects with the outer world.

License

Notifications You must be signed in to change notification settings

kluctl/template-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

530ec1e · Dec 19, 2023
Dec 19, 2023
Dec 19, 2023
Dec 19, 2023
Dec 19, 2023
Dec 19, 2023
Nov 10, 2022
Aug 30, 2022
Sep 13, 2022
Sep 13, 2022
Sep 13, 2022
Nov 22, 2023
Nov 10, 2022
Jan 16, 2023
Dec 29, 2022
Dec 19, 2023
Dec 19, 2023
Dec 19, 2023

Repository files navigation

Template Controller

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