Skip to content

Commit

Permalink
Use kubernetes.io/role/node
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 11a2828 commit 0ffd9f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provisioner/clusterpy.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
defaultNamespace = "default"
tagNameKubernetesClusterPrefix = "kubernetes.io/cluster/"
subnetELBRoleTagName = "kubernetes.io/role/elb"
subnetWorkerRoleTagName = "kubernetes.io/role/worker"
subnetNodeRoleTagName = "kubernetes.io/role/node"
resourceLifecycleShared = "shared"
resourceLifecycleOwned = "owned"
mainStackTagKey = "cluster-lifecycle-controller.zalando.org/main-stack"
Expand Down Expand Up @@ -221,7 +221,7 @@ func (p *clusterpyProvisioner) provision(

// find the best subnet for each AZ
azInfoLBs := selectSubnetIDs(subnets, subnetELBRoleTagName)
azInfoWorkers := selectSubnetIDs(subnets, subnetWorkerRoleTagName)
azInfoWorkers := selectSubnetIDs(subnets, subnetNodeRoleTagName)

// if availability zones are defined, filter the subnet list
if azNames, ok := cluster.ConfigItems[availabilityZonesConfigItemKey]; ok {
Expand Down

0 comments on commit 0ffd9f4

Please sign in to comment.