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_SITES_SCHEME: https
TAIGA_SITES_DOMAIN: jitsi.test.meissa.de
TAIGA_SITES_DOMAIN: taiga.test.meissa.de
TAIGA_SUBPATH: ""
# Email settings.
@ -30,4 +30,19 @@ data:
# RABBITMQ_URL: RABBITMQ_URL_VALUE # found in https://github.com/kaleidos-ventures/taiga-events/blob/main/docker/env.template
# 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
env:
- name: TAIGA_URL
value: https://jitsi.test.meissa.de
- name: TAIGA_WEBSOCKETS_URL
value: https://jitsi.test.meissa.de
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_URL
- 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