Skip to content

Commit

Permalink
Fixed incorrect templates rendering when use extraVolumes value (#124)
Browse files Browse the repository at this point in the history
* Fixed incorrect templates rendering when use extraVolumes value

Signed-off-by: Denis Buravlev <[email protected]>

* Bump the chart version

Signed-off-by: Denis Buravlev <[email protected]>

Co-authored-by: Travis Groth <[email protected]>
  • Loading branch information
denis-buravlev and travisgroth authored Jul 15, 2020
1 parent 26f61d0 commit 2dc7e7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/pomerium/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: pomerium
version: 10.1.2
version: 10.1.3
appVersion: 0.9.2
home: http://www.pomerium.io/
icon: https://www.pomerium.io/logo-long.svg
Expand Down
2 changes: 1 addition & 1 deletion charts/pomerium/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ policy:
secretName: {{ template "pomerium.caSecret.name" . }}
optional: true
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes }}
{{- end }}
{{- end -}}

Expand Down
4 changes: 2 additions & 2 deletions charts/pomerium/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ spec:
- name: config
secret:
secretName: {{ $baseSecretName }}
serviceAccountName: {{ template "pomerium.operator.serviceAccountName" . }}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes | indent 6 }}
{{- end }}
serviceAccountName: {{ template "pomerium.operator.serviceAccountName" . }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
Expand Down

0 comments on commit 2dc7e7e

Please sign in to comment.