Skip to content

Commit 37732f4

Browse files
committed
update for release
1 parent 395b659 commit 37732f4

14 files changed

+86
-50
lines changed

helm/install/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ description: Installer for PGO, the open source Postgres Operator from Crunchy D
44

55
type: application
66
# The version below should match the version on the PostgresCluster CRD
7-
version: 5.8.1
8-
appVersion: 5.8.1
7+
version: 5.8.2
8+
appVersion: 5.8.2

helm/install/crds/postgres-operator.crunchydata.com_crunchybridgeclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: crunchybridgeclusters.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:

helm/install/crds/postgres-operator.crunchydata.com_pgadmins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: pgadmins.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:

helm/install/crds/postgres-operator.crunchydata.com_pgupgrades.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: pgupgrades.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:

helm/install/crds/postgres-operator.crunchydata.com_postgresclusters.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: postgresclusters.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:
@@ -41,9 +41,19 @@ spec:
4141
description: PostgresClusterSpec defines the desired state of PostgresCluster
4242
properties:
4343
authentication:
44+
description: Authentication settings for the PostgreSQL server
4445
properties:
4546
rules:
46-
description: 'More info: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html'
47+
description: |-
48+
Postgres compares every new connection to these rules in the order they are
49+
defined. The first rule that matches determines if and how the connection
50+
must then authenticate. Connections that match no rules are disconnected.
51+
52+
When this is omitted or empty, Postgres accepts encrypted connections to any
53+
database from users that have a password. To refuse all network connections,
54+
set this to one rule that matches "host" connections to the "reject" method.
55+
56+
More info: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html
4757
items:
4858
properties:
4959
connection:
@@ -78,6 +88,7 @@ spec:
7888
description: |-
7989
The authentication method to use when a connection matches this rule.
8090
The special value "reject" refuses connections that match this rule.
91+
8192
More info: https://www.postgresql.org/docs/current/auth-methods.html
8293
maxLength: 20
8394
minLength: 1
@@ -92,6 +103,7 @@ spec:
92103
- type: integer
93104
- type: string
94105
x-kubernetes-int-or-string: true
106+
description: Additional settings for this rule or its authentication method.
95107
maxProperties: 20
96108
type: object
97109
x-kubernetes-map-type: atomic
@@ -108,9 +120,15 @@ spec:
108120
x-kubernetes-map-type: atomic
109121
x-kubernetes-validations:
110122
- message: '"hba" cannot be combined with other fields'
111-
rule: 'has(self.hba) ? !has(self.connection) && !has(self.databases) && !has(self.method) && !has(self.options) && !has(self.users) : true'
123+
rule: '[has(self.hba), has(self.connection) || has(self.databases) || has(self.method) || has(self.options) || has(self.users)].exists_one(b,b)'
112124
- message: '"connection" and "method" are required'
113-
rule: 'has(self.hba) ? true : has(self.connection) && has(self.method)'
125+
rule: has(self.hba) || (has(self.connection) && has(self.method))
126+
- message: the "ldap" method requires an "ldapbasedn", "ldapprefix", or "ldapsuffix" option
127+
rule: has(self.hba) || self.method != "ldap" || (has(self.options) && ["ldapbasedn","ldapprefix","ldapsuffix"].exists(k, k in self.options))
128+
- message: cannot use "ldapbasedn", "ldapbinddn", "ldapbindpasswd", "ldapsearchattribute", or "ldapsearchfilter" options with "ldapprefix" or "ldapsuffix" options
129+
rule: has(self.hba) || self.method != "ldap" || !has(self.options) || [["ldapprefix","ldapsuffix"], ["ldapbasedn","ldapbinddn","ldapbindpasswd","ldapsearchattribute","ldapsearchfilter"]].exists_one(a, a.exists(k, k in self.options))
130+
- message: the "radius" method requires "radiusservers" and "radiussecrets" options
131+
rule: has(self.hba) || self.method != "radius" || (has(self.options) && ["radiusservers","radiussecrets"].all(k, k in self.options))
114132
maxItems: 10
115133
type: array
116134
x-kubernetes-list-type: atomic
@@ -4211,6 +4229,7 @@ spec:
42114229
type: object
42124230
type: object
42134231
config:
4232+
description: General configuration of the PostgreSQL server
42144233
properties:
42154234
files:
42164235
description: Files to mount under "/etc/postgres".
@@ -6291,8 +6310,7 @@ spec:
62916310
- stanza
62926311
type: object
62936312
x-kubernetes-validations:
6294-
- fieldPath: .repo
6295-
message: Only S3, GCS or Azure repos can be used as a pgBackRest data source.
6313+
- message: Only S3, GCS or Azure repos can be used as a pgBackRest data source.
62966314
rule: '!has(self.repo.volume)'
62976315
postgresCluster:
62986316
description: |-

helm/install/templates/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ spec:
7171
{{- if .Values.affinity }}
7272
affinity:
7373
{{- toYaml .Values.affinity | nindent 8 }}
74-
{{- end }}
74+
{{- end }}

helm/install/values.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22
# controllerImages are used to run the operator's controllers.
33
# The cluster image defined below runs the PostgresCluster and PGUpgrade controllers.
44
controllerImages:
5-
cluster: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.1-0
5+
cluster: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.2-0
66

77
# relatedImages are used when an image is omitted from PostgresCluster, PGAdmin or PGUpgrade specs.
88
relatedImages:
99
postgres_17:
10-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.4-2516
10+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.5-2520
1111
postgres_17_gis_3.5:
12-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.4-3.5-2516
12+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.5-3.5-2520
1313
postgres_17_gis_3.4:
14-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.4-3.4-2516
14+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.5-3.4-2520
1515
postgres_16:
16-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.8-2516
16+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.9-2520
1717
postgres_16_gis_3.4:
18-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.8-3.4-2516
18+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.9-3.4-2520
1919
postgres_16_gis_3.3:
20-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.8-3.3-2516
20+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.9-3.3-2520
2121
pgbackrest:
22-
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.54.2-2516
22+
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.54.2-2520
2323
pgbouncer:
24-
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2516
24+
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2520
2525
pgexporter:
26-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2516
26+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2520
2727
pgupgrade:
28-
image: registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-17.4-2516
28+
image: registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-17.5-2520
2929
standalone_pgadmin:
30-
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.2-2516
30+
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.2-2520
3131
collector:
32-
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.1-0
32+
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.2-0
3333

3434
# singleNamespace controls where PGO watches for PostgresClusters. When false,
3535
# PGO watches for and responds to PostgresClusters in all namespaces. When true,
@@ -89,7 +89,7 @@ resources:
8989
# value: "true"
9090

9191
# tolerations allows you to define pod tolerations for the operator pods.
92-
tolerations: []
92+
# tolerations: []
9393

9494
# affinity allows you to define pod affinity and anti-affinity rules for the operator pods.
95-
affinity: {}
95+
# affinity: {}

kustomize/install/components/images-by-tag/kustomization.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@ kind: Component
22
images:
33
- name: image-pgadmin
44
newName: registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4
5-
newTag: ubi9-9.2-2516
5+
newTag: ubi9-9.2-2520
66
- name: image-pgbackrest
77
newName: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest
8-
newTag: ubi9-2.54.2-2516
8+
newTag: ubi9-2.54.2-2520
99
- name: image-pgbouncer
1010
newName: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer
11-
newTag: ubi9-1.24-2516
11+
newTag: ubi9-1.24-2520
1212
- name: image-postgres-exporter
1313
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter
14-
newTag: ubi9-0.17.1-2516
14+
newTag: ubi9-0.17.1-2520
1515
- name: image-postgres-operator-5.8
1616
newName: registry.developers.crunchydata.com/crunchydata/postgres-operator
17-
newTag: ubi9-5.8.1-0
17+
newTag: ubi9-5.8.2-0
1818
- name: image-crunchy-postgres-16
1919
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres
20-
newTag: ubi9-16.8-2516
20+
newTag: ubi9-16.9-2520
2121
- name: image-crunchy-postgres-17
2222
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres
23-
newTag: ubi9-17.4-2516
23+
newTag: ubi9-17.5-2520
2424
- name: image-crunchy-upgrade
2525
newName: registry.developers.crunchydata.com/crunchydata/crunchy-upgrade
26-
newTag: ubi9-17.4-2516
26+
newTag: ubi9-17.5-2520
2727
- name: image-crunchy-postgres-16-gis-3.3
2828
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis
29-
newTag: ubi9-16.8-3.3-2516
29+
newTag: ubi9-16.9-3.3-2520
3030
- name: image-crunchy-postgres-16-gis-3.4
3131
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis
32-
newTag: ubi9-16.8-3.4-2516
32+
newTag: ubi9-16.9-3.4-2520
3333
- name: image-crunchy-postgres-17-gis-3.4
3434
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis
35-
newTag: ubi9-17.4-3.4-2516
35+
newTag: ubi9-17.5-3.4-2520
3636
- name: image-crunchy-postgres-17-gis-3.5
3737
newName: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis
38-
newTag: ubi9-17.4-3.5-2516
38+
newTag: ubi9-17.5-3.5-2520

kustomize/install/crd/bases/postgres-operator.crunchydata.com_crunchybridgeclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: crunchybridgeclusters.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:

kustomize/install/crd/bases/postgres-operator.crunchydata.com_pgadmins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.17.2
66
name: pgadmins.postgres-operator.crunchydata.com
77
labels:
8-
app.kubernetes.io/version: 5.8.1
8+
app.kubernetes.io/version: 5.8.2
99
spec:
1010
group: postgres-operator.crunchydata.com
1111
names:

0 commit comments

Comments
 (0)