Skip to content

Commit fa0af31

Browse files
Merge pull request #139 from detvdl/fix/allow-literal-zero-values
fix: allow literal 0 values in deployment.yaml extraArgs templating
2 parents 518dc3c + 73a1f1a commit fa0af31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.13.0
2+
version: 6.13.1
33
apiVersion: v2
44
appVersion: 7.4.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ spec:
7676
{{- end }}
7777
{{- if kindIs "map" .Values.extraArgs }}
7878
{{- range $key, $value := .Values.extraArgs }}
79-
{{- if $value }}
79+
{{- if not (kindIs "invalid" $value) }}
8080
- --{{ $key }}={{ tpl ($value | toString) $ }}
8181
{{- else }}
8282
- --{{ $key }}

0 commit comments

Comments
 (0)