From d3a65c1c02248495a9a02295eb16a084275fe79d Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 10 Aug 2023 12:24:13 +0200 Subject: [PATCH] Fix volumes in gateway --- src/main/resources/taiga/taiga-gateway-deployment.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/resources/taiga/taiga-gateway-deployment.yaml b/src/main/resources/taiga/taiga-gateway-deployment.yaml index 72a4e41..b6beb43 100644 --- a/src/main/resources/taiga/taiga-gateway-deployment.yaml +++ b/src/main/resources/taiga/taiga-gateway-deployment.yaml @@ -20,10 +20,11 @@ spec: image: nginx:1.19-alpine imagePullPolicy: IfNotPresent ports: + - name: http - containerPort: 80 # ToDo: Check container ports everywhere volumeMounts: - mountPath: /etc/nginx/conf.d - name: taiga-configmap-volume + name: taiga-gateway-configmap - name: taiga-static mountPath: /taiga/static readOnly: false @@ -31,10 +32,10 @@ spec: mountPath: /taiga/media readOnly: false - volumes: # ToDo: Are the volumes implemented correctly? - - name: taiga-configmap-volume + volumes: + - name: taiga-gateway-configmap configMap: - name: taiga-gateway-configmap # ToDo: implement gateway configmap + name: taiga-gateway-configmap - name: taiga-static persistentVolumeClaim: claimName: taiga-static