Skip to content

Commit

Permalink
[payment-endpoint] Remove VERSION env var
Browse files Browse the repository at this point in the history
Logging is not a good enough reason to restart this service
  • Loading branch information
csweichel authored and roboquat committed Aug 12, 2021
1 parent 2b76649 commit df20a0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions chart/templates/payment-endpoint-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
2 changes: 1 addition & 1 deletion components/ee/payment-endpoint/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit df20a0a

Please sign in to comment.