From be4e0f8e719f82d3ab937281ac39ffce9746da33 Mon Sep 17 00:00:00 2001 From: Till Wegmueller Date: Tue, 2 Dec 2025 14:23:52 +0100 Subject: [PATCH] fix: set config path for Helm chart containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add --config flag to both main container and user-sync init container to explicitly specify the mounted config file path at /app/config/config.toml. This fixes deserialization errors when the application couldn't find the config file in the default working directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- deploy/helm/barycenter/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/helm/barycenter/templates/deployment.yaml b/deploy/helm/barycenter/templates/deployment.yaml index e396025..db1bea8 100644 --- a/deploy/helm/barycenter/templates/deployment.yaml +++ b/deploy/helm/barycenter/templates/deployment.yaml @@ -39,6 +39,8 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} command: - barycenter + - -c + - /app/config/config.toml - sync-users - --file - /secrets/{{ .Values.userSync.secretKey }} @@ -65,6 +67,7 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + args: ["-c", "/app/config/config.toml"] ports: - name: http containerPort: {{ .Values.config.server.port }}