Fix volumes in gateway

This commit is contained in:
erik 2023-08-10 12:24:13 +02:00
parent 315c09ccbd
commit d3a65c1c02

View file

@ -20,10 +20,11 @@ spec:
image: nginx:1.19-alpine image: nginx:1.19-alpine
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http
- containerPort: 80 # ToDo: Check container ports everywhere - containerPort: 80 # ToDo: Check container ports everywhere
volumeMounts: volumeMounts:
- mountPath: /etc/nginx/conf.d - mountPath: /etc/nginx/conf.d
name: taiga-configmap-volume name: taiga-gateway-configmap
- name: taiga-static - name: taiga-static
mountPath: /taiga/static mountPath: /taiga/static
readOnly: false readOnly: false
@ -31,10 +32,10 @@ spec:
mountPath: /taiga/media mountPath: /taiga/media
readOnly: false readOnly: false
volumes: # ToDo: Are the volumes implemented correctly? volumes:
- name: taiga-configmap-volume - name: taiga-gateway-configmap
configMap: configMap:
name: taiga-gateway-configmap # ToDo: implement gateway configmap name: taiga-gateway-configmap
- name: taiga-static - name: taiga-static
persistentVolumeClaim: persistentVolumeClaim:
claimName: taiga-static claimName: taiga-static