From 953fb45d414912e5eff6d90018feef693419cb74 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 10 Aug 2023 12:52:05 +0200 Subject: [PATCH] Correct container ports --- src/main/resources/taiga/taiga-async-deployment.yaml | 5 +++-- .../resources/taiga/taiga-async-rabbitmq-deployment.yaml | 3 ++- src/main/resources/taiga/taiga-back-deployment.yaml | 3 ++- src/main/resources/taiga/taiga-events-deployment.yaml | 3 ++- .../resources/taiga/taiga-events-rabbitmq-deployment.yaml | 3 ++- src/main/resources/taiga/taiga-front-deployment.yaml | 3 ++- src/main/resources/taiga/taiga-gateway-deployment.yaml | 2 +- src/main/resources/taiga/taiga-protected-deployment.yaml | 3 ++- 8 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/main/resources/taiga/taiga-async-deployment.yaml b/src/main/resources/taiga/taiga-async-deployment.yaml index 0c564da..8e4a0c4 100644 --- a/src/main/resources/taiga/taiga-async-deployment.yaml +++ b/src/main/resources/taiga/taiga-async-deployment.yaml @@ -18,9 +18,10 @@ spec: - name: taiga-async image: taigaio/taiga-back:latest imagePullPolicy: IfNotPresent - command: ["async_entrypoint.sh"] + command: ["async_entrypoint.sh"] # ToDo: Fix execution path ports: - - containerPort: 80 + - name: http + containerPort: 8000 volumeMounts: - name: taiga-static mountPath: /taiga-back/static diff --git a/src/main/resources/taiga/taiga-async-rabbitmq-deployment.yaml b/src/main/resources/taiga/taiga-async-rabbitmq-deployment.yaml index 6561fb0..27c5a34 100644 --- a/src/main/resources/taiga/taiga-async-rabbitmq-deployment.yaml +++ b/src/main/resources/taiga/taiga-async-rabbitmq-deployment.yaml @@ -19,7 +19,8 @@ spec: image: rabbitmq:3.8-management-alpine imagePullPolicy: IfNotPresent ports: - - containerPort: 80 + - name: amqp + containerPort: 5672 volumeMounts: - name: taiga-async-rabbitmq-data mountPath: /var/lib/rabbitmq diff --git a/src/main/resources/taiga/taiga-back-deployment.yaml b/src/main/resources/taiga/taiga-back-deployment.yaml index 63c24f6..2afb431 100644 --- a/src/main/resources/taiga/taiga-back-deployment.yaml +++ b/src/main/resources/taiga/taiga-back-deployment.yaml @@ -67,7 +67,8 @@ spec: image: taigaio/taiga-back:latest imagePullPolicy: IfNotPresent ports: - - containerPort: 80 # ToDo: Check container ports + - name: http + containerPort: 8000 volumeMounts: - name: taiga-static mountPath: /taiga-back/static diff --git a/src/main/resources/taiga/taiga-events-deployment.yaml b/src/main/resources/taiga/taiga-events-deployment.yaml index 5bf5e28..38368a5 100644 --- a/src/main/resources/taiga/taiga-events-deployment.yaml +++ b/src/main/resources/taiga/taiga-events-deployment.yaml @@ -19,7 +19,8 @@ spec: image: taigaio/taiga-events:latest imagePullPolicy: IfNotPresent ports: - - containerPort: 80 + - name: http + containerPort: 8888 envFrom: # ToDo: check if all vars are needed - configMapRef: name: taiga-back-configmap diff --git a/src/main/resources/taiga/taiga-events-rabbitmq-deployment.yaml b/src/main/resources/taiga/taiga-events-rabbitmq-deployment.yaml index fff5926..b855c35 100644 --- a/src/main/resources/taiga/taiga-events-rabbitmq-deployment.yaml +++ b/src/main/resources/taiga/taiga-events-rabbitmq-deployment.yaml @@ -19,7 +19,8 @@ spec: image: rabbitmq:3.8-management-alpine imagePullPolicy: IfNotPresent ports: - - containerPort: 80 + - name: amqp + containerPort: 5672 volumeMounts: - name: taiga-events-rabbitmq-data mountPath: /var/lib/rabbitmq diff --git a/src/main/resources/taiga/taiga-front-deployment.yaml b/src/main/resources/taiga/taiga-front-deployment.yaml index deed780..656a0e6 100644 --- a/src/main/resources/taiga/taiga-front-deployment.yaml +++ b/src/main/resources/taiga/taiga-front-deployment.yaml @@ -19,7 +19,8 @@ spec: image: taigaio/taiga-front:latest imagePullPolicy: IfNotPresent ports: - - containerPort: 80 + - name: http + containerPort: 80 env: - name: TAIGA_URL value: TAGA_SCHEME://TAIGA_DOMAIN diff --git a/src/main/resources/taiga/taiga-gateway-deployment.yaml b/src/main/resources/taiga/taiga-gateway-deployment.yaml index b6beb43..a33efa6 100644 --- a/src/main/resources/taiga/taiga-gateway-deployment.yaml +++ b/src/main/resources/taiga/taiga-gateway-deployment.yaml @@ -21,7 +21,7 @@ spec: imagePullPolicy: IfNotPresent ports: - name: http - - containerPort: 80 # ToDo: Check container ports everywhere + containerPort: 80 volumeMounts: - mountPath: /etc/nginx/conf.d name: taiga-gateway-configmap diff --git a/src/main/resources/taiga/taiga-protected-deployment.yaml b/src/main/resources/taiga/taiga-protected-deployment.yaml index 8f18a34..c7542b3 100644 --- a/src/main/resources/taiga/taiga-protected-deployment.yaml +++ b/src/main/resources/taiga/taiga-protected-deployment.yaml @@ -19,7 +19,8 @@ spec: image: taigaio/taiga-protected:latest imagePullPolicy: IfNotPresent ports: - - containerPort: 80 + - name: http + containerPort: 8003 envFrom: # ToDo secret key ref - secret_key - secretRef: name: taiga-back-secret