Skip to content

Commit

Permalink
Add CONCOURSE_POSTGRES_BINARY_PARAMETERS
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Silva <[email protected]>
  • Loading branch information
taylorsilva committed Oct 16, 2024
1 parent 09761ed commit 3fa1804
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -497,5 +497,9 @@ Return concourse environment variables for postgresql configuration
- name: CONCOURSE_POSTGRES_DATABASE
value: {{ .Values.concourse.web.postgres.database | quote }}
{{- end }}
{{- if .Values.concourse.web.postgres.binaryParameter }}
- name: CONCOURSE_POSTGRES_BINARY_PARAMETERS
value: {{ .Values.concourse.web.postgres.binaryParameter | quote }}
{{- end }}
{{- end -}}
{{- end -}}
2 changes: 1 addition & 1 deletion templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
{{- if .Values.web.securityContext }}
securityContext:
{{- toYaml .Values.web.securityContext | nindent 12 }}
{{- end }}
{{- end }}
env:
{{- include "concourse.postgresql.env" . | indent 12 }}
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ concourse:
##
database: atc

## Whether or not to use the binary_parameter option
##
binaryParameter: false


kubernetes:
## Enable the use of Kubernetes Secrets as the credential provider for
Expand Down

0 comments on commit 3fa1804

Please sign in to comment.