File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,15 @@ test: manifests generate generate-mocks fmt vet ## Run tests.
57
57
58
58
KUBECTL =$(ENVTEST_ASSETS_DIR ) /bin/kubectl
59
59
TEST_CONFIG =$(shell pwd) /testconfig
60
+ E2E_CLUSTER =aws-cloudmap-mcs-e2e
60
61
e2e-test : manifests kustomize kubetest2 fmt vet
61
- $(KUBETEST2-KIND ) --cluster-name aws-cloudmap-mcs-e2e --up
62
+ $(KUBETEST2-KIND ) --cluster-name $( E2E_CLUSTER ) --up
62
63
$(KUSTOMIZE ) build config/crd | $(KUBECTL ) apply -f -
63
64
$(KUBECTL ) create namespace aws-cloudmap-mcs-e2e
64
65
$(KUBECTL ) apply -f $(TEST_CONFIG ) /e2e-deployment.yaml
65
66
$(KUBECTL ) apply -f $(TEST_CONFIG ) /e2e-service-one.yaml
66
67
$(KUBECTL ) apply -f $(TEST_CONFIG ) /e2e-export.yaml
67
- $(KUBETEST2-KIND ) --cluster-name aws-cloudmap-mcs-e2e --down
68
+ $(KUBETEST2-KIND ) --cluster-name $( E2E_CLUSTER ) --down
68
69
69
70
# #@ Build
70
71
Original file line number Diff line number Diff line change 1
1
# e2e-export.yaml
2
2
3
3
kind : ServiceExport
4
- apiVersion : multicluster.k8s.aws /v1alpha1
4
+ apiVersion : multicluster.x- k8s.io /v1alpha1
5
5
metadata :
6
6
namespace : aws-cloudmap-mcs-e2e
7
7
name : e2e-service-one
You can’t perform that action at this time.
0 commit comments