From d8934fca3b39973b94f1813ae8a3dee438f1c7c1 Mon Sep 17 00:00:00 2001 From: Claudio Date: Fri, 3 Feb 2023 15:14:53 +0100 Subject: [PATCH] Remove pre-install hooks where its not needed --- templates/secret-gpg.yaml | 1 - templates/secret-jwt.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/templates/secret-gpg.yaml b/templates/secret-gpg.yaml index 276afcb..1584d5b 100644 --- a/templates/secret-gpg.yaml +++ b/templates/secret-gpg.yaml @@ -5,7 +5,6 @@ metadata: labels: {{ include "passbolt-helm.labels" . | indent 4 }} annotations: - "helm.sh/hook": "pre-install" "helm.sh/hook-delete-policy": "before-hook-creation" data: "serverkey.asc": {{ if .Values.passbolt.config.serverkey }}{{ .Values.passbolt.config.serverkey | b64enc | quote }}{{ else }}{{ .Files.Get "secrets/gpg/serverkey.asc" | b64enc | quote }}{{ end }} diff --git a/templates/secret-jwt.yaml b/templates/secret-jwt.yaml index 61d7fa1..28d4ede 100644 --- a/templates/secret-jwt.yaml +++ b/templates/secret-jwt.yaml @@ -5,7 +5,6 @@ metadata: labels: {{ include "passbolt-helm.labels" . | indent 4 }} annotations: - "helm.sh/hook": "pre-install" "helm.sh/hook-delete-policy": "before-hook-creation" data: "jwt.key": {{ if .Values.passbolt.config.jwtkey }}{{ .Values.passbolt.config.jwtkey | b64enc | quote }}{{ else }}{{ .Files.Get "secrets/jwt/jwt.key" | b64enc | quote }}{{ end }}