Skip to content

Commit

Permalink
chore: bump Postgres to v16 in Helm chart (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
ili101 committed Mar 10, 2024
1 parent 4bf748a commit 4ec3327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/api-platform/Chart.yaml
Expand Up @@ -26,6 +26,6 @@ appVersion: 0.1.0

dependencies:
- name: postgresql
version: ~12.1.14
version: ~14.3.1
repository: https://charts.bitnami.com/bitnami/
condition: postgresql.enabled
2 changes: 1 addition & 1 deletion helm/api-platform/templates/secrets.yaml
Expand Up @@ -7,7 +7,7 @@ metadata:
type: Opaque
data:
{{- if .Values.postgresql.enabled }}
database-url: {{ printf "pgsql://%s:%s@%s-postgresql/%s?serverVersion=14&charset=utf8" .Values.postgresql.global.postgresql.auth.username .Values.postgresql.global.postgresql.auth.password .Release.Name .Values.postgresql.global.postgresql.auth.database | b64enc | quote }}
database-url: {{ printf "pgsql://%s:%s@%s-postgresql/%s?serverVersion=16&charset=utf8" .Values.postgresql.global.postgresql.auth.username .Values.postgresql.global.postgresql.auth.password .Release.Name .Values.postgresql.global.postgresql.auth.database | b64enc | quote }}
{{- else }}
database-url: {{ .Values.postgresql.url | b64enc | quote }}
{{- end }}
Expand Down

0 comments on commit 4ec3327

Please sign in to comment.