Skip to content

Commit

Permalink
Merge pull request #139 from detvdl/fix/allow-literal-zero-values
Browse files Browse the repository at this point in the history
fix: allow literal 0 values in deployment.yaml extraArgs templating
  • Loading branch information
pierluigilenoci authored Jun 7, 2023
2 parents 518dc3c + 73a1f1a commit fa0af31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 6.13.0
version: 6.13.1
apiVersion: v2
appVersion: 7.4.0
home: https://oauth2-proxy.github.io/oauth2-proxy/
Expand Down
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
{{- end }}
{{- if kindIs "map" .Values.extraArgs }}
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
{{- if not (kindIs "invalid" $value) }}
- --{{ $key }}={{ tpl ($value | toString) $ }}
{{- else }}
- --{{ $key }}
Expand Down

0 comments on commit fa0af31

Please sign in to comment.