https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
i

icy-plastic-62449

11/09/2021, 3:10 AM
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

agreeable-beard-96538

11/09/2021, 9:00 AM
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

icy-plastic-62449

11/09/2021, 10:13 AM
Ah! I see, thanks for the hint @agreeable-beard-96538 , found the issue, missing out one close bracket '}'
👍 1
3 Views