brash-hamburger-57986
07/25/2022, 6:25 PM0.24.3
with kratos.yaml with pinned version of version:v0.10.1
after deployment, i got the following errors from kratos container:
The configuration contains values or keys which are invalid:
The configuration contains values or keys which are invalid:
courier.smtp.connection_uri: <nil>
^-- one or more required properties are missing
The configuration contains values or keys which are invalid:
selfservice.default_browser_return_url: <nil>
^-- one or more required properties are missing
The configuration contains values or keys which are invalid:
identity.schemas: <nil>
^-- one or more required properties are missing
time=2022-07-25T17:58:20Z level=fatal msg=Unable to instantiate configuration. audience=application error=map[message:I[#] S[#] validation failed
I[#/courier/smtp] S[#/properties/courier/properties/smtp/required] missing properties: "connection_uri"
I[#/selfservice] S[#/properties/selfservice/required] missing properties: "default_browser_return_url"
I[#/identity] S[#/properties/identity/required] missing properties: "schemas"] service_name=Ory Kratos service_version=v0.10.1
other resources apart from Deployment are successfully created. however i do have those config.
i figured, it's not picking up the generated config, in kratos pod:
Volumes:
kratos-config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: ory-kratos-config
Optional: false
while the ConfigMap generated by kustomize is called kratos-config-ttg2582gch
brash-hamburger-57986
07/25/2022, 9:18 PM❯ kc get configmap -n kratos
NAME DATA AGE
kratos-config 2 78s
kratos-config-ttg2582gch 1 80s
in pod description:
Volumes:
kratos-config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: kratos-config
Optional: false
kratos-config
is the auto-genreated one with empty content, kratos-config-ttg2582gch
is the one generated by kustomize that has content
seems pod probably doesn't recognize the ConfigMap generated by kustomize, and instead generate a default oneproud-plumber-24205
07/26/2022, 5:36 AMworried-kitchen-94392
07/26/2022, 6:54 AMworried-kitchen-94392
07/26/2022, 6:57 AMbrash-hamburger-57986
07/26/2022, 7:48 AM