Skip to content

Commit

Permalink
Merge branch 'master' into test-16428
Browse files Browse the repository at this point in the history
  • Loading branch information
Azam-Hmcts authored Feb 4, 2025
2 parents 1404e37 + 99163c4 commit 26d5f2f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions charts/civil-ccd/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,21 @@ civil-service:
extraEnvVars:
- name: POSTGRESQL_WAL_LEVEL
value: "logical"
- name: POSTGRESQL_MAX_CONNECTIONS
value: "400"
extendedConfiguration: |
max_connections = 400
shared_buffers = 512MB
resources:
requests:
cpu: 25m
cpu: 500m
memory: 2048Mi
podAnnotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
initdb:
user: postgres
password: ${POSTGRES_PASSWORD}
scripts:
00_grant_superuser_role.sql: |
ALTER ROLE hmcts WITH SUPERUSER;
01_init_civil.sql: |
CREATE DATABASE cmc WITH OWNER = hmcts ENCODING = 'UTF-8' CONNECTION LIMIT = -1;
CREATE DATABASE "data-store" WITH OWNER = hmcts ENCODING = 'UTF-8' CONNECTION LIMIT = -1;
Expand Down

0 comments on commit 26d5f2f

Please sign in to comment.