Skip to content

Commit

Permalink
Helm: change postgresql connection string format in configmap template
Browse files Browse the repository at this point in the history
The PostgreSQL connection string in the configmap template for helm was
changed to a key-value format to reflect the currently used format in
the sample config file

Fixes #561
  • Loading branch information
Fabian Hinz committed Aug 13, 2018
1 parent 1d690bb commit 690d26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/helm/clair/templates/_config.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ clair:
{{- if .Values.config.postgresURI }}
source: "{{ .Values.config.postgresURI }}"
{{ else }}
source: "postgres://{{ .Values.postgresql.postgresUser }}:{{ .Values.postgresql.postgresPassword }}@{{ template "postgresql.fullname" . }}:5432/{{ .Values.postgresql.postgresDatabase }}?sslmode=disable"
source: "host={{ template "postgresql.fullname" . }} port=5432 user={{ .Values.postgresql.postgresUser }} password={{ .Values.postgresql.postgresPassword }} dbname={{ .Values.postgresql.postgresDatabase }} sslmode=disable statement_timeout=60000"
{{ end }}

# Number of elements kept in the cache.
Expand Down

0 comments on commit 690d26e

Please sign in to comment.