bulky-accountant-17601
03/20/2023, 9:33 AMapiVersion: v1
kind: Pod
metadata:
annotations:
kompose.cmd: ./kompose convert -f quickstart.yml -f quickstart-standalone.yml
kompose.version: 1.28.0 (c4137012e)
creationTimestamp: null
labels:
io.kompose.network/kratos-intranet: "true"
io.kompose.service: kratos-selfservice-ui-node
name: kratos-selfservice-ui-node
spec:
containers:
- env:
- name: KRATOS_BROWSER_URL
value: https://<public-endpoint-of-kratos>
- name: KRATOS_PUBLIC_URL
value: https://<public-endpoint-of-kratos>
- name: PORT
value: "4455"
- name: SECURITY_MODE
image: oryd/kratos-selfservice-ui-node:v0.11.1
name: kratos-selfservice-ui-node
ports:
- containerPort: 4455
resources: {}
restartPolicy: OnFailure
status: {}
Kratos Helm values.yaml
ingress:
admin:
enabled: true
className: "nginx"
annotations:
{}
# <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
# <http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
hosts:
- host: <admin-endpoint>
paths:
- path: /
pathType: ImplementationSpecific
public:
enabled: true
className: "nginx"
annotations:
{}
# <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
# <http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
hosts:
- host: <kratos-public-endpoint>
paths:
- path: /
pathType: ImplementationSpecific
kratos:
config:
dsn: <postgres-endpoint>
secrets:
cookie:
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
default:
- dolore occaecat nostrud Ut
identity:
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/identity.default.schema.json
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
selfservice:
allowed_return_urls:
- https://<ui-public-endpoint>
flows:
registration:
ui_url: https://<ui-public-endpoint>/registration
login:
ui_url: https://<ui-public-endpoint>/login
default_browser_return_url: https://<ui-public-endpoint>/
automigration:
enabled: true
identitySchemas:
"identity.default.schema.json": |
{
"$id": "<https://schemas.ory.sh/presets/kratos/identity.email.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",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
}
},
"recovery": {
"via": "email"
},
"verification": {
"via": "email"
}
}
}
},
"required": [
"email"
],
"additionalProperties": false
}
}
}
I am struggling with this issue since 2 days kindly help me.
Note: I tried with docker compose and it is working but not with kubernetes.shy-beach-55709
04/13/2023, 5:15 PMbulky-accountant-17601
04/17/2023, 10:32 AM