Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
  • Loading branch information
mikkeloscar committed Oct 25, 2024
1 parent 0ffd9f4 commit ec49804
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provisioner/clusterpy.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ func (p *clusterpyProvisioner) provision(
azInfoWorkers = azInfoWorkers.RestrictAZs(strings.Split(azNames, ","))
}

// TODO legacy, remove once we switch to Values in all clusters
// optional config item to hard-code subnets. This is useful for
// migrating between subnets.
if _, ok := cluster.ConfigItems[subnetsConfigItemKey]; !ok {
cluster.ConfigItems[subnetsConfigItemKey] = azInfoWorkers.SubnetsByAZ()[subnetAllAZName]
}
Expand Down

0 comments on commit ec49804

Please sign in to comment.