thousands-jackal-41461
07/27/2023, 5:40 PMkratos:
development: false
automigration:
enabled: false
type: job
customCommand: []
customArgs: []
# -- resource requests and limits for the automigration initcontainer
resources: {}
# -- You can add multiple identity schemas here. You can pass JSON schema using `--set-file` Helm CLI argument.
# identitySchemas: {}
identitySchemas:
"identity.default.schema.json": |
{
"$id": "<https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json>",
"$schema": "<http://json-schema.org/draft-07/schema#>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"minLength": 3,
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
"name": {
"type": "object",
"properties": {
"first": {
"title": "First Name",
"type": "string"
},
"last": {
"title": "Last Name",
"type": "string"
}
}
}
},
"required": [
"email"
],
"additionalProperties": false
}
}
}
# "identity.email.schema.json": |
# {
# // ...
# }
# "identity.phone.schema.json": |
# {{ .Values.phone_schema }}
# -- You can customize the emails Kratos is sending (also uncomment config.courier.template_override_path below)
emailTemplates: {}
config:
secrets:
default:
- kc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcm
identity:
schemas:
- id: customer
url: <base64://ewogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDc>vc2NoZW1hIyIsCiAgInR5cGUiOiAib2JqZWN0IiwKICAicHJvcGVydGllcyI6IHsKICAgICJiYXIiOiB7CiAgICAgICJ0eXBlIjogInN0cmluZyIKICAgIH0KICB9LAogICJyZXF1aXJlZCI6IFsKICAgICJiYXIiCiAgXQp9
- id: person
url: <file://identity.schema.json>
default_schema_id: "default"
dsn: some-dsn
selfservice:
default_browser_return_url: <http://localhost:4000/>
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
#template_override_path: /conf/courier-templates
serve:
public:
port: 4433
admin:
port: 4434
# secrets: {}
I am getting this error:
I[#/properties] S[#/allOf/1/properties/properties/required] missing properties: "traits"] service_name=Ory Kratos service_version=v0.13.0
Error: I[#] S[#/allOf/1] allOf failed
I[#/properties] S[#/allOf/1/properties/properties/required] missing properties: "traits"
Command I ran:
helm install -f helm/charts/kratos/values.yaml ory/kratos --generate-name