From 53af8071fa338844a8a891c3929791e8b783e7c9 Mon Sep 17 00:00:00 2001 From: Toon Willems Date: Thu, 9 Jan 2025 13:56:07 +0100 Subject: [PATCH] make sure LAGO_API_URL is set in webhook-worker --- templates/webhook-worker-deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/webhook-worker-deployment.yaml b/templates/webhook-worker-deployment.yaml index cb1b079..f11aee8 100644 --- a/templates/webhook-worker-deployment.yaml +++ b/templates/webhook-worker-deployment.yaml @@ -110,6 +110,8 @@ spec: value: {{ .Values.billingWorker.enabled | quote }} - name: SIDEKIQ_CLOCK value: {{ .Values.clockWorker.enabled | quote }} + - name: LAGO_API_URL + value: {{ required "apiUrl value is required" .Values.apiUrl | quote }} - name: LAGO_LOG_LEVEL value: {{ .Values.webhookWorker.rails.logLevel | quote }} {{- with .Values.webhookWorker.extraEnv }} @@ -140,4 +142,4 @@ spec: failureThreshold: {{ .Values.webhookWorker.livenessProbe.failureThreshold | default 3 }} restartPolicy: Always serviceAccountName: {{ .Values.global.serviceAccountName | default (printf "%s-serviceaccount" .Release.Name) }} -{{- end -}} \ No newline at end of file +{{- end -}}