From d839c236856c2942d831d2bf4efb8c382fe8dbd5 Mon Sep 17 00:00:00 2001 From: Bogdan Alov Date: Thu, 25 Jul 2019 14:27:12 +0300 Subject: [PATCH] updating production deployment to latest version --- releases/prod/account-service.yaml | 54 ++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/releases/prod/account-service.yaml b/releases/prod/account-service.yaml index 057fe95..8662098 100644 --- a/releases/prod/account-service.yaml +++ b/releases/prod/account-service.yaml @@ -8,14 +8,64 @@ spec: chart: repository: https://nynjagroup.jfrog.io/nynjagroup/helm/ name: account-service - version: 0.1.0 + version: 0.1.7 values: - replicaCount: 3 + replicaCount: 2 + image: repository: ${IMAGE_NAME} tag: ${IMAGE_BUILD_TAG} + gateway: selector: - api-gateway.default.svc.cluster.local hosts: - account.nynja.net + + resources: + limits: + cpu: 750m + memory: 1250Mi + requests: + cpu: 750m + memory: 1250Mi + + ports: + containerPort: + http: 8080 + grpc: 6565 + + bridge: + enabled: false + host: bridge-service.bridge-service.svc.cluster.local + port: 6570 + + ## CORS policy needs clean up!!! This is temporary solution to allow UI team and others that depend on stable environment to work on staging. ## + # CORS policy + corsPolicy: + allowOrigin: + - http://localhost:3000 + - https://localhost + - https://localhost/grpc/ + - http://10.191.224.180:3000 + - https://localhost:8080 + - https://127.0.0.1:8080 + - https://web.dev-eu.nynja.net + - https://web.staging.nynja.net + - https://web.nynja.net + - http://10.191.38.1 + - https://admin-console.dev-eu.nynja.net + allowMethods: + - POST + - GET + - OPTIONS + allowCredentials: false + allowHeaders: + - content-type + - x-grpc-web + - authorization + exposeHeaders: + - grpc-message + - grpc-status + - status + maxAge: "600s" -- GitLab