From 3f3dd47842abe76875bdfacda49b6767fccca456 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Thu, 7 Apr 2022 09:24:04 +0200 Subject: [PATCH] set KRATOS_PUBLIC_URL to internal network URL for initialize user job --- deployment/helmchart/templates/job-initialize-user.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/helmchart/templates/job-initialize-user.yaml b/deployment/helmchart/templates/job-initialize-user.yaml index 6e1c13d..33f863d 100644 --- a/deployment/helmchart/templates/job-initialize-user.yaml +++ b/deployment/helmchart/templates/job-initialize-user.yaml @@ -41,6 +41,8 @@ spec: value: {{ .Values.backend.initialUser.email }} - name: SETUP_PASSWORD value: {{ .Values.backend.initialUser.password }} + - name: KRATOS_PUBLIC_URL + value: http://kratos-public:80 command: ["/bin/bash", "-c"] args: - flask db upgrade;