Skip to content

Commit 5cc7cab

Browse files
authored
Fix issue in secret template (#517)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
1 parent d16c4f8 commit 5cc7cab

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

charts/gitvote/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: gitvote
33
description: GitVote is a GitHub application that allows holding a vote on issues and pull requests
44
type: application
5-
version: 1.2.1-1
5+
version: 1.2.1-2
66
appVersion: 1.2.0
77
kubeVersion: ">= 1.19.0-0"
88
home: https://gitvote.dev

charts/gitvote/templates/gitvote_secret.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ stringData:
1818
appID: {{ .Values.gitvote.github.appID }}
1919
appPrivateKey: {{ .Values.gitvote.github.appPrivateKey | quote }}
2020
webhookSecret: {{ .Values.gitvote.github.webhookSecret | quote }}
21-
webhookSecretFallback: {{ .Values.gitvote.github.webhookSecretFallback | quote }}
21+
{{- with .Values.gitvote.github.webhookSecretFallback }}
22+
webhookSecretFallback: {{ . | quote }}
23+
{{- end }}
24+

0 commit comments

Comments
 (0)