Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Fixes pgbouncer pool mode
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ryoo committed Sep 22, 2023
1 parent 3569da0 commit 712f0ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ spec:
- name: DB_NAME
value: {{ .Values.postgresql.external.reportDbName }}
- name: POOL_MODE
value: transaction
value: {{ .Values.postgresql.external.pgbouncer.operationMode }}
- name: SERVER_RESET_QUERY
value: DISCARD ALL
- name: DB_USER
Expand Down
2 changes: 1 addition & 1 deletion charts/allure-testops/templates/allure/uaa-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ spec:
- name: DB_NAME
value: {{ .Values.postgresql.external.uaaDbName }}
- name: POOL_MODE
value: session
value: {{ .Values.postgresql.external.pgbouncer.operationMode }}
- name: SERVER_RESET_QUERY
value: DISCARD ALL
- name: DB_USER
Expand Down
1 change: 1 addition & 0 deletions charts/allure-testops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ postgresql:
pgbouncer:
enabled: false
image: docker.io/edoburu/pgbouncer:1.20.1-p0
operationMode: session
# This works for built-in postgres only provided with this chart. For external DB you need to execute these manually when creating the databases
primary:
initdb:
Expand Down

0 comments on commit 712f0ce

Please sign in to comment.