Skip to content

Commit 18ab3fb

Browse files
committed
Install all available CRDs
1 parent b2a1526 commit 18ab3fb

File tree

1 file changed

+4
-7
lines changed
  • pkg/quarkus/v1alpha/scaffolds/internal/templates

1 file changed

+4
-7
lines changed

pkg/quarkus/v1alpha/scaffolds/internal/templates/makefile.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ help: ## Display this help.
8585
8686
##@ Build
8787
88-
# run: ansible-operator ## Run against the configured Kubernetes cluster in ~/.kube/config
89-
# $(ANSIBLE_OPERATOR) run
90-
9188
docker-build: ## Build docker image with the manager.
9289
mvn package -Dquarkus.container-image.build=true -Dquarkus.container-image.image=${IMG}
9390
@@ -96,11 +93,11 @@ docker-push: ## Push docker image with the manager.
9693
9794
##@ Deployment
9895
99-
install: kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
100-
$(KUSTOMIZE) build config/crd | kubectl apply -f -
96+
install: ## Install CRDs into the K8s cluster specified in ~/.kube/config.
97+
@$(foreach file, $(wildcard target/kubernetes/*-v1.yml), kubectl apply -f $(file);)
10198
102-
uninstall: kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config.
103-
$(KUSTOMIZE) build config/crd | kubectl delete -f -
99+
uninstall: ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config.
100+
@$(foreach file, $(wildcard target/kubernetes/*-v1.yml), kubectl delete -f $(file);)
104101
105102
deploy: ## Deploy controller to the K8s cluster specified in ~/.kube/config.
106103
kubectl apply -f target/kubernetes/kubernetes.yml

0 commit comments

Comments
 (0)