Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
willie-yao committed Oct 18, 2023
1 parent 005247a commit 3b11a46
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion api/v1beta1/azuremanagedcontrolplane_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func (m *AzureManagedControlPlane) setDefaultResourceGroupName() {
if m.Spec.ResourceGroupName == "" {
if clusterName, ok := m.Labels[clusterv1.ClusterNameLabel]; ok {
m.Spec.ResourceGroupName = clusterName
fmt.Printf("WILLIE ResourceGroupName is empty, defaulting to %s\n", m.Spec.ResourceGroupName)
}
}
}
Expand Down
1 change: 0 additions & 1 deletion controllers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,6 @@ func MachinePoolToAzureManagedControlPlaneMapFunc(ctx context.Context, c client.

gk := gvk.GroupKind()
ref := cluster.Spec.ControlPlaneRef
fmt.Printf("WILLIE cluster spec: %v", cluster.Spec)
if ref == nil || ref.Name == "" {
log.Error(err, "control plane ref is nil or empty")
return nil
Expand Down
21 changes: 0 additions & 21 deletions templates/cluster-template-aks-clusterclass-cluster.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion templates/test/ci/prow-topology/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default
resources:
- ../../../flavors/clusterclass-cluster/cluster.yaml
- ../../../flavors/topology/cluster.yaml
- cni-resource-set.yaml
- ../../../addons/windows/csi-proxy/csi-proxy-resource-set.yaml
patchesStrategicMerge:
Expand Down

0 comments on commit 3b11a46

Please sign in to comment.