Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ spec:
fromPostgresVersion:
description: The major version of PostgreSQL before the upgrade.
maximum: 17
minimum: 10
minimum: 11
type: integer
image:
description: The image name to use for major PostgreSQL upgrades.
Expand Down Expand Up @@ -1083,7 +1083,7 @@ spec:
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 17
minimum: 10
minimum: 11
type: integer
tolerations:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11581,7 +11581,7 @@ spec:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 17
minimum: 10
minimum: 11
type: integer
proxy:
description: The specification of a proxy that connects to PostgreSQL.
Expand Down
18 changes: 0 additions & 18 deletions internal/patroni/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,24 +704,6 @@ func TestDynamicConfiguration(t *testing.T) {
},
},
},
{
name: "pg version 10",
cluster: &v1beta1.PostgresCluster{
Spec: v1beta1.PostgresClusterSpec{
PostgresVersion: 10,
},
},
expected: map[string]any{
"loop_wait": int32(10),
"ttl": int32(30),
"postgresql": map[string]any{
"parameters": map[string]any{},
"pg_hba": []string{},
"use_pg_rewind": false,
"use_slots": false,
},
},
},
{
name: "tde enabled",
cluster: &v1beta1.PostgresCluster{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type PGUpgradeSpec struct {

// The major version of PostgreSQL before the upgrade.
// +kubebuilder:validation:Required
// +kubebuilder:validation:Minimum=10
// +kubebuilder:validation:Minimum=11
// +kubebuilder:validation:Maximum=17
FromPostgresVersion int `json:"fromPostgresVersion"`

Expand All @@ -59,7 +59,7 @@ type PGUpgradeSpec struct {

// The major version of PostgreSQL to be upgraded to.
// +kubebuilder:validation:Required
// +kubebuilder:validation:Minimum=10
// +kubebuilder:validation:Minimum=11
// +kubebuilder:validation:Maximum=17
ToPostgresVersion int `json:"toPostgresVersion"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ type PostgresClusterSpec struct {

// The major version of PostgreSQL installed in the PostgreSQL image
// +kubebuilder:validation:Required
// +kubebuilder:validation:Minimum=10
// +kubebuilder:validation:Minimum=11
// +kubebuilder:validation:Maximum=17
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
PostgresVersion int `json:"postgresVersion"`
Expand Down

This file was deleted.

10 changes: 0 additions & 10 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/01-assert.yaml

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/10-assert.yaml

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/11-assert.yaml

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/12-assert.yaml

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/13-assert.yaml

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/14-assert.yaml

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/15-assert.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions testing/kuttl/e2e-other/major-upgrade-missing-image/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
name: empty-image-upgrade
spec:
# postgres version that is no longer available
fromPostgresVersion: 10
fromPostgresVersion: 11
toPostgresVersion: ${KUTTL_PG_UPGRADE_TO_VERSION}
postgresClusterName: major-upgrade-empty-image
Loading
Loading