File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,10 @@ create-management-cluster: $(KUSTOMIZE) $(ENVSUBST) $(KUBECTL) $(KIND) ## Create
368368 timeout --foreground 300 bash -c "until $(KUBECTL) get azureclusters -A; do sleep 3; done"
369369 timeout --foreground 300 bash -c "until $(KUBECTL) get kubeadmcontrolplanes -A; do sleep 3; done"
370370
371+ @if [ "$(MGMT_CLUSTER_TYPE)" != "aks" ]; then
372+ @echo 'Set kubectl context to the kind management cluster by running "$(KUBECTL) config set-context kind-$(KIND_CLUSTER_NAME)"'
373+ fi
374+
371375.PHONY : create-workload-cluster
372376create-workload-cluster : $(ENVSUBST ) $(KUBECTL ) # # Create a workload cluster.
373377 # Create workload Cluster.
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ test-e2e-skip-push: ## Run "docker-build" rule then run e2e tests.
3939.PHONY : test-e2e-skip-build-and-push
4040test-e2e-skip-build-and-push :
4141 $(eval ARCH := $(if $(filter aks,$(MGMT_CLUSTER_TYPE ) ) ,amd64,$(ARCH ) ) )
42- $(MAKE ) set-manifest-image MANIFEST_IMG=$(CONTROLLER_IMG ) -$(ARCH ) MANIFEST_TAG=$(TAG ) TARGET_RESOURCE=" ./config/capz/manager_image_patch.yaml" \
43- $(MAKE ) set-manifest-pull-policy TARGET_RESOURCE=" ./config/capz/manager_pull_policy.yaml" PULL_POLICY=IfNotPresent \
42+ $(MAKE ) set-manifest-image MANIFEST_IMG=$(CONTROLLER_IMG ) -$(ARCH ) MANIFEST_TAG=$(TAG ) TARGET_RESOURCE=" ./config/capz/manager_image_patch.yaml" ; \
43+ $(MAKE ) set-manifest-pull-policy TARGET_RESOURCE=" ./config/capz/manager_pull_policy.yaml" PULL_POLICY=IfNotPresent ; \
4444 MANAGER_IMAGE=$(CONTROLLER_IMG ) -$(ARCH ) :$(TAG ) \
4545 $(MAKE ) test-e2e-run
You can’t perform that action at this time.
0 commit comments