From df20a0ab13dd8f7d1e711b8744be9fb961f97316 Mon Sep 17 00:00:00 2001 From: Christian Weichel Date: Thu, 12 Aug 2021 15:54:17 +0000 Subject: [PATCH] [payment-endpoint] Remove VERSION env var Logging is not a good enough reason to restart this service --- chart/templates/payment-endpoint-deployment.yaml | 2 -- components/ee/payment-endpoint/src/main.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/chart/templates/payment-endpoint-deployment.yaml b/chart/templates/payment-endpoint-deployment.yaml index 7fe7d767f196a2..625f0fddfb1ce8 100644 --- a/chart/templates/payment-endpoint-deployment.yaml +++ b/chart/templates/payment-endpoint-deployment.yaml @@ -52,8 +52,6 @@ spec: {{ include "gitpod.container.defaultEnv" $this | indent 8 }} {{ include "gitpod.container.dbEnv" $this | indent 8 }} {{ include "gitpod.container.tracingEnv" $this | indent 8 }} - - name: VERSION - value: "${{ .Values.version }}" {{- if .Values.components.paymentEndpoint.webhookFile }} - name: CHARGEBEE_WEBHOOK value: '{{ .Files.Get .Values.components.paymentEndpoint.webhookFile }}' diff --git a/components/ee/payment-endpoint/src/main.ts b/components/ee/payment-endpoint/src/main.ts index 35fdb1f07db81d..3e63ff471d263a 100644 --- a/components/ee/payment-endpoint/src/main.ts +++ b/components/ee/payment-endpoint/src/main.ts @@ -14,7 +14,7 @@ import { productionContainerModule } from './container-module'; import { log } from '@gitpod/gitpod-protocol/lib/util/logging'; import { dbContainerModule } from '@gitpod/gitpod-db/lib/container-module'; -log.enableJSONLogging('payment-endpoint', process.env.VERSION); +log.enableJSONLogging('payment-endpoint', undefined); const init = async () => { const container = new Container();