mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 15:46:24 +02:00
use correct comments
This commit is contained in:
@@ -64,7 +64,7 @@ configUsers:
|
|||||||
configMajorVersionUpgrade:
|
configMajorVersionUpgrade:
|
||||||
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
||||||
major_version_upgrade_mode: "off"
|
major_version_upgrade_mode: "off"
|
||||||
# upgrades will only be carried out for clusters of listed teams
|
# upgrades will only be carried out for clusters of listed teams when mode is "off"
|
||||||
# major_version_upgrade_team_allow_list:
|
# major_version_upgrade_team_allow_list:
|
||||||
# - acid
|
# - acid
|
||||||
|
|
||||||
|
|||||||
@@ -185,8 +185,8 @@ CRD-configuration, they are grouped under the `major_version_upgrade` key.
|
|||||||
trigger a rolling update of the pods. The default is `"off"`.
|
trigger a rolling update of the pods. The default is `"off"`.
|
||||||
|
|
||||||
* **major_version_upgrade_team_allow_list**
|
* **major_version_upgrade_team_allow_list**
|
||||||
Upgrades will only be carried out for clusters of listed teams. The default
|
Upgrades will only be carried out for clusters of listed teams when mode is
|
||||||
is empty which means a team filter is not applied.
|
set to "off". The default is empty.
|
||||||
|
|
||||||
* **minimal_major_version**
|
* **minimal_major_version**
|
||||||
The minimal Postgres major version that will not automatically be upgraded
|
The minimal Postgres major version that will not automatically be upgraded
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ func (c *Cluster) isUpgradeAllowedForTeam(owningTeam string) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Execute upgrade when mode is set to manual or full or when the owning team is allowed for upgrade.
|
Execute upgrade when mode is set to manual or full or when the owning team is allowed for upgrade (and mode is "off").
|
||||||
|
|
||||||
Manual upgrade means, it is triggered by the user via manifest version change
|
Manual upgrade means, it is triggered by the user via manifest version change
|
||||||
Full upgrade means, operator also determines the minimal version used accross all clusters and upgrades violators.
|
Full upgrade means, operator also determines the minimal version used accross all clusters and upgrades violators.
|
||||||
|
|||||||
Reference in New Issue
Block a user