how should we configure custom email template with...
# ory-selfhosting
l
how should we configure custom email template with helm chart deployment to k8s. like how should we provide custom template files to kratos instance.( by giving it to identity schema? like how in which folder and what will be template_override_path then?
w
Hi there! It so happens that we have just fixed a bug which would break setting them directly in the helm chart. That means that from the newest release you can simply set them in your values like here https://github.com/ory/k8s/blob/master/hacks/values/kratos.yaml#L78-L105
🙌 1
c
Hi @worried-kitchen-94392 , is it possible to reference those values from a configmap? It would be a good feature 🙂 Edit: We have a big template which we wouldn't pass it into values file of Kratos.
w
Yeah, absoluty. Every parameter passed to the config can be set from an Env, and we have support for extra variables in the helm chart. There is no templatesFromCM field in the helm chart, but you can create it from a custom configmap, and extraEnvs 🙂
🙌 1