From 893fe3297686906cee29b2af8f60f2a3bfa1981f Mon Sep 17 00:00:00 2001 From: Thore Cimbal Date: Wed, 29 Jul 2026 08:52:57 +0200 Subject: [PATCH] fix: pass explicit --draupnir-config path (v3.x dropped auto-discovery) Confirmed by extracting dist/config.js from the actual image - v3.x's getConfigPath() only checks --draupnir-config/--mjolnir-config CLI flags, no longer NODE_CONFIG_DIR/node-config auto-discovery. --- apps/production/draupnir.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/production/draupnir.yaml b/apps/production/draupnir.yaml index be797c8..406cf75 100644 --- a/apps/production/draupnir.yaml +++ b/apps/production/draupnir.yaml @@ -21,6 +21,10 @@ spec: - name: draupnir image: gnuxie/draupnir:v3.1.0 imagePullPolicy: IfNotPresent + # v3.x dropped NODE_CONFIG_DIR auto-discovery in favour of an explicit CLI flag + # (confirmed by extracting dist/config.js from the image - getConfigPath() only + # checks --draupnir-config/--mjolnir-config, throws otherwise). + args: ["bot", "--draupnir-config", "/data/config/default.yaml"] ports: - name: healthz containerPort: 8080