Skip to content
Snippets Groups Projects
Verified Commit e851d608 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

add login initContainer that runs DB migrations. Use new version of login ...

add login initContainer that runs DB migrations. Use new version of login  container that includes DB migration to run
parent ad10d31f
No related branches found
No related tags found
1 merge request!73Remove postgres, add DB migrations
......@@ -16,6 +16,17 @@ spec:
annotations:
{{- toYaml .Values.login.podAnnotations | nindent 8 }}
spec:
initContainers:
- name: {{ .Chart.Name }}-login-migrate
image: {{ .Values.login.image.repository }}:{{ .Values.login.image.tag }}
imagePullPolicy: {{ .Values.login.image.pullPolicy }}
command: ["/bin/bash", "-c"]
args:
- flask db init; flask db upgrade;
env:
{{ include "flask.env" . | nindent 12 }}
- name: KRATOS_PUBLIC_URL
value: https://{{ .Values.singleSignOnHost }}/api
containers:
- name: {{ .Chart.Name }}-login
image: {{ .Values.login.image.repository }}:{{ .Values.login.image.tag }}
......
......@@ -207,7 +207,7 @@ hydra:
# Install login panel
login:
image:
tag: "0-5-0"
tag: "0-5-2"
pullPolicy: "Always"
repository: "open.greenhost.net:4567/stackspin/single-sign-on/login"
podAnnotations: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment