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

remove postgresql from Chart.yaml, remove initContainer from login deployment

parent f54399f0
No related branches found
No related tags found
1 merge request!73Remove postgres, add DB migrations
Pipeline #10787 passed with stages
in 24 seconds
......@@ -10,13 +10,6 @@ dependencies:
repository: "https://k8s.ory.sh/helm/charts"
tags:
- single-sign-on
# https://github.com/bitnami/charts/tree/master/bitnami/postgresql
# https://artifacthub.io/packages/helm/bitnami/postgresql
- name: postgresql
version: 10.12.4
repository: "https://charts.bitnami.com/bitnami"
tags:
- single-sign-on
# https://k8s.ory.sh/helm/kratos.html
- name: kratos
version: 0.21.0
......
......@@ -16,17 +16,6 @@ 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 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 }}
......
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