Working Base Config for Taiga #1

Merged
patdyn merged 60 commits from config-play into main 2023-09-01 10:38:18 +00:00
6 changed files with 17 additions and 18 deletions
Showing only changes of commit c52d2369b9 - Show all commits

View file

@ -23,3 +23,11 @@ Change value of RABBITMQ_DEFAULT_USER in taiga-rabbitmq-secret.yaml to b64/encod
Remove -service suffix from all taiga service names Remove -service suffix from all taiga service names
Remove -service suffix from all urls in taiga-gateway configmap Remove -service suffix from all urls in taiga-gateway configmap
Remove -service suffix from ingress Remove -service suffix from ingress
Add - name: RABBITMQ_LOGS value: /opt/rabbitmq/logs.log in taiga-async-rabbitmq-deployment
Get RABBITMQ_ERLANG_COOKIE from taiga-secret in taiga-events-rabbitmq-deployment
Put RABBITMQ_DEFAULT_VHOST KV pair in taiga-configmap
Get RABBITMQ_DEFAULT_VHOST from taiga-configmap in taiga-events-rabbitmq-deployment
Get RABBITMQ_DEFAULT_VHOST from taiga-configmap in taiga-async-rabbitmq-deployment
Move all values from taiga-rabbitmq-secret to taiga-secret
Remove taiga-rabbitmq-secret from config
Rename all occurrences of taiga-rabbitmq-secret to taiga-secret

View file

@ -32,17 +32,17 @@ spec:
- name: RABBITMQ_DEFAULT_USER - name: RABBITMQ_DEFAULT_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: taiga-rabbitmq-secret name: taiga-secret
key: RABBITMQ_DEFAULT_USER key: RABBITMQ_DEFAULT_USER
- name: RABBITMQ_DEFAULT_PASS - name: RABBITMQ_DEFAULT_PASS
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: taiga-rabbitmq-secret name: taiga-secret
key: RABBITMQ_DEFAULT_PASS key: RABBITMQ_DEFAULT_PASS
- name: RABBITMQ_ERLANG_COOKIE - name: RABBITMQ_ERLANG_COOKIE
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: taiga-rabbitmq-secret name: taiga-secret
key: RABBITMQ_ERLANG_COOKIE key: RABBITMQ_ERLANG_COOKIE
- name: RABBITMQ_DEFAULT_VHOST - name: RABBITMQ_DEFAULT_VHOST
valueFrom: valueFrom:

View file

@ -36,8 +36,6 @@ spec:
name: taiga-configmap name: taiga-configmap
- secretRef: - secretRef:
name: taiga-secret name: taiga-secret
- secretRef:
name: taiga-rabbitmq-secret
env: env:
- name: POSTGRES_USER - name: POSTGRES_USER
valueFrom: valueFrom:

View file

@ -46,5 +46,4 @@ data:
ENABLE_TRELLO_IMPORTER: "false" ENABLE_TRELLO_IMPORTER: "false"
# Rabbitmq settings # Rabbitmq settings
RABBITMQ_DEFAULT_VHOST: taiga RABBITMQ_DEFAULT_VHOST: taiga

View file

@ -1,11 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: taiga-rabbitmq-secret
labels:
app.kubernetes.part-of: taiga
data:
# Rabbitmq settings
RABBITMQ_DEFAULT_USER: dGFpZ2E= # ToDo: Evaluate if we need two different users and passes for rabbitmq
RABBITMQ_DEFAULT_PASS: cmFiYml0X3Bhc3M=
RABBITMQ_ERLANG_COOKIE: cmFiYml0X3Bhc3M=

View file

@ -20,3 +20,8 @@ data:
# Django settings # Django settings
DJANGO_SUPERUSER_TAIGAADMIN: dGFpZ2E= DJANGO_SUPERUSER_TAIGAADMIN: dGFpZ2E=
DJANGO_SUPERUSER_PASSWORD: dGFpZ2FfcGFzcw== DJANGO_SUPERUSER_PASSWORD: dGFpZ2FfcGFzcw==
# Rabbitmq settings
RABBITMQ_DEFAULT_USER: dGFpZ2E= # ToDo: Evaluate if we need two different users and passes for rabbitmq
RABBITMQ_DEFAULT_PASS: cmFiYml0X3Bhc3M=
RABBITMQ_ERLANG_COOKIE: cmFiYml0X3Bhc3M=