Skip to content

Commit 675f5aa

Browse files
authored
Merge branch 'main' into GITHUB-ISSUE-925-pod-exec-fails-intermittently
2 parents 1a1e6ff + b3d6398 commit 675f5aa

File tree

82 files changed

+1146
-333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1146
-333
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
* @hors @egegunes @inelpandzic @pooknull
2-
/e2e-tests/ @tplavcic @nmarukovich @ptankov @jvpasinatto @eleo007
3-
Jenkinsfile @tplavcic @nmarukovich @ptankov @jvpasinatto @eleo007
1+
* @hors @egegunes @pooknull @nmarukovich @gkech
2+
/e2e-tests/ @ptankov @jvpasinatto @eleo007
3+
Jenkinsfile @ptankov @jvpasinatto @eleo007

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Introduction
1313

14-
[Percona Operator for PostgreSQL](https://docs.percona.com/percona-operator-for-postgresql/2.0/index.html) automates and simplifies deploying and managing open source PostgreSQL clusters on Kubernetes. It is based on [Postgres Operator](https://crunchydata.github.io/postgres-operator/latest/) developed by Crunchy Data.
14+
[Percona Operator for PostgreSQL](https://docs.percona.com/percona-operator-for-postgresql/2.0/index.html) automates and simplifies deploying and managing open source PostgreSQL clusters on Kubernetes. It is based on [Postgres Operator](https://github.com/CrunchyData/postgres-operator) developed by Crunchy Data.
1515

1616
Whether you need to get a simple PostgreSQL cluster up and running, need to deploy a high availability, fault tolerant cluster in production, or are running your own database-as-a-service, the Operator provides the essential features you need to keep your clusters healthy:
1717

build/crd/crunchy/generated/postgres-operator.crunchydata.com_pgupgrades.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: pgupgrades.postgres-operator.crunchydata.com
88
spec:
99
group: postgres-operator.crunchydata.com
@@ -964,7 +964,7 @@ spec:
964964
fromPostgresVersion:
965965
description: The major version of PostgreSQL before the upgrade.
966966
maximum: 17
967-
minimum: 10
967+
minimum: 12
968968
type: integer
969969
image:
970970
description: The image name to use for major PostgreSQL upgrades.
@@ -2513,7 +2513,7 @@ spec:
25132513
toPostgresVersion:
25142514
description: The major version of PostgreSQL to be upgraded to.
25152515
maximum: 17
2516-
minimum: 10
2516+
minimum: 13
25172517
type: integer
25182518
tolerations:
25192519
description: |-

build/crd/crunchy/generated/postgres-operator.crunchydata.com_postgresclusters.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: postgresclusters.postgres-operator.crunchydata.com
88
spec:
99
group: postgres-operator.crunchydata.com
@@ -1331,6 +1331,9 @@ spec:
13311331
x-kubernetes-list-type: atomic
13321332
type: object
13331333
type: object
1334+
backoffLimit:
1335+
format: int32
1336+
type: integer
13341337
priorityClassName:
13351338
description: |-
13361339
Priority class name for the pgBackRest backup Job pods.
@@ -1398,6 +1401,13 @@ spec:
13981401
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
13991402
type: object
14001403
type: object
1404+
restartPolicy:
1405+
description: |-
1406+
RestartPolicy describes how the container should be restarted.
1407+
Only one of the following restart policies may be specified.
1408+
If none of the following policies is specified, the default one
1409+
is RestartPolicyAlways.
1410+
type: string
14011411
securityContext:
14021412
description: SecurityContext defines the security settings
14031413
for PGBackRest pod.
@@ -8352,6 +8362,8 @@ spec:
83528362
type: boolean
83538363
pgStatStatements:
83548364
type: boolean
8365+
pgvector:
8366+
type: boolean
83558367
type: object
83568368
image:
83578369
description: |-
@@ -14096,7 +14108,7 @@ spec:
1409614108
description: The major version of PostgreSQL installed in the PostgreSQL
1409714109
image
1409814110
maximum: 17
14099-
minimum: 10
14111+
minimum: 12
1410014112
type: integer
1410114113
proxy:
1410214114
description: The specification of a proxy that connects to PostgreSQL.

build/crd/percona/generated/pgv2.percona.com_perconapgbackups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: perconapgbackups.pgv2.percona.com
88
spec:
99
group: pgv2.percona.com

build/crd/percona/generated/pgv2.percona.com_perconapgclusters.yaml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: perconapgclusters.pgv2.percona.com
88
spec:
99
group: pgv2.percona.com
@@ -1487,6 +1487,9 @@ spec:
14871487
x-kubernetes-list-type: atomic
14881488
type: object
14891489
type: object
1490+
backoffLimit:
1491+
format: int32
1492+
type: integer
14901493
priorityClassName:
14911494
description: |-
14921495
Priority class name for the pgBackRest backup Job pods.
@@ -1554,6 +1557,13 @@ spec:
15541557
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
15551558
type: object
15561559
type: object
1560+
restartPolicy:
1561+
description: |-
1562+
RestartPolicy describes how the container should be restarted.
1563+
Only one of the following restart policies may be specified.
1564+
If none of the following policies is specified, the default one
1565+
is RestartPolicyAlways.
1566+
type: string
15571567
securityContext:
15581568
description: SecurityContext defines the security settings
15591569
for PGBackRest pod.
@@ -8064,6 +8074,8 @@ spec:
80648074
type: boolean
80658075
pg_stat_monitor:
80668076
type: boolean
8077+
pgvector:
8078+
type: boolean
80678079
type: object
80688080
custom:
80698081
items:
@@ -8159,8 +8171,6 @@ spec:
81598171
- azure
81608172
type: string
81618173
type: object
8162-
required:
8163-
- image
81648174
type: object
81658175
image:
81668176
description: The image name to use for PostgreSQL containers.
@@ -13714,7 +13724,7 @@ spec:
1371413724
postgresVersion:
1371513725
description: The major version of PostgreSQL installed in the PostgreSQL
1371613726
image
13717-
maximum: 16
13727+
maximum: 17
1371813728
minimum: 12
1371913729
type: integer
1372013730
proxy:
@@ -17499,6 +17509,12 @@ spec:
1749917509
properties:
1750017510
host:
1750117511
type: string
17512+
installedCustomExtensions:
17513+
items:
17514+
type: string
17515+
type: array
17516+
patroniVersion:
17517+
type: string
1750217518
pgbouncer:
1750317519
properties:
1750417520
ready:
@@ -17536,17 +17552,11 @@ spec:
1753617552
size:
1753717553
format: int32
1753817554
type: integer
17539-
required:
17540-
- instances
17541-
- ready
17542-
- size
17555+
version:
17556+
type: integer
1754317557
type: object
1754417558
state:
1754517559
type: string
17546-
required:
17547-
- pgbouncer
17548-
- postgres
17549-
- state
1755017560
type: object
1755117561
required:
1755217562
- metadata

build/crd/percona/generated/pgv2.percona.com_perconapgrestores.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: perconapgrestores.pgv2.percona.com
88
spec:
99
group: pgv2.percona.com

build/crd/percona/generated/pgv2.percona.com_perconapgupgrades.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: perconapgupgrades.pgv2.percona.com
88
spec:
99
group: pgv2.percona.com
@@ -2515,7 +2515,7 @@ spec:
25152515
type: string
25162516
toPostgresVersion:
25172517
description: The major version of PostgreSQL to be upgraded to.
2518-
maximum: 16
2518+
maximum: 17
25192519
minimum: 13
25202520
type: integer
25212521
tolerations:

build/postgres-operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG GO_LDFLAGS
1111
ARG GOOS=linux
1212
ARG TARGETARCH
1313
ARG OPERATOR_CGO_ENABLED=1
14-
ARG EXTENSION_INSTALLER_CGO_ENABLED=0
14+
ARG EXTENSION_INSTALLER_CGO_ENABLED=1
1515
ARG TARGETPLATFORM
1616
ARG BUILDPLATFORM
1717

cmd/postgres-operator/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"sigs.k8s.io/controller-runtime/pkg/log/zap"
2727
"sigs.k8s.io/controller-runtime/pkg/manager"
2828

29-
//"github.com/percona/percona-postgresql-operator/internal/controller/pgupgrade"
3029
"github.com/percona/percona-postgresql-operator/internal/controller/pgupgrade"
3130
"github.com/percona/percona-postgresql-operator/internal/controller/postgrescluster"
3231
"github.com/percona/percona-postgresql-operator/internal/controller/runtime"

0 commit comments

Comments
 (0)