Get vars from configmap

This commit is contained in:
erik 2023-08-22 12:28:24 +02:00
parent f4c2691740
commit 61f3a0b178
2 changed files with 30 additions and 6 deletions

View file

@ -9,7 +9,7 @@ data:
# Taiga settings # Taiga settings
TAIGA_SITES_SCHEME: https TAIGA_SITES_SCHEME: https
TAIGA_SITES_DOMAIN: jitsi.test.meissa.de TAIGA_SITES_DOMAIN: taiga.test.meissa.de
TAIGA_SUBPATH: "" TAIGA_SUBPATH: ""
# Email settings. # Email settings.
@ -31,3 +31,18 @@ data:
# Taiga Async Settings # Taiga Async Settings
# CELERY_BROKER_URL: CELERY_URL_VALUE # CELERY_BROKER_URL: CELERY_URL_VALUE
# Taiga Front Settings
TAIGA_URL: https://taiga.test.meissa.de
TAIGA_SUBPATH: ""
TAIGA_WEBSOCKETS_URL: wss://taiga.test.meissa.de
PUBLIC_REGISTER_ENABLED: "true"
CONTRIB_PLUGINS: ""
GITHUB_CLIENT_ID: ""
GITLAB_CLIENT_ID: ""
GITLAB_URL: ""
ENABLE_GITHUB_IMPORTER: "false"
ENABLE_JIRA_IMPORTER: "false"
ENABLE_TRELLO_IMPORTER: "false"

View file

@ -24,8 +24,17 @@ spec:
containerPort: 80 containerPort: 80
env: env:
- name: TAIGA_URL - name: TAIGA_URL
value: https://jitsi.test.meissa.de valueFrom:
- name: TAIGA_WEBSOCKETS_URL configMapKeyRef:
value: https://jitsi.test.meissa.de name: taiga-configmap
key: TAIGA_URL
- name: TAIGA_SUBPATH - name: TAIGA_SUBPATH
value: "" valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_SUBPATH
- name: TAIGA_WEBSOCKETS_URL
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_WEBSOCKETS_URL