Mastermind Templates
Waldur supports custom notification templates (email subjects and bodies) via the waldur.mastermindTemplating values.
Configuration
There are two ways to provide templates:
Option 1: Inline in values.yaml
Set waldur.mastermindTemplating.mastermindTemplates directly:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Option 2: External file
Place your templates in a YAML file within the Helm chart directory, then point to it with waldur.mastermindTemplating.mastermindTemplatesPath:
1 2 3 | |
The file at that path should have the same structure as the inline option above.
The default value of mastermindTemplatesPath is mastermind_templates/mastermind-templates.yaml. If neither option is set, no ConfigMap is created.
Template file format
Templates are keyed by their path relative to the Waldur templates directory. The key format is:
1 | |
<postfix>: eithermessageorsubject<extension>: eithertxtorhtml
Example keys:
users/invitation_notification_message.txt— plain-text email bodyusers/invitation_notification_message.html— HTML email bodyusers/invitation_notification_subject.txt— email subject line