Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 6bdf859

Browse files
authored
Merge pull request #957 from avalluri/operator-bundles
operator: fixes to bundle generation
2 parents 97543ca + af77480 commit 6bdf859

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operator/operator.make

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ operator-generate-bundle: _work/bin/operator-sdk-$(OPERATOR_SDK_VERSION) _work/k
7272
--kustomize-dir=$(MANIFESTS_DIR) --output-dir=$(BUNDLE_DIR)
7373
$(PATCH_VERSIONS) $(BUNDLE_DIR)/manifests/pmem-csi-operator.clusterserviceversion.yaml
7474
ifdef REPLACES
75-
@$(PATCH_REPLACES) $(OPERATOR_OUTPUT_DIR)/pmem-csi-operator.clusterserviceversion.yaml
75+
@$(PATCH_REPLACES) $(BUNDLE_DIR)/manifests/pmem-csi-operator.clusterserviceversion.yaml
7676
endif
7777
$(PATCH_DATE) $(BUNDLE_DIR)/manifests/pmem-csi-operator.clusterserviceversion.yaml
7878
@sed -i -e "s;$(BUNDLE_DIR)/;;g" -e "/scorecard/d" bundle.Dockerfile
79+
@sed -i -e "/scorecard/d" $(BUNDLE_DIR)/metadata/annotations.yaml
7980
@mv bundle.Dockerfile $(BUNDLE_DIR)
8081
@make operator-validate-bundle
8182

0 commit comments

Comments
 (0)