ory/k8s

config.courier.template_override_path not used.

Closed this issue · 2 comments

Preflight checklist

Ory Network Project

No response

Describe the bug

In our attemts to customize the email templates we encounted some problems. After goging thtough the source code in the helm chart following variable is mentioned: config.courier.template_override_path

https://github.com/ory/k8s/blob/master/helm/charts/kratos/values.yaml#L167

BUT where and how does in end up used and deployed in the kratos configuration. I could not figure this out. Am I mising somehting?

Reproducing the bug

create a values.example.yaml with custom email templates:

  • helm upgrade --install --namespace ory --values ./keto/values.example.yml --version 0.41.0 keto ory/keto

Relevant log output

No response

Relevant configuration

kratos:  
  config:
    courier:
      smtp: {}
      #template_override_path: /conf/courier-templates

seems to do nothing.

Version

0.41.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

Kubernetes with Helm

Additional Context

I tried to reverse engineer and search where and how kratos email templates are configured.

solved!! in the example settings 'verification' should be 'verification_code' created a pull request.

Closing as #692 has been merged