Skip to content

Commit

Permalink
Merge pull request #578 from naibaf0/fix/helmtemplate/configmap/postg…
Browse files Browse the repository at this point in the history
…resql

Helm: change postgresql connection string format in configmap template
  • Loading branch information
jzelinskie committed Aug 13, 2018
2 parents 1d690bb + 690d26e commit ddeb643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/helm/clair/templates/_config.yaml.tpl
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 ddeb643

Please sign in to comment.