From c84546ba061f74043d6e8df2a6f8b6ba802e9c67 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 30 Sep 2023 22:14:23 +0200 Subject: [PATCH] Revert "reverted two parts of the configuration to bisect if helm is unhappy with them" This reverts commit bf6fc2a2755f4287c053b0b4145e2034e34a7543. --- .../templates/deployments/backend-v2.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/deployment/charts/backend/templates/deployments/backend-v2.yaml b/deployment/charts/backend/templates/deployments/backend-v2.yaml index a5b68ebd..9cab9317 100644 --- a/deployment/charts/backend/templates/deployments/backend-v2.yaml +++ b/deployment/charts/backend/templates/deployments/backend-v2.yaml @@ -32,7 +32,44 @@ spec: - name: backend-api-keys secret: secretName: backend-api-keys + - name: backend-grpc-web-config + configMap: + name: backend-grpc-web-config containers: + - name: grpc-web-proxy + image: envoyproxy/envoy:v1.27-latest + imagePullPolicy: IfNotPresent + args: + - --config-path + - /etc/envoy/envoy.yaml + - --service-cluster + - backend-v2 + - --service-node + - backend-v2 + - --log-level + - info + ports: + - containerPort: 8081 + name: http + - containerPort: 9901 + name: admin + volumeMounts: + - mountPath: /etc/envoy/envoy.yaml + subPath: envoy.yaml + name: backend-grpc-web-config + readOnly: true + livenessProbe: + httpGet: + path: /health + port: admin + failureThreshold: 5 + periodSeconds: 1 + startupProbe: + httpGet: + path: /health + port: admin + failureThreshold: 60 + periodSeconds: 1 - name: tca-backend image: ghcr.io/tum-dev/campus-backend/backend-server:{{ $.Values.tag }} imagePullPolicy: Always