Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ PROFILES := $(shell find config/manifests -mindepth 1 -maxdepth 1 -type d -exec
# to use other config - add a directory with config,
# use it as following commands: 'PROFILE=<dir-name> make test|integration-test|run|deploy|deployment-manifest'
PROFILE ?= rhdh
OLM_VERSION ?= auto

# Enable operator dynamic plugins processing (default: true)
OPERATOR_DP_PROCESSING ?= true
Expand Down Expand Up @@ -424,15 +425,15 @@ undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.
.PHONY: plugin-infra
plugin-infra:
@if [ -f "config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh" ]; then \
config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh; \
config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh --olm-version $(OLM_VERSION); \
else \
echo "File config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh does not exist."; \
fi

.PHONY: plugin-infra-undeploy
plugin-infra-undeploy:
@if [ -f "config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh" ]; then \
config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh delete; \
config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh delete --olm-version $(OLM_VERSION); \
else \
echo "File config/profile/$(PROFILE)/plugin-infra/plugin-infra.sh does not exist."; \
fi
Expand Down
Loading
Loading