Skip to content

Commit bb6092d

Browse files
committed
Update Operator and Postgres-Chart
1 parent 5fea56d commit bb6092d

6 files changed

Lines changed: 39 additions & 38 deletions

File tree

charts/postgres-cluster/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: postgres-cluster
33
description: Deploys a PostgreSQL cluster using the PostgreSQL operator
44

55
type: application
6-
version: 0.8.0
6+
version: 0.9.1
77

8-
appVersion: "0.8.0-1"
8+
appVersion: "0.9.1-1"
99

1010
maintainers:
1111
- name: CYBERTEC PostgreSQL International GmbH

charts/postgres-cluster/index.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.
-7.9 KB
Binary file not shown.

charts/postgres-cluster/values.yaml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# my-annotation: value
1313

1414
cluster:
15-
dockerImage: docker.io/cybertecpostgresql/cybertec-pg-container:postgres-18.0-1
15+
dockerImage: containers.cybertec.at/cybertec-pg-container/postgres:rocky9-18.1-1
1616
numberOfInstances: 2
1717

1818
postgresql:
19-
version: "17"
19+
version: "18"
2020
#parameters:
2121
# work_mem: "40MB"
2222

@@ -25,7 +25,7 @@ cluster:
2525
# value: custom
2626

2727
volume:
28-
size: 1Gi
28+
size: 5Gi
2929
#storageClass: my-storage
3030
#selector:
3131
# matchExpressions:
@@ -45,7 +45,7 @@ cluster:
4545

4646
resources:
4747
requests:
48-
cpu: 10m
48+
cpu: 100m
4949
memory: 100Mi
5050
limits:
5151
cpu: 500m
@@ -63,13 +63,19 @@ cluster:
6363
failsafe_mode: false
6464
initdb:
6565
encoding: "UTF8"
66-
locale: "C.UTF-8"
67-
data-checksums: "true"
66+
locale: "en_US.UTF-8"
67+
locale-provider: "icu"
68+
icu-locale: "en_US"
6869
pg_hba:
69-
- local all all trust
70-
- local replication standby trust
71-
- host replication standby all scram-sha-256
72-
- host all all all scram-sha-256
70+
- local all all trust
71+
- hostssl all +cpo_pam 127.0.0.1/32 pam
72+
- host all all 127.0.0.1/32 scram-sha-256
73+
- hostssl all +cpo_pam ::1/128 pam
74+
- host all all ::1/128 scram-sha-256
75+
- local replication cpo_replication trust
76+
- hostssl replication cpo_replication all scram-sha-256
77+
- hostnossl all all all reject
78+
- hostssl all all all scram-sha-256
7379
#slots:
7480
# permanent_physical_1:
7581
# type: physical
@@ -95,9 +101,13 @@ cluster:
95101
synchronous_node_count: 1
96102
maximum_lag_on_failover: 33554432
97103

104+
#monitor:
105+
# image: "containers.cybertec.at/cybertec-pg-container/exporter:rocky9-18.1-2"
106+
107+
98108
#backup:
99109
# pgbackrest:
100-
# image: "docker.io/cybertecpostgresql/cybertec-pg-container:pgbackrest-17.0-1"
110+
# image: "containers.cybertec.at/cybertec-pg-container/pgbackrest:rocky9-18.1-1"
101111
# configuration:
102112
# secret: "xyz"
103113
# protection:
@@ -123,7 +133,11 @@ cluster:
123133
# id: "unique restore identifier"
124134
# repo: repo1
125135
# options:
126-
# target-time: "2023-01-02 03:04:05+06"
136+
# target-time: "2026-01-02 03:04:05+01"
137+
138+
#tde: # Only usable if you have an active PGEE subscription and access to the PGEE images, which must be entered under cluster.dockerImage.
139+
# enable: true
140+
# keybits: 256
127141

128142
#users: # Application/Robot users
129143
# appadmin:
@@ -179,7 +193,7 @@ cluster:
179193
# cluster: name-of-cluster-to-clone
180194

181195
#connectionPooler:
182-
# dockerImage: docker.io/cybertecpostgresql/cybertec-pg-container:pgbouncer-1.23-2
196+
# dockerImage: containers-cybertec.at/cybertec-pg-container/pgbouncer:rocky9-1.25-1
183197
# numberOfInstances: 2
184198
# mode: transaction # session/transaction mode pooling
185199
# schema: "pooler"

charts/postgres-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: postgres-operator
3-
version: 0.8.0
4-
appVersion: 0.8.0
3+
version: 0.9.1
4+
appVersion: 0.9.0-1
55
home: https://github.com/cybertec-postgresql/cybertec-pg-operator
66
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
77
keywords:

charts/postgres-operator/crds/operatorconfigurations.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ kind: CustomResourceDefinition
33
metadata:
44
name: operatorconfigurations.cpo.opensource.cybertec.at
55
labels:
6-
app.kubernetes.io/name: postgres-operator
6+
app.kubernetes.io/name: cpo
7+
app.kubernetes.io/version: {{ .Chart.Version }}
78
spec:
9+
conversion:
10+
strategy: None
811
group: cpo.opensource.cybertec.at
912
names:
1013
kind: OperatorConfiguration
@@ -336,6 +339,9 @@ spec:
336339
spilo_allow_privilege_escalation:
337340
type: boolean
338341
default: true
342+
container_readonly_root_filesystem:
343+
type: boolean
344+
default: false
339345
spilo_runasuser:
340346
type: integer
341347
spilo_runasgroup:
@@ -653,7 +659,7 @@ spec:
653659
default: "pooler"
654660
connection_pooler_image:
655661
type: string
656-
default: "registry.opensource.zalan.do/acid/pgbouncer:master-27"
662+
default: "containers.cybertec.at/cybertec-pg-container/pgbouncer:rocky9-1.25-2"
657663
connection_pooler_max_db_connections:
658664
type: integer
659665
default: 60

0 commit comments

Comments
 (0)