mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 19:02:52 +02:00
Add support for pg17 and remove pg12 (#2773)
* Add support for pg17 * use new gcov2lcov-action * Use ghcr spilo-17 * Update SPILO_CURRENT and SPILO_LAZY * Update e2e/run.sh --------- Co-authored-by: Polina Bungina <27892524+hughcapet@users.noreply.github.com>
This commit is contained in:
co-authored by
Polina Bungina
parent
34df486f00
commit
470a1eab89
@@ -10,7 +10,7 @@ metadata:
|
||||
# "delete-date": "2020-08-31" # can only be deleted on that day if "delete-date "key is configured
|
||||
# "delete-clustername": "acid-test-cluster" # can only be deleted when name matches if "delete-clustername" key is configured
|
||||
spec:
|
||||
dockerImage: ghcr.io/zalando/spilo-16:3.3-p1
|
||||
dockerImage: ghcr.io/zalando/spilo-17:4.0-p2
|
||||
teamId: "acid"
|
||||
numberOfInstances: 2
|
||||
users: # Application/Robot users
|
||||
@@ -48,7 +48,7 @@ spec:
|
||||
defaultRoles: true
|
||||
defaultUsers: false
|
||||
postgresql:
|
||||
version: "16"
|
||||
version: "17"
|
||||
parameters: # Expert section
|
||||
shared_buffers: "32MB"
|
||||
max_connections: "10"
|
||||
|
||||
@@ -34,7 +34,7 @@ data:
|
||||
default_memory_request: 100Mi
|
||||
# delete_annotation_date_key: delete-date
|
||||
# delete_annotation_name_key: delete-clustername
|
||||
docker_image: ghcr.io/zalando/spilo-16:3.3-p1
|
||||
docker_image: ghcr.io/zalando/spilo-17:4.0-p2
|
||||
# downscaler_annotations: "deployment-time,downscaler/*"
|
||||
enable_admin_role_for_users: "true"
|
||||
enable_crd_registration: "true"
|
||||
@@ -112,7 +112,7 @@ data:
|
||||
min_cpu_limit: 250m
|
||||
min_instances: "-1"
|
||||
min_memory_limit: 250Mi
|
||||
minimal_major_version: "12"
|
||||
minimal_major_version: "13"
|
||||
# node_readiness_label: "status:ready"
|
||||
# node_readiness_label_merge: "OR"
|
||||
oauth_token_secret_name: postgresql-operator
|
||||
@@ -162,7 +162,7 @@ data:
|
||||
spilo_privileged: "false"
|
||||
storage_resize_mode: "pvc"
|
||||
super_username: postgres
|
||||
target_major_version: "16"
|
||||
target_major_version: "17"
|
||||
team_admin_role: "admin"
|
||||
team_api_role_configuration: "log_statement:all"
|
||||
teams_api_url: http://fake-teams-api.default.svc.cluster.local
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ spec:
|
||||
preparedDatabases:
|
||||
bar: {}
|
||||
postgresql:
|
||||
version: "12"
|
||||
version: "13"
|
||||
@@ -17,4 +17,4 @@ spec:
|
||||
preparedDatabases:
|
||||
bar: {}
|
||||
postgresql:
|
||||
version: "16"
|
||||
version: "17"
|
||||
|
||||
@@ -66,7 +66,7 @@ spec:
|
||||
type: string
|
||||
docker_image:
|
||||
type: string
|
||||
default: "ghcr.io/zalando/spilo-16:3.3-p1"
|
||||
default: "ghcr.io/zalando/spilo-17:4.0-p2"
|
||||
enable_crd_registration:
|
||||
type: boolean
|
||||
default: true
|
||||
@@ -165,10 +165,10 @@ spec:
|
||||
type: string
|
||||
minimal_major_version:
|
||||
type: string
|
||||
default: "12"
|
||||
default: "13"
|
||||
target_major_version:
|
||||
type: string
|
||||
default: "16"
|
||||
default: "17"
|
||||
kubernetes:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: OperatorConfiguration
|
||||
metadata:
|
||||
name: postgresql-operator-default-configuration
|
||||
configuration:
|
||||
docker_image: ghcr.io/zalando/spilo-16:3.3-p1
|
||||
docker_image: ghcr.io/zalando/spilo-17:4.0-p2
|
||||
# enable_crd_registration: true
|
||||
# crd_categories:
|
||||
# - all
|
||||
@@ -39,8 +39,8 @@ configuration:
|
||||
major_version_upgrade_mode: "manual"
|
||||
# major_version_upgrade_team_allow_list:
|
||||
# - acid
|
||||
minimal_major_version: "12"
|
||||
target_major_version: "16"
|
||||
minimal_major_version: "13"
|
||||
target_major_version: "17"
|
||||
kubernetes:
|
||||
# additional_pod_capabilities:
|
||||
# - "SYS_NICE"
|
||||
|
||||
@@ -373,11 +373,11 @@ spec:
|
||||
version:
|
||||
type: string
|
||||
enum:
|
||||
- "12"
|
||||
- "13"
|
||||
- "14"
|
||||
- "15"
|
||||
- "16"
|
||||
- "17"
|
||||
parameters:
|
||||
type: object
|
||||
additionalProperties:
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
size: 1Gi
|
||||
numberOfInstances: 1
|
||||
postgresql:
|
||||
version: "16"
|
||||
version: "17"
|
||||
# Make this a standby cluster and provide either the s3 bucket path of source cluster or the remote primary host for continuous streaming.
|
||||
standby:
|
||||
# s3_wal_path: "s3://mybucket/spilo/acid-minimal-cluster/abcd1234-2a4b-4b2a-8c9c-c1234defg567/wal/14/"
|
||||
|
||||
Reference in New Issue
Block a user