@@ -106,21 +106,21 @@ helm-docs: docker
106
106
helm-lint : docker
107
107
@docker run -v " $( SRC_ROOT) :/workdir" --entrypoint /bin/sh quay.io/helmpack/chart-testing:v3.3.1 -c " cd /workdir; ct lint --config .github/configs/ct.yaml --lint-conf .github/configs/lintconf.yaml --all --debug"
108
108
109
- helm-test : helm-controller-version kind ct ko-build-all helm-create helm-install helm-destroy
109
+ helm-test : helm-controller-version ct ko-build-all helm-create helm-install helm-destroy
110
110
111
111
helm-install :
112
112
@kubectl apply --server-side=true -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.2/cert-manager.yaml
113
113
@make install-capsule
114
114
@kubectl apply --server-side=true -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.58.0/bundle.yaml
115
115
@$(CT ) install --config $(SRC_ROOT ) /.github/configs/ct.yaml --namespace=capsule-system --all --debug
116
116
117
- helm-create :
118
- @kind create cluster --wait=60s --name capsule-charts
119
- @kind load docker-image --name capsule-charts $(CAPSULE_PROXY_IMG ) :$(VERSION )
117
+ helm-create : kind
118
+ @$( KIND ) create cluster --wait=60s --name capsule-charts
119
+ @$( KIND ) load docker-image --name capsule-charts $(CAPSULE_PROXY_IMG ) :$(VERSION )
120
120
@kubectl create ns capsule-system
121
121
122
- helm-destroy :
123
- @kind delete cluster --name capsule-charts
122
+ helm-destroy : kind
123
+ @$( KIND ) delete cluster --name capsule-charts
124
124
125
125
# ###################
126
126
# -- Testing
@@ -138,9 +138,9 @@ e2e-exec: ginkgo
138
138
$(GINKGO ) -v -tags e2e ./e2e
139
139
140
140
.PHONY : e2e-build
141
- e2e-build :
141
+ e2e-build : kind
142
142
@echo " Building kubernetes env using Kind $$ {KIND_K8S_VERSION:-v1.27.0}..."
143
- @kind create cluster --name capsule --image kindest/node:$$ {KIND_K8S_VERSION:-v1.27.0} --config ./e2e/kind.yaml --wait=120s \
143
+ @$( KIND ) create cluster --name capsule --image kindest/node:$$ {KIND_K8S_VERSION:-v1.27.0} --config ./e2e/kind.yaml --wait=120s \
144
144
&& kubectl taint nodes capsule-worker2 key1=value1:NoSchedule
145
145
@helm repo add bitnami https://charts.bitnami.com/bitnami
146
146
@helm repo update
@@ -153,13 +153,13 @@ e2e-build:
153
153
e2e-install : install-capsule install-capsule-proxy rbac-fix
154
154
155
155
.PHONY : e2e-load-image
156
- e2e-load-image : ko-build-all
156
+ e2e-load-image : kind ko-build-all
157
157
@echo " Loading Docker image..."
158
- @kind load docker-image --name capsule $(CAPSULE_PROXY_IMG ) :$(VERSION )
158
+ @$( KIND ) load docker-image --name capsule $(CAPSULE_PROXY_IMG ) :$(VERSION )
159
159
160
160
.PHONY : e2e-destroy
161
- e2e-destroy :
162
- kind delete cluster --name capsule
161
+ e2e-destroy : kind
162
+ $( KIND ) delete cluster --name capsule
163
163
164
164
install-capsule :
165
165
@echo " Installing capsule..."
0 commit comments