Skip to content
Kustomize dhall generator plugin
Dhall Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Kustomize dhall generator plugin

This simple project is a generator for Kustomize using dhall, which will allow to use dhall templates everywhere that supports Kustomize.


To install the plugin, you need to copy it into your plugin path. If you clone this repository, you can do:

cp -r plugin/ $XDG_CONFIG_HOME/kustomize/plugin/

If undefined, the default $XDG_CONFIG_HOME is $HOME/.config.

Note: this also assumes you have dhall-to-yaml (from dhall-json) in your $PATH.


To use the plugin, create a yaml template like this

# your_file.yaml
apiVersion: com.alessandromarrella/v0
kind: DhallGenerator
  name: notImportantHere
packageLocation: {YOUR_PACKAGE_LOCATION}

And then you should list your generators in your kustomization.yaml:

# kustomization.yaml
- your_file.yaml

See the example folder for a simple example with nginx.

You can then run

kustomize build --enable_alpha_plugins

Note: it's not possible yet to use it directly with kubectl due to You need to use the kustomize binary.

You can’t perform that action at this time.