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

add some fixes for painless installation and upgrade of the newer hydra version

parent 3994a38d
No related branches found
No related tags found
1 merge request!52Resolve "Bump chart version because of hydra upgrade"
Pipeline #9550 failed with stage
in 5 seconds
# https://k8s.ory.sh/helm/hydra.html # https://k8s.ory.sh/helm/hydra.html
dependencies: dependencies:
- name: hydra - name: hydra
version: 0.19.5 version: 0.20.2
repository: "https://k8s.ory.sh/helm/charts" repository: "https://k8s.ory.sh/helm/charts"
tags: tags:
- single-sign-on - single-sign-on
......
...@@ -12,9 +12,11 @@ metadata: ...@@ -12,9 +12,11 @@ metadata:
{{- with .Values.kratos.job.annotations }} {{- with .Values.kratos.job.annotations }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- if not .Release.IsInstall }}
helm.sh/hook-weight: "1" helm.sh/hook-weight: "1"
helm.sh/hook: "post-install, post-upgrade" helm.sh/hook: "pre-upgrade"
helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded" helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded"
{{- end }}
spec: spec:
template: template:
{{- with .Values.kratos.job.annotations }} {{- with .Values.kratos.job.annotations }}
......
...@@ -174,6 +174,9 @@ kratos: ...@@ -174,6 +174,9 @@ kratos:
connection_uri: smtps://username:password@smtp.example.com:456/ connection_uri: smtps://username:password@smtp.example.com:456/
hydra: hydra:
# Fix for this issue: https://github.com/ory/k8s/issues/367
image:
tag: v1.10.5-sqlite
maester: maester:
# hydra.maester.enabled instal hydra-maester which is enabled by default # hydra.maester.enabled instal hydra-maester which is enabled by default
# oauth client management is handled via jobs right now so there is no need to it # oauth client management is handled via jobs right now so there is no need to it
......
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