File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ E2E_REGISTRY_NAMESPACE := operator-controller-e2e
125
125
126
126
export REG_PKG_NAME := registry-operator
127
127
export REGISTRY_ROOT := $(E2E_REGISTRY_NAME ) .$(E2E_REGISTRY_NAMESPACE ) .svc:5000
128
- export CATALOG_IMG := $(REGISTRY_ROOT ) /test-catalog:e2e
128
+ export CATALOG_IMG := $(REGISTRY_ROOT ) /e2e/ test-catalog:e2e
129
129
.PHONY : test-ext-dev-e2e
130
130
test-ext-dev-e2e : $(OPERATOR_SDK ) $(KUSTOMIZE ) $(KIND ) # HELP Run extension create, upgrade and delete tests.
131
131
test/extension-developer-e2e/setup.sh $(OPERATOR_SDK ) $(CONTAINER_RUNTIME ) $(KUSTOMIZE ) $(KIND ) $(KIND_CLUSTER_NAME ) $(E2E_REGISTRY_NAMESPACE )
@@ -181,7 +181,7 @@ kind-redeploy: generate docker-build kind-load kind-deploy #EXHELP Redeploy newl
181
181
.PHONY : kind-cluster
182
182
kind-cluster : $(KIND ) # EXHELP Standup a kind cluster.
183
183
-$(KIND ) delete cluster --name $(KIND_CLUSTER_NAME )
184
- $(KIND ) create cluster --name $(KIND_CLUSTER_NAME ) --image $(KIND_CLUSTER_IMAGE )
184
+ $(KIND ) create cluster --name $(KIND_CLUSTER_NAME ) --image $(KIND_CLUSTER_IMAGE ) --config ./kind-config.yaml
185
185
$(KIND ) export kubeconfig --name $(KIND_CLUSTER_NAME )
186
186
187
187
.PHONY : kind-clean
Original file line number Diff line number Diff line change
1
+ apiVersion : kind.x-k8s.io/v1alpha4
2
+ kind : Cluster
3
+ nodes :
4
+ - role : control-plane
5
+ extraPortMappings :
6
+ # e2e image registry service's NodePort
7
+ - containerPort : 30000
8
+ hostPort : 30000
9
+ listenAddress : " 127.0.0.1"
10
+ protocol : tcp
Original file line number Diff line number Diff line change 90
90
selector:
91
91
app: registry
92
92
ports:
93
- - port: 5000
93
+ - name: http
94
+ port: 5000
94
95
targetPort: 5000
96
+ nodePort: 30000
97
+ type: NodePort
95
98
EOF
96
99
97
100
kubectl wait --for=condition=Available -n " ${namespace} " " deploy/${name} " --timeout=60s
You can’t perform that action at this time.
0 commit comments