mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 12:59:54 +02:00
Major version upgrade config (#1386)
* reflect new major version upgrade options everywhere * emit events during major version upgrade
This commit is contained in:
@@ -81,6 +81,7 @@ data:
|
||||
# min_instances: "-1"
|
||||
# min_cpu_limit: 250m
|
||||
# min_memory_limit: 250Mi
|
||||
# minimal_major_version: "9.5"
|
||||
# node_readiness_label: ""
|
||||
# oauth_token_secret_name: postgresql-operator
|
||||
# pam_configuration: |
|
||||
@@ -119,6 +120,7 @@ data:
|
||||
spilo_privileged: "false"
|
||||
storage_resize_mode: "pvc"
|
||||
super_username: postgres
|
||||
# target_major_version: "13"
|
||||
# team_admin_role: "admin"
|
||||
# team_api_role_configuration: "log_statement:all"
|
||||
# teams_api_url: http://fake-teams-api.default.svc.cluster.local
|
||||
|
||||
@@ -123,6 +123,18 @@ spec:
|
||||
super_username:
|
||||
type: string
|
||||
default: postgres
|
||||
major_version_upgrade:
|
||||
type: object
|
||||
properties:
|
||||
major_version_upgrade_mode:
|
||||
type: string
|
||||
default: "off"
|
||||
minimal_major_version:
|
||||
type: string
|
||||
default: "9.5"
|
||||
target_major_version:
|
||||
type: string
|
||||
default: "13"
|
||||
kubernetes:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
@@ -26,6 +26,10 @@ configuration:
|
||||
users:
|
||||
replication_username: standby
|
||||
super_username: postgres
|
||||
major_version_upgrade:
|
||||
major_version_upgrade_mode: "off"
|
||||
minimal_major_version: "9.5"
|
||||
target_major_version: "13"
|
||||
kubernetes:
|
||||
# additional_pod_capabilities:
|
||||
# - "SYS_NICE"
|
||||
|
||||
Reference in New Issue
Block a user