Hello team!:wave: I just try to deploy kratos in ...
# talk-kratos
i
Hello team!👋 I just try to deploy kratos in openshift/k8s environment, somehow I got the errors when deploying it, the logs shows :
Copy code
level=fatal msg=Unable to instantiate configuration. audience=application error=map[message:unexpected EOF] service_name=Ory Kratos service_version=v0.8.0-alpha.3
I have no idea about this error, where exactly the unexpected EOF happens. Am I missing something? here are the
kratos.yml
configuration in
_kratos-config_ configMap
Copy code
courier:
  smtp: {}
identity:
  default_schema_url: file:///etc/config/identity.schema.json
selfservice:
  default_browser_return_url: <http://10.128.2.11:3000>
  flows:
    logout:
      after:
        default_browser_return_url: <http://10.128.2.11:3000>
  whitelisted_return_urls:
  - <http://10.128.2.11:3000>
serve:
  admin:
    port: 4434
  public:
    port: 4433
the courier.smtp are already set in deployment as envvars called
COURIER_SMTP_CONNECTION_URI
Very appreciate for your help guys. Thanks in advance!
a
can't spot anything at first glance, but sometimes this kind of weird error can come from a mixture of spaces and tabs in your indentation, so maybe it's something worth checking!
i
Ah! I see, thanks for the hint @agreeable-beard-96538 , found the issue, missing out one close bracket '}'
👍 1