Add taiga-front, taiga-rabbitmq and taiga-protected

This commit is contained in:
erik 2023-08-09 11:39:49 +02:00
parent aeed068ef8
commit b00154d1ad

View file

@ -132,14 +132,60 @@ spec:
value: RABBITMQ_PASS
- name: RABBITMQ_DEFAULT_VHOST
value: RABBITMQ_VHOST
- name: taiga-front
image: taigaio/taiga-front:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
env:
- name: TAIGA_URL
value: TAGA_SCHEME://TAIGA_DOMAIN
- name: TAIGA_WEBSOCKETS_URL
value: WEBSOCKETS_SCHEME://TAIGA_DOMAIN
- name: TAIGA_SUBPATH
value: SUBPATH
- name: taiga-events
- name: taiga-events-rabbitmq
image: taigaio/taiga-events:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
env:
- name: RABBITMQ_USER
value: RABBITMQ_USER_VALUE
- name: RABBITMQ_PASS
value: RABBITMQ_PASS_VALUE
- name: TAIGA_SECRET_KEY
value: SECRET_KEY_VALUE
- name: taiga-events-rabbitmq # ToDo: Rabbitmq uses a hostname KW in docker-compose. Whats the equivalent expression in kubernetes?
image: rabbitmq:3.8-management-alpine
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
volumeMounts:
- name: taiga-events-rabbitmq-data
mountPath: /var/lib/rabbitmq
readOnly: false
env:
- name: RABBITMQ_ERLANG_COOKIE
value: ERLANG_COOKIE_VALUE
- name: RABBITMQ_DEFAULT_USER
value: RABBITMQ_USER
- name: RABBITMQ_DEFAULT_PASS
value: RABBITMQ_PASS
- name: RABBITMQ_DEFAULT_VHOST
value: RABBITMQ_VHOST
- name: taiga-protected
# - name: taiga-gateway
initContainers:
- name:
image: taigaio/taiga-protected:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
env:
- name: MAX_AGE
value: ATTACHMENTS_MAX_AGE
- name: SECRET_KEY
value: SECRET_KEY_VALUE
# - name: taiga-gateway # ToDo: How to replace the gateway in this setup?
volumes:
- name: taiga-static
persistentVolumeClaim:
@ -150,6 +196,9 @@ spec:
- name: taiga-async-rabbitmq-data
persistentVolumeClaim:
claimName: taiga-async-rabbitmq-data
- name: taiga-events-rabbitmq-data
persistentVolumeClaim:
claimName: taiga-events-rabbitmq-data
x-environment: