Skip to content

Commit

Permalink
etrip chart 0.5.6, fix cron/deploy rendering for ETRIP_SEARCHLOGS_DSN
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebarbarosie committed Jun 16, 2024
1 parent 1aa04a0 commit 97e964f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/etrip/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v1
name: etrip
description: eTrip PHP Helm chart
type: application
version: 0.5.5
version: 0.5.6
appVersion: 6.0.86
2 changes: 1 addition & 1 deletion charts/etrip/templates/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
user={{ .username }}
dbname={{ .dbname }}
host={{ .host }}
{{- if not .certificate }}}
{{- if not .certificate }}
password=$(SEARCHLOGS_DBPASSWORD)
{{- else }}
sslcert=/secrets/searchlogs-tls/postgresql.crt
Expand Down
4 changes: 4 additions & 0 deletions charts/etrip/templates/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ spec:
host={{ .host }}
{{- if not .certificate }}
password=$(SEARCHLOGS_DBPASSWORD)
{{- else }}
sslcert=/secrets/searchlogs-tls/postgresql.crt
sslkey=/secrets/searchlogs-tls/postgresql.key
sslrootcert=/secrets/searchlogs-tls/root.crt
{{- end }}
- name: ETRIP_SEARCHLOGS_TABLE
value: {{ .table | default ($.Release.Name
Expand Down

0 comments on commit 97e964f

Please sign in to comment.