mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 07:52:30 +02:00
block automatic major version upgrade with annotation for single cluster
This commit is contained in:
@@ -158,6 +158,8 @@ spec:
|
||||
major_version_upgrade:
|
||||
type: object
|
||||
properties:
|
||||
ignore_auto_version_upgrade_key:
|
||||
type: string
|
||||
major_version_upgrade_mode:
|
||||
type: string
|
||||
default: "off"
|
||||
|
||||
@@ -82,6 +82,9 @@ configUsers:
|
||||
super_username: postgres
|
||||
|
||||
configMajorVersionUpgrade:
|
||||
# key name for annotation to ignore globally enabled major version upgrades
|
||||
# ignore_auto_version_upgrade_key: ""
|
||||
|
||||
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
||||
major_version_upgrade_mode: "off"
|
||||
# upgrades will only be carried out for clusters of listed teams when mode is "off"
|
||||
|
||||
Reference in New Issue
Block a user