Skip to content

Commit

Permalink
Fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka committed Apr 16, 2024
1 parent b24679f commit 2ccd83d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ endif
##@ Deployment

.PHONY: install
install: manifests kustomize ## Install CRDs into the cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/crd | $(CLUSTER_CLIENT) apply -f -
install: uninstall manifests kustomize ## Install CRDs into the cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/crd | $(CLUSTER_CLIENT) create -f -

.PHONY: uninstall
uninstall: manifests kustomize ## Uninstall CRDs from the cluster specified in ~/.kube/config.
Expand All @@ -474,8 +474,8 @@ print_deploy_config: predeploy ## Print deployment configurations for the contro
$(KUSTOMIZE) build $(KUSTOMIZE_DIR)

.PHONY: deploy
deploy: check_cert_manager manifests kustomize predeploy ## Deploy controller in the configured cluster in ~/.kube/config
$(KUSTOMIZE) build $(KUSTOMIZE_DIR) | $(CLUSTER_CLIENT) apply -f -
deploy: check_cert_manager manifests kustomize predeploy undeploy ## Deploy controller in the configured cluster in ~/.kube/config
$(KUSTOMIZE) build $(KUSTOMIZE_DIR) | $(CLUSTER_CLIENT) create -f -
ifeq ($(DISABLE_SERVICE_TLS), true)
@echo "Disabling TLS for in-cluster communication between Services"
@$(CLUSTER_CLIENT) -n $(DEPLOY_NAMESPACE) set env deployment/cryostat-operator-controller-manager DISABLE_SERVICE_TLS=true
Expand Down

0 comments on commit 2ccd83d

Please sign in to comment.