Skip to content

Commit 1887bd6

Browse files
committed
Remove install and uninstall targets
Signed-off-by: Todd Short <[email protected]>
1 parent a685f71 commit 1887bd6

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ jobs:
2121
- name: Run basic unit tests
2222
run: |
2323
make kind-cluster
24-
make install
25-
kubectl get crds operators.operators.operatorframework.io
26-
make uninstall
27-
! kubectl get crds operators.operators.operatorframework.io
2824
make deploy
25+
kubectl get crds operators.operators.operatorframework.io
2926
kubectl get ns operator-controller-system
3027
make undeploy
3128
! kubectl get ns operator-controller-system
29+
! kubectl get crds operators.operators.operatorframework.io

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,6 @@ ifndef ignore-not-found
162162
ignore-not-found = false
163163
endif
164164

165-
.PHONY: install
166-
install: manifests kustomize ### Install CRDs into the K8s cluster specified in ~/.kube/config.
167-
$(KUSTOMIZE) build config/crd | kubectl apply -f -
168-
169-
.PHONY: uninstall
170-
uninstall: manifests kustomize ### Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
171-
$(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
172-
173165
.PHONY: deploy
174166
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
175167
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}

0 commit comments

Comments
 (0)