This version is no longer maintained
This is the documentation of v0.9, which is no longer actively maintained. See the latest version for up-to-date documentation.
Template
Overwrite the default template files.
Change the default templates mounting a new template file using a ConfigMap. Note that in the current version, updates to the ConfigMap will not update the in-memory parsed template.
All templates support Sprig template library. This library provides a group of commonly used template functions to work with dictionaries, lists, math etc.
Mounting directory | ConfigMap keys (filenames) | Source (choose a proper tag) |
---|---|---|
/etc/haproxy/template |
haproxy.tmpl |
haproxy.tmpl |
/etc/haproxy/modsecurity |
spoe-modsecurity.tmpl |
spoe-modsecurity.tmpl |
Last modified January 10, 2020: docs: rename configmap to ConfigMap (24112d19)