set KRATOS_PUBLIC_URL to internal network URL for initialize user job

This commit is contained in:
Maarten de Waard 2022-04-07 09:24:04 +02:00
parent a03541e3a6
commit 3f3dd47842
No known key found for this signature in database
GPG key ID: 1D3E893A657CC8DA

View file

@ -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;