fix: pass explicit --draupnir-config path (v3.x dropped auto-discovery)
Auto-Deploy on Push / verify-and-notify (push) Canceled after 0s
Auto-Deploy on Push / verify-and-notify (push) Canceled after 0s
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user