From 66683e14df45e76a2347fbd0893d4d61158c190e Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Tue, 21 Dec 2021 18:59:18 +0800 Subject: [PATCH] Remove "enabled" key check from OAuth (#267) As this key must not exist anymore, we don't have to check it. Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/267 Reviewed-by: luhahn Reviewed-by: wxiaoguang Co-authored-by: justusbunsi Co-committed-by: justusbunsi --- templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index e25f816..42b8bed 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -150,7 +150,7 @@ app.kubernetes.io/instance: {{ .Release.Name }} {{- end -}} {{- range $key, $val := $values -}} -{{- if and (ne $key "enabled") (ne $key "existingSecret") -}} +{{- if ne $key "existingSecret" -}} {{- printf "--%s %s " ($key | kebabcase) ($val | quote) -}} {{- end -}} {{- end -}}