mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Makefile: fix bundle to be able to be built more than once
This commit is contained in:
parent
f17f473f5e
commit
c556a74260
1
Makefile
1
Makefile
@ -116,6 +116,7 @@ build: $(cmds)
|
||||
|
||||
.PHONY: bundle
|
||||
bundle:
|
||||
rm -rf $(BUNDLE_DIR)
|
||||
mkdir -p $(BUNDLE_DIR)
|
||||
$(OPERATOR_SDK) generate kustomize manifests -q --input-dir $(OLM_MANIFESTS) --output-dir $(OLM_MANIFESTS) --apis-dir pkg/apis
|
||||
$(KUSTOMIZE) build $(OLM_MANIFESTS) | sed "s|intel-deviceplugin-operator:devel|intel-deviceplugin-operator:$(OPERATOR_VERSION)|" | $(OPERATOR_SDK) generate bundle -q --overwrite --kustomize-dir $(OLM_MANIFESTS) --version $(OPERATOR_VERSION) $(BUNDLE_METADATA_OPTS) --output-dir .
|
||||
|
Loading…
Reference in New Issue
Block a user