Skip to content

Commit 84c5f2f

Browse files
committed
chart: increment version to 0.2.1 and add conditional for synchronous replication
1 parent 52e0126 commit 84c5f2f

2 files changed

Lines changed: 3 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.2.0
18+
version: 0.2.1
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ spec:
4848
max_parallel_workers_per_gather: "2"
4949
max_parallel_workers: "4"
5050

51+
{{ if (gt (.Values.instances | int) 1) }}
5152
# Synchronous replication for data durability
5253
synchronous:
5354
dataDurability: required
5455
method: any
5556
number: 1
57+
{{- end }}
5658

5759
storage:
5860
storageClass: {{ .Values.storageClass }}

0 commit comments

Comments
 (0)