Skip to content

Commit 853a4ba

Browse files
authored
Merge pull request #41 from small-hack/versions
allign version number inputs with upstream
2 parents 012a647 + e2951ca commit 853a4ba

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

charts/cloudnative-pg-cluster/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: cnpg-cluster
33
description: Create postgres tenant clusters managed by the CNPG Operator
44
type: application
5-
version: 0.7.0
5+
version: 0.8.0
66

77
maintainers:
88
- name: "cloudymax"

charts/cloudnative-pg-cluster/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cnpg-cluster
22

3-
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
Create postgres tenant clusters managed by the CNPG Operator
66

@@ -15,7 +15,7 @@ Create postgres tenant clusters managed by the CNPG Operator
1515

1616
| Key | Type | Default | Description |
1717
|-----|------|---------|-------------|
18-
| annotations | object | `{"cnpg.io/skipEmptyWalArchiveCheck":"enabled"}` | Cluster annotations |
18+
| annotations."cnpg.io/skipEmptyWalArchiveCheck" | string | `"enabled"` | |
1919
| backup | object | `{}` | if we should backup up this cluster, please see values.yaml for example |
2020
| bootstrap | object | `{}` | boostrap method. see: https://cloudnative-pg.io/documentation/1.23/bootstrap/ |
2121
| certificates.client.clientCASecret | string | `""` | name of existing Kubernetes Secret for the postgresql client Certificate Authority cert, ignored if certificates.generate is true |
@@ -32,7 +32,6 @@ Create postgres tenant clusters managed by the CNPG Operator
3232
| externalClusters | list | `[]` | |
3333
| imageCatalog.create | bool | `true` | Whether to provision an image catalog. If imageCatalog.images is empty this option will be ignored. |
3434
| imageCatalog.images | list | `[]` | List of images to be provisioned in an image catalog. |
35-
| imageName | string | `"ghcr.io/cloudnative-pg/postgresql:17.0"` | image to use for all tenant pods |
3635
| instances | int | `3` | number of postgres replicas minimum 1 required |
3736
| managed | object | `{"roles":[]}` | See https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-RoleConfiguration for explanation of all options |
3837
| monitoring.enablePodMonitor | bool | `false` | enable monitoring via Prometheus |
@@ -48,6 +47,7 @@ Create postgres tenant clusters managed by the CNPG Operator
4847
| superuserSecret | string | `""` | name of existing secret to use as superuser redentials will be randomly generated if not specified. |
4948
| testApp.enabled | bool | `false` | |
5049
| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `postgis` * `timescaledb` |
50+
| version.postgresql | int | `17` | version of postgres to run in all tenant pods |
5151

5252
----------------------------------------------
5353
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

charts/cloudnative-pg-cluster/templates/cnpg_cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
postgresUID: {{ include "cluster.postgresUID" . }}
1919
postgresGID: {{ include "cluster.postgresGID" . }}
2020
instances: {{ .Values.instances }}
21-
imageName: {{ .Values.imageName }}
21+
imageName: "ghcr.io/cloudnative-pg/postgresql:{{ .Values.version.postgresql }}"
2222
enableSuperuserAccess: {{ .Values.enableSuperuserAccess }}
2323
superuserSecret: {{ .Values.superuserSecret }}
2424
primaryUpdateStrategy: {{ .Values.primaryUpdateStrategy }}

charts/cloudnative-pg-cluster/values.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: "cnpg"
22

3-
# -- Cluster annotations
3+
version:
4+
# -- version of postgres to run in all tenant pods
5+
postgresql: 17
6+
7+
# -- Cluster annotations
48
annotations:
59
cnpg.io/skipEmptyWalArchiveCheck: enabled
610

711
# -- number of postgres replicas
812
# minimum 1 required
913
instances: 3
1014

11-
# -- image to use for all tenant pods
12-
imageName: ghcr.io/cloudnative-pg/postgresql:17.0
13-
1415
# -- CNPG disables the postgres superuser by default
1516
# must be explicitly enabled
1617
enableSuperuserAccess: false

0 commit comments

Comments
 (0)