Skip to content

Commit

Permalink
Fixes argoproj-labs#1564 using make bundle on MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: appiepollo14 <[email protected]>
  • Loading branch information
appiepollo14 committed Oct 14, 2024
1 parent 3334487 commit 9f158b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ bundle: operator-sdk manifests kustomize ## Generate bundle manifests and metada
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
$(OPERATOR_SDK) bundle validate ./bundle
sed -i 's/control-plane: argocd-operator/control-plane: controller-manager/g' bundle/manifests/argocd-operator-webhook-service_v1_service.yaml bundle/manifests/argocd-operator-controller-manager-metrics-service_v1_service.yaml bundle/manifests/argocd-operator.clusterserviceversion.yaml
sed -i '' 's/control-plane: argocd-operator/control-plane: controller-manager/g' \
bundle/manifests/argocd-operator-webhook-service_v1_service.yaml \
bundle/manifests/argocd-operator-controller-manager-metrics-service_v1_service.yaml \
bundle/manifests/argocd-operator.clusterserviceversion.yaml
rm -fr deploy/olm-catalog/argocd-operator/$(VERSION)
mkdir -p deploy/olm-catalog/argocd-operator/$(VERSION)
cp -r bundle/manifests/* deploy/olm-catalog/argocd-operator/$(VERSION)/
Expand Down

0 comments on commit 9f158b7

Please sign in to comment.