Skip to content

Commit de128ca

Browse files
committed
fixes for helm hooks
1 parent 74e0579 commit de128ca

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.35.0
3+
version: 0.36.0

charts/synapse/templates/matrix-authentication-secret.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ apiVersion: v1
33
kind: Secret
44
metadata:
55
name: matrix-authentication
6-
{{- if .Values.argocd }}
76
annotations:
7+
{{- if .Values.argocd }}
88
argocd.argoproj.io/sync-wave: "-30"
99
argocd.argoproj.io/hook: "Sync"
10-
{{- end }}
10+
{{- else }}
11+
helm.sh/hook: "pre-install,pre-upgrade"
12+
helm.sh/hook-weight: "-30"
13+
helm.sh/hook-delete-policy: "before-hook-creation"
14+
{{- end }}
1115
labels:
1216
{{- include "matrix-authentication.selectorLabels" . | nindent 4 }}
1317
type: Opaque

0 commit comments

Comments
 (0)