Skip to content

Commit 6feccda

Browse files
committed
chart: cnpg synchronous
1 parent 6192073 commit 6feccda

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

charts/cnpg-cluster/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.8
18+
version: 0.1.9
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/cnpg-cluster/templates/cnpg-cluster.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ spec:
5050
# Max connections from pooler + some overhead
5151
max_connections: {{ include "cnpg-cluster.maxConnections" . | quote }}
5252

53+
# https://cloudnative-pg.io/documentation/current/replication/#required-data-durability
54+
# https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-SynchronousReplicaConfiguration
55+
synchronous:
56+
dataDurability: required
57+
method: any
58+
number: 1
59+
5360
# https://cloudnative-pg.io/documentation/current/storage/
5461
storage:
5562
storageClass: {{ .Values.storageClass }}

0 commit comments

Comments
 (0)