Add ToDos and ToDo KW

This commit is contained in:
erik 2023-08-09 11:37:48 +02:00
parent 83071350bc
commit aeed068ef8

View file

@ -61,26 +61,26 @@ spec:
- name: taiga-media - name: taiga-media
mountPath: /taiga-back/media mountPath: /taiga-back/media
readOnly: false readOnly: false
env: # Does every container need access to all env vars? env: # ToDo: Does every container need access to all env vars?
- name: POSTGRES_USER # does taiga need a specific postgres version? - name: POSTGRES_USER # ToDo: does taiga need a specific postgres version?
valueFrom: # which env vars are needed by taiga-back and taiga-async valueFrom: # ToDo: which env vars are needed by taiga-back and taiga-async
secretKeyRef: # ToDo: If all env vars are needed by taiga-back a config-map would be suitable secretKeyRef: # ToDo: If all env vars are needed by taiga-back a config-map would be suitable
name: postgres-secret name: postgres-secret
key: postgres-user key: postgres-user
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: postgres-secret name: postgres-secret
key: postgres-password key: postgres-password
- name: POSTGRES_DB - name: POSTGRES_DB
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: postgres-config name: postgres-config
key: postgres-db key: postgres-db
- name: POSTGRES_HOST - name: POSTGRES_HOST
value: "postgresql-service" value: "postgresql-service"
- name: POSTGRES_PORT - name: POSTGRES_PORT
value: 5432 value: 5432
- name: taiga-async - name: taiga-async
image: taigaio/taiga-back:latest image: taigaio/taiga-back:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -114,7 +114,7 @@ spec:
value: "postgresql-service" value: "postgresql-service"
- name: POSTGRES_PORT - name: POSTGRES_PORT
value: 5432 value: 5432
- name: taiga-async-rabbitmq - name: taiga-async-rabbitmq # ToDo: Rabbitmq uses a hostname KW in docker-compose. Whats the equivalent expression in kubernetes?
image: rabbitmq:3.8-management-alpine image: rabbitmq:3.8-management-alpine
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports: