Fix teamId field.
This commit is contained in:
parent
cc4d5c1c77
commit
8705ab49f9
|
|
@ -46,7 +46,7 @@ func (c *Cluster) GetDesiredMajorVersion() string {
|
|||
|
||||
func isTeamWhitelisted(c *Cluster) bool {
|
||||
whitelistedTeams := c.OpConfig.MajorVersionUpgradeTeamWhitelist
|
||||
owningTeam := c.Spec.teamID
|
||||
owningTeam := c.Spec.TeamID
|
||||
|
||||
if len(whitelistedTeams) == 0 {
|
||||
return false
|
||||
|
|
@ -64,8 +64,7 @@ func isTeamWhitelisted(c *Cluster) bool {
|
|||
Execute upgrade when mode is set to manual or full or when the owning team is whitelisted for upgrade.
|
||||
|
||||
Manual upgrade means, it us triggered by the user via manifest version change
|
||||
Full upgrade means, operator also determins 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.
|
||||
*/
|
||||
func (c *Cluster) majorVersionUpgrade() error {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue