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

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Dec 18, 2024
Jul 13, 2024
Feb 14, 2025
Feb 14, 2025
Feb 14, 2025
Feb 14, 2025
Jul 17, 2024
Jul 9, 2024
Jul 8, 2024
Jul 17, 2024
Dec 18, 2024
Nov 22, 2023
Jul 17, 2024
Jul 8, 2024
Dec 29, 2022
Mar 18, 2025
Mar 18, 2025
Jul 12, 2024

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