Skip to content

Commit 9346013

Browse files
committed
Update PostgresCluster and PGUpgrade CRDs
1 parent 12a8721 commit 9346013

4 files changed

+190
-48
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ spec:
857857
type: object
858858
fromPostgresVersion:
859859
description: The major version of PostgreSQL before the upgrade.
860-
maximum: 14
860+
maximum: 15
861861
minimum: 10
862862
type: integer
863863
image:
@@ -880,13 +880,12 @@ spec:
880880
let you locate the referenced object inside the same namespace.
881881
properties:
882882
name:
883-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
884-
TODO: Add other useful fields. apiVersion, kind, uid?'
883+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
885884
type: string
886885
type: object
887886
type: array
888887
metadata:
889-
description: Metadata contains metadata for PGUpgrade
888+
description: Metadata contains metadata for PostgresCluster resources
890889
properties:
891890
annotations:
892891
additionalProperties:
@@ -938,7 +937,7 @@ spec:
938937
type: string
939938
toPostgresVersion:
940939
description: The major version of PostgreSQL to be upgraded to.
941-
maximum: 14
940+
maximum: 15
942941
minimum: 10
943942
type: integer
944943
tolerations:

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

Lines changed: 91 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,6 +1325,12 @@ spec:
13251325
type: string
13261326
type: object
13271327
type: array
1328+
ttlSecondsAfterFinished:
1329+
description: 'Limit the lifetime of a Job that has finished.
1330+
More info: https://kubernetes.io/docs/concepts/workloads/controllers/job'
1331+
format: int32
1332+
minimum: 60
1333+
type: integer
13281334
type: object
13291335
manual:
13301336
description: Defines details for manual pgBackRest backup
@@ -8193,8 +8199,11 @@ spec:
81938199
- port
81948200
type: object
81958201
tcpSocket:
8196-
description: TCPSocket specifies an action involving
8197-
a TCP port. TCP hooks not yet supported
8202+
description: Deprecated. TCPSocket is NOT supported
8203+
as a LifecycleHandler and kept for the backward
8204+
compatibility. There are no validation of this
8205+
field and lifecycle hooks will fail in runtime
8206+
when tcp handler is specified.
81988207
properties:
81998208
host:
82008209
description: 'Optional: Host name to connect
@@ -8293,8 +8302,11 @@ spec:
82938302
- port
82948303
type: object
82958304
tcpSocket:
8296-
description: TCPSocket specifies an action involving
8297-
a TCP port. TCP hooks not yet supported
8305+
description: Deprecated. TCPSocket is NOT supported
8306+
as a LifecycleHandler and kept for the backward
8307+
compatibility. There are no validation of this
8308+
field and lifecycle hooks will fail in runtime
8309+
when tcp handler is specified.
82988310
properties:
82998311
host:
83008312
description: 'Optional: Host name to connect
@@ -8427,7 +8439,7 @@ spec:
84278439
type: integer
84288440
tcpSocket:
84298441
description: TCPSocket specifies an action involving
8430-
a TCP port. TCP hooks not yet supported
8442+
a TCP port.
84318443
properties:
84328444
host:
84338445
description: 'Optional: Host name to connect to,
@@ -8637,7 +8649,7 @@ spec:
86378649
type: integer
86388650
tcpSocket:
86398651
description: TCPSocket specifies an action involving
8640-
a TCP port. TCP hooks not yet supported
8652+
a TCP port.
86418653
properties:
86428654
host:
86438655
description: 'Optional: Host name to connect to,
@@ -9008,7 +9020,7 @@ spec:
90089020
type: integer
90099021
tcpSocket:
90109022
description: TCPSocket specifies an action involving
9011-
a TCP port. TCP hooks not yet supported
9023+
a TCP port.
90129024
properties:
90139025
host:
90149026
description: 'Optional: Host name to connect to,
@@ -9839,10 +9851,10 @@ spec:
98399851
configuration:
98409852
description: 'Projected volumes containing custom PostgreSQL
98419853
Exporter configuration. Currently supports the customization
9842-
of PostgreSQL Exporter queries. If a "queries.yaml"
9843-
file is detected in any volume projected using this
9844-
field, it will be loaded using the "extend.query-path"
9845-
flag: https://github.com/prometheus-community/postgres_exporter#flags
9854+
of PostgreSQL Exporter queries. If a "queries.yml" file
9855+
is detected in any volume projected using this field,
9856+
it will be loaded using the "extend.query-path" flag:
9857+
https://github.com/prometheus-community/postgres_exporter#flags
98469858
Changing the values of field causes PostgreSQL and the
98479859
exporter to restart.'
98489860
items:
@@ -10085,6 +10097,60 @@ spec:
1008510097
type: object
1008610098
type: object
1008710099
type: array
10100+
customTLSSecret:
10101+
description: Projected secret containing custom TLS certificates
10102+
to encrypt output from the exporter web server
10103+
properties:
10104+
items:
10105+
description: items if unspecified, each key-value
10106+
pair in the Data field of the referenced Secret
10107+
will be projected into the volume as a file whose
10108+
name is the key and content is the value. If specified,
10109+
the listed keys will be projected into the specified
10110+
paths, and unlisted keys will not be present. If
10111+
a key is specified which is not present in the Secret,
10112+
the volume setup will error unless it is marked
10113+
optional. Paths must be relative and may not contain
10114+
the '..' path or start with '..'.
10115+
items:
10116+
description: Maps a string key to a path within
10117+
a volume.
10118+
properties:
10119+
key:
10120+
description: key is the key to project.
10121+
type: string
10122+
mode:
10123+
description: 'mode is Optional: mode bits used
10124+
to set permissions on this file. Must be an
10125+
octal value between 0000 and 0777 or a decimal
10126+
value between 0 and 511. YAML accepts both
10127+
octal and decimal values, JSON requires decimal
10128+
values for mode bits. If not specified, the
10129+
volume defaultMode will be used. This might
10130+
be in conflict with other options that affect
10131+
the file mode, like fsGroup, and the result
10132+
can be other mode bits set.'
10133+
format: int32
10134+
type: integer
10135+
path:
10136+
description: path is the relative path of the
10137+
file to map the key to. May not be an absolute
10138+
path. May not contain the path element '..'.
10139+
May not start with the string '..'.
10140+
type: string
10141+
required:
10142+
- key
10143+
- path
10144+
type: object
10145+
type: array
10146+
name:
10147+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
10148+
type: string
10149+
optional:
10150+
description: optional field specify whether the Secret
10151+
or its key must be defined
10152+
type: boolean
10153+
type: object
1008810154
image:
1008910155
description: The image name to use for crunchy-postgres-exporter
1009010156
containers. The image may also be set using the RELATED_IMAGE_PGEXPORTER
@@ -10207,7 +10273,7 @@ spec:
1020710273
postgresVersion:
1020810274
description: The major version of PostgreSQL installed in the PostgreSQL
1020910275
image
10210-
maximum: 14
10276+
maximum: 15
1021110277
minimum: 10
1021210278
type: integer
1021310279
proxy:
@@ -11670,8 +11736,11 @@ spec:
1167011736
- port
1167111737
type: object
1167211738
tcpSocket:
11673-
description: TCPSocket specifies an action involving
11674-
a TCP port. TCP hooks not yet supported
11739+
description: Deprecated. TCPSocket is NOT supported
11740+
as a LifecycleHandler and kept for the backward
11741+
compatibility. There are no validation of
11742+
this field and lifecycle hooks will fail in
11743+
runtime when tcp handler is specified.
1167511744
properties:
1167611745
host:
1167711746
description: 'Optional: Host name to connect
@@ -11771,8 +11840,11 @@ spec:
1177111840
- port
1177211841
type: object
1177311842
tcpSocket:
11774-
description: TCPSocket specifies an action involving
11775-
a TCP port. TCP hooks not yet supported
11843+
description: Deprecated. TCPSocket is NOT supported
11844+
as a LifecycleHandler and kept for the backward
11845+
compatibility. There are no validation of
11846+
this field and lifecycle hooks will fail in
11847+
runtime when tcp handler is specified.
1177611848
properties:
1177711849
host:
1177811850
description: 'Optional: Host name to connect
@@ -11906,7 +11978,7 @@ spec:
1190611978
type: integer
1190711979
tcpSocket:
1190811980
description: TCPSocket specifies an action involving
11909-
a TCP port. TCP hooks not yet supported
11981+
a TCP port.
1191011982
properties:
1191111983
host:
1191211984
description: 'Optional: Host name to connect
@@ -12118,7 +12190,7 @@ spec:
1211812190
type: integer
1211912191
tcpSocket:
1212012192
description: TCPSocket specifies an action involving
12121-
a TCP port. TCP hooks not yet supported
12193+
a TCP port.
1212212194
properties:
1212312195
host:
1212412196
description: 'Optional: Host name to connect
@@ -12496,7 +12568,7 @@ spec:
1249612568
type: integer
1249712569
tcpSocket:
1249812570
description: TCPSocket specifies an action involving
12499-
a TCP port. TCP hooks not yet supported
12571+
a TCP port.
1250012572
properties:
1250112573
host:
1250212574
description: 'Optional: Host name to connect

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ spec:
857857
type: object
858858
fromPostgresVersion:
859859
description: The major version of PostgreSQL before the upgrade.
860-
maximum: 14
860+
maximum: 15
861861
minimum: 10
862862
type: integer
863863
image:
@@ -880,13 +880,12 @@ spec:
880880
let you locate the referenced object inside the same namespace.
881881
properties:
882882
name:
883-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
884-
TODO: Add other useful fields. apiVersion, kind, uid?'
883+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
885884
type: string
886885
type: object
887886
type: array
888887
metadata:
889-
description: Metadata contains metadata for PGUpgrade
888+
description: Metadata contains metadata for PostgresCluster resources
890889
properties:
891890
annotations:
892891
additionalProperties:
@@ -938,7 +937,7 @@ spec:
938937
type: string
939938
toPostgresVersion:
940939
description: The major version of PostgreSQL to be upgraded to.
941-
maximum: 14
940+
maximum: 15
942941
minimum: 10
943942
type: integer
944943
tolerations:

0 commit comments

Comments
 (0)