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 mountPath: /var/lib/rabbitmq
readOnly: false readOnly: false
env: env:
- name: RABBITMQ_LOGS
value: /opt/rabbitmq/logs.log
- name: RABBITMQ_DEFAULT_USER - name: RABBITMQ_DEFAULT_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: taiga-secret name: taiga-secret
key: RABBITMQ_DEFAULT_USER key: RABBITMQ_USER
- name: RABBITMQ_DEFAULT_PASS - name: RABBITMQ_DEFAULT_PASS
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: taiga-secret name: taiga-secret
key: RABBITMQ_DEFAULT_PASS key: RABBITMQ_PASS
- name: RABBITMQ_ERLANG_COOKIE - name: RABBITMQ_ERLANG_COOKIE
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View file

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

View file

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

View file

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

View file

@ -23,11 +23,6 @@ spec:
- name: http - name: http
containerPort: 8888 containerPort: 8888
env: 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 - name: RABBITMQ_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View file

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

View file

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