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
|
name: pangolin-config
|
||||||
namespace: pangolin
|
namespace: pangolin
|
||||||
data:
|
data:
|
||||||
prod.toml: |
|
config.yml: |
|
||||||
# Pangolin Configuration
|
gerbil:
|
||||||
url = "https://pangolin.basicstack.de"
|
start_port: 10000
|
||||||
|
base_endpoint: "pangolin.basicstack.de"
|
||||||
|
|
||||||
[database]
|
app:
|
||||||
path = "/data/pangolin.db"
|
dashboard_url: "https://pangolin.basicstack.de"
|
||||||
|
log_level: "info"
|
||||||
|
|
||||||
[oidc]
|
domains:
|
||||||
enabled = true
|
domain1:
|
||||||
issuer = "https://auth.basicstack.de"
|
base_domain: "basicstack.de"
|
||||||
callback_url = "https://pangolin.basicstack.de/auth/callback"
|
|
||||||
scopes = "openid profile email groups"
|
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
|
- name: pangolin-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /app/config/prod.toml
|
mountPath: /app/config/config.yml
|
||||||
subPath: prod.toml
|
subPath: config.yml
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue