From 7a8c1f107d6c8d5e9984dabcfbcf3994d674ad18 Mon Sep 17 00:00:00 2001 From: David Burke Date: Wed, 22 Jan 2020 21:47:05 -0500 Subject: [PATCH] Allow longer timeout on migration hook --- templates/pre-install-job.yaml | 4 ++-- values.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/pre-install-job.yaml b/templates/pre-install-job.yaml index a49a2ca..b751710 100644 --- a/templates/pre-install-job.yaml +++ b/templates/pre-install-job.yaml @@ -6,9 +6,9 @@ metadata: {{- include "glitchtip.labels" . | nindent 4 }} annotations: "helm.sh/hook": post-install,pre-upgrade - "helm.sh/hook-delete-policy": hook-succeeded + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: - activeDeadlineSeconds: 60 + activeDeadlineSeconds: 180 template: spec: restartPolicy: Never diff --git a/values.yaml b/values.yaml index a092b5f..8776313 100644 --- a/values.yaml +++ b/values.yaml @@ -12,6 +12,8 @@ image: imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +databaseURL: +secretKey: serviceAccount: # Specifies whether a service account should be created