diff --git a/Makefile b/Makefile index 45c02a62f..db4d67cbc 100644 --- a/Makefile +++ b/Makefile @@ -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)/