Skip to content

Commit

Permalink
Update multi az example
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido van der Hart committed Nov 20, 2023
1 parent bbe8b54 commit f029fe4
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 705 deletions.
1 change: 0 additions & 1 deletion controllers/osccluster_natservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ func reconcileNatService(ctx context.Context, clusterScope *scope.ClusterScope,
clusterScope.V(4).Info("Create the desired natService", "natServiceName", natServiceName)
networkSpec := clusterScope.GetNetwork()
clusterName := networkSpec.ClusterName + "-" + clusterScope.GetUID()
clusterScope.V(2).Info("Create the desired natService", "natServiceName", natServiceName)
natService, err := natServiceSvc.CreateNatService(publicIpId, subnetId, natServiceName, clusterName)
if err != nil {
return reconcile.Result{}, fmt.Errorf("%w Can not create natService for Osccluster %s/%s", err, clusterScope.GetNamespace(), clusterScope.GetName())
Expand Down
Loading

0 comments on commit f029fe4

Please sign in to comment.