Use environment-specific config filename (prod.toml)

Pangolin with ENVIRONMENT=prod likely looks for prod.toml in the config directory.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
CTO Agent 2026-07-26 12:21:07 +00:00
parent 954b27d457
commit 0447c7378f
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ metadata:
name: pangolin-config name: pangolin-config
namespace: pangolin namespace: pangolin
data: data:
config.toml: | prod.toml: |
# Pangolin Configuration # Pangolin Configuration
url = "https://pangolin.basicstack.de" url = "https://pangolin.basicstack.de"

View file

@ -73,8 +73,8 @@ spec:
- name: pangolin-data - name: pangolin-data
mountPath: /data mountPath: /data
- name: config - name: config
mountPath: /config.toml mountPath: /app/config/prod.toml
subPath: config.toml subPath: prod.toml
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"