Skip to content

Commit

Permalink
Merge pull request #4930 from giantswarm/pr-subnet-id
Browse files Browse the repository at this point in the history
🐛 Add ID to secondary subnets
  • Loading branch information
k8s-ci-robot committed May 22, 2024
2 parents 39345f3 + 959218e commit 2f716db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cloud/services/network/subnets.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (s *Service) reconcileSubnets() error {

for i, sub := range subnetCIDRs {
secondarySub := infrav1.SubnetSpec{
ID: fmt.Sprintf("%s-subnet-%s-%s", s.scope.Name(), infrav1.SecondarySubnetTagValue, zones[i]),
CidrBlock: sub.String(),
AvailabilityZone: zones[i],
IsPublic: false,
Expand Down

0 comments on commit 2f716db

Please sign in to comment.