If you want to configure custom mastermind templates, you should:
-
Setup
waldur.mastermindTemplating.mastermindTemplatesPath
in values.yaml (by default, it is equal tomastermind_templates/mastermind-templates.yaml
). Alternatively, you can usewaldur.mastermindTemplating.mastermindTemplates
containing.yaml
file strings to get rid of file usage. -
Put all the custom templates into the file in a following way:
NB: The keys in the file should have <waldur_application_name>/<event_name>_<postfix>.<extension>
, where <postfix>
can be either message
or subject
, and <extension>
- either txt
or html
<file-name1>: |
<Custom content1>
<file-name2>: |
<Custom content2>
...
Example:
users/invitation_notification_message.txt: |
Hi!
users/invitation_notification_message.html: |
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Invitation has been created</title>
</head>
<body>
<p>
Hi!
</p>
</body>
</html>
...