Single rabbitmq user, remove env vars, add todos

This commit is contained in:
erik 2023-08-25 11:21:59 +02:00
parent bcf3c81b07
commit 77d1827526
8 changed files with 15 additions and 21 deletions

View file

@ -27,18 +27,16 @@ spec:
mountPath: /var/lib/rabbitmq
readOnly: false
env:
- name: RABBITMQ_LOGS
value: /opt/rabbitmq/logs.log
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
name: taiga-secret
key: RABBITMQ_DEFAULT_USER
key: RABBITMQ_USER
- name: RABBITMQ_DEFAULT_PASS
valueFrom:
secretKeyRef:
name: taiga-secret
key: RABBITMQ_DEFAULT_PASS
key: RABBITMQ_PASS
- name: RABBITMQ_ERLANG_COOKIE
valueFrom:
secretKeyRef:

View file

@ -14,5 +14,5 @@ spec:
- name: http
targetPort: http
port: 8000
protocol: TCP
protocol: TCP

View file

@ -19,6 +19,7 @@ spec:
- name: taiga-back
command:
- /taiga-back/docker/entrypoint.sh
- /taiga-back/docker/manage.py createsuperuser --noinput
image: taigaio/taiga-back:latest
imagePullPolicy: IfNotPresent
ports:

View file

@ -9,7 +9,7 @@ data:
# Taiga settings
TAIGA_SITES_SCHEME: https
TAIGA_SITES_DOMAIN: taiga.test.meissa.de
TAIGA_SITES_DOMAIN: taiga.test.meissa.de # Replace by replacable values
TAIGA_SUBPATH: ""
# Email settings.

View file

@ -7,12 +7,12 @@ metadata:
app: taiga
app.kubernetes.part-of: taiga
spec:
storageClassName: local-path
storageClassName: local-path # ToDo: configurable
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 1Gi # ToDo: configurable
---
apiVersion: v1
kind: PersistentVolumeClaim
@ -23,9 +23,9 @@ metadata:
app: taiga
app.kubernetes.part-of: taiga
spec:
storageClassName: local-path
storageClassName: local-path # ToDo: configurable
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 1Gi # ToDo: configurable

View file

@ -23,11 +23,6 @@ spec:
- name: http
containerPort: 8888
env:
#- name: EVENTS_PUSH_BACKEND_URL # ToDo: check if we really need to set these URLs
# valueFrom:
# configMapKeyRef:
# name: taiga-configmap
# key: EVENTS_PUSH_BACKEND_URL
- name: RABBITMQ_USER
valueFrom:
secretKeyRef:

View file

@ -37,12 +37,12 @@ spec:
configMapKeyRef:
name: taiga-configmap
key: RABBITMQ_DEFAULT_VHOST
- name: RABBITMQ_USER
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
name: taiga-secret
key: RABBITMQ_USER
- name: RABBITMQ_PASS
- name: RABBITMQ_DEFAULT_PASS
valueFrom:
secretKeyRef:
name: taiga-secret

View file

@ -7,12 +7,12 @@ metadata:
app: taiga
app.kubernetes.part-of: taiga
spec:
storageClassName: local-path
storageClassName: local-path # ToDo: configurable
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 1Gi # ToDo: configurable
---
apiVersion: v1
kind: PersistentVolumeClaim
@ -23,9 +23,9 @@ metadata:
app: taiga
app.kubernetes.part-of: taiga
spec:
storageClassName: local-path
storageClassName: local-path # ToDo: configurable
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 1Gi # ToDo: configurable