Fix Pangolin config: use YAML format with required fields
Pangolin requires config/config.yml (YAML, not TOML) with specific required fields: - gerbil.start_port, gerbil.base_endpoint - app.dashboard_url, app.log_level - domains.domain1.base_domain - server.secret, server.cors.origins - flags (signup, verification) - database.path - oidc configuration Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0447c7378f
commit
3905fb1037
2 changed files with 31 additions and 12 deletions
|
|
@ -6,15 +6,34 @@ metadata:
|
|||
name: pangolin-config
|
||||
namespace: pangolin
|
||||
data:
|
||||
prod.toml: |
|
||||
# Pangolin Configuration
|
||||
url = "https://pangolin.basicstack.de"
|
||||
config.yml: |
|
||||
gerbil:
|
||||
start_port: 10000
|
||||
base_endpoint: "pangolin.basicstack.de"
|
||||
|
||||
[database]
|
||||
path = "/data/pangolin.db"
|
||||
app:
|
||||
dashboard_url: "https://pangolin.basicstack.de"
|
||||
log_level: "info"
|
||||
|
||||
[oidc]
|
||||
enabled = true
|
||||
issuer = "https://auth.basicstack.de"
|
||||
callback_url = "https://pangolin.basicstack.de/auth/callback"
|
||||
scopes = "openid profile email groups"
|
||||
domains:
|
||||
domain1:
|
||||
base_domain: "basicstack.de"
|
||||
|
||||
server:
|
||||
secret: "REPLACE_WITH_SECRET_FROM_SEALED_SECRET"
|
||||
cors:
|
||||
origins:
|
||||
- "https://pangolin.basicstack.de"
|
||||
|
||||
flags:
|
||||
signup: true
|
||||
verification: false
|
||||
|
||||
database:
|
||||
path: "/data/pangolin.db"
|
||||
|
||||
oidc:
|
||||
enabled: true
|
||||
issuer: "https://auth.basicstack.de"
|
||||
callback_url: "https://pangolin.basicstack.de/auth/callback"
|
||||
scopes: "openid profile email groups"
|
||||
|
|
|
|||
|
|
@ -73,8 +73,8 @@ spec:
|
|||
- name: pangolin-data
|
||||
mountPath: /data
|
||||
- name: config
|
||||
mountPath: /app/config/prod.toml
|
||||
subPath: prod.toml
|
||||
mountPath: /app/config/config.yml
|
||||
subPath: config.yml
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue