diff --git a/api/v1beta1/azuremanagedcontrolplane_default.go b/api/v1beta1/azuremanagedcontrolplane_default.go index b882f23d1d7..40fab7b6d93 100644 --- a/api/v1beta1/azuremanagedcontrolplane_default.go +++ b/api/v1beta1/azuremanagedcontrolplane_default.go @@ -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) } } } diff --git a/controllers/helpers.go b/controllers/helpers.go index f7d1ce3c23f..971d426c952 100644 --- a/controllers/helpers.go +++ b/controllers/helpers.go @@ -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 diff --git a/templates/cluster-template-aks-clusterclass-cluster.yaml b/templates/cluster-template-aks-clusterclass-cluster.yaml deleted file mode 100644 index c78efb4b389..00000000000 --- a/templates/cluster-template-aks-clusterclass-cluster.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: cluster.x-k8s.io/v1beta1 -kind: Cluster -metadata: - name: ${CLUSTER_NAME} - namespace: default -spec: - clusterNetwork: - pods: - cidrBlocks: - - 192.168.0.0/16 - topology: - class: ${CLUSTER_CLASS_NAME} - version: ${KUBERNETES_VERSION} - workers: - machinePools: - - class: default-system - name: mp-0 - replicas: 1 - - class: default-worker - name: mp-1 - replicas: 1 diff --git a/templates/cluster-template-clusterclass-cluster.yaml b/templates/cluster-template-topology.yaml similarity index 100% rename from templates/cluster-template-clusterclass-cluster.yaml rename to templates/cluster-template-topology.yaml diff --git a/templates/flavors/clusterclass-cluster/cluster.yaml b/templates/flavors/topology/cluster.yaml similarity index 100% rename from templates/flavors/clusterclass-cluster/cluster.yaml rename to templates/flavors/topology/cluster.yaml diff --git a/templates/flavors/clusterclass-cluster/kustomization.yaml b/templates/flavors/topology/kustomization.yaml similarity index 100% rename from templates/flavors/clusterclass-cluster/kustomization.yaml rename to templates/flavors/topology/kustomization.yaml diff --git a/templates/test/ci/prow-topology/kustomization.yaml b/templates/test/ci/prow-topology/kustomization.yaml index c412c508d08..770b87e3c07 100644 --- a/templates/test/ci/prow-topology/kustomization.yaml +++ b/templates/test/ci/prow-topology/kustomization.yaml @@ -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: