From f90e37d2b7be6bd5f1e2ef97f759ca62e5276af7 Mon Sep 17 00:00:00 2001 From: Ichen Chhoeng Date: Wed, 29 Oct 2025 20:42:33 +0700 Subject: [PATCH] attempt to fix mount --- k8s/base/app-kratos.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/k8s/base/app-kratos.yml b/k8s/base/app-kratos.yml index 4d7f4bc..5eba687 100644 --- a/k8s/base/app-kratos.yml +++ b/k8s/base/app-kratos.yml @@ -17,12 +17,13 @@ spec: valuesObject: deployment: extraVolumes: - - name: kratos-config + - name: kratos-custom-config configMap: name: kratos-config extraVolumeMounts: - - name: kratos-config - mountPath: /etc/config/ + - name: kratos-custom-config + mountPath: /etc/config/custom + readOnly: true extraEnv: - name: DSN valueFrom: @@ -67,7 +68,7 @@ spec: default_schema_id: default schemas: - id: default - url: file:///etc/config/identity.schema.json + url: file:///etc/config/custom/identity.schema.json courier: channels: - id: sms