Skip to content

Commit

Permalink
update postgres pgbouncer settings
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Oct 21, 2024
1 parent ce6de48 commit 0fedc21
Show file tree
Hide file tree
Showing 6 changed files with 871 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/environments/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ postgres:

# ----- pgBouncer (network pooling) ------
pgBouncerConfig:
replicas: 3
replicas: 2

# -------- backups ---------
pgBackRestConfig:
Expand Down
5 changes: 4 additions & 1 deletion .github/environments/values.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ postgres:
- "ReadWriteOnce"
resources:
requests:
storage: 5Gi
storage: 2Gi
storageClassName: "netapp-block-standard"
resources:
requests:
Expand All @@ -51,6 +51,9 @@ postgres:
cpu: 100m
memory: 256Mi

# ----- pgBouncer (network pooling) ------
pgBouncerConfig:
replicas: 3
# -------- backups ---------
pgBackRestConfig:
# allow one-off backups
Expand Down
4 changes: 2 additions & 2 deletions charts/coms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: common-object-management-service
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.0
version: 1.1.1
kubeVersion: ">= 1.13.0"
description: A microservice for managing access control to S3 Objects
# A chart can be either an 'application' or a 'library' chart.
Expand All @@ -28,7 +28,7 @@ sources:
- https://github.com/bcgov/common-object-management-service
dependencies:
- name: postgrescluster
version: 1.1.0
version: 1.1.1
repository: "file://../postgres"
condition: postgres.enabled
alias: postgres
Expand Down
1 change: 0 additions & 1 deletion charts/coms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ postgres:
# ----- pgBouncer (network pooling) ------
pgBouncerConfig:
image: # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
replicas: 2
config:
global:
Expand Down
2 changes: 1 addition & 1 deletion charts/postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: postgrescluster
description: A Helm chart for Kubernetes
type: application
# The version below should match the version on the PostgresCluster CRD
version: 1.1.0
version: 1.1.1
appVersion: 5.6.0
Loading

0 comments on commit 0fedc21

Please sign in to comment.