Skip to content

Commit

Permalink
remove SingleSubnet check
Browse files Browse the repository at this point in the history
  • Loading branch information
tedteng committed Jun 8, 2022
1 parent 5297c61 commit 042d16b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/controller/bastion/actuator_reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ func (a *actuator) Reconcile(ctx context.Context, bastion *extensionsv1alpha1.Ba
return err
}

if infrastructureStatus.Networks.Layout != "SingleSubnet" {
return fmt.Errorf("unsupported network layout %s", infrastructureStatus.Networks.Layout)
}

if infrastructureStatus.Networks.VNet.Name == "" || len(infrastructureStatus.Networks.Subnets) == 0 {
return errors.New("virtual network name and subnet must be set")
}
Expand Down

0 comments on commit 042d16b

Please sign in to comment.