diff --git a/Makefile b/Makefile index 96621a887..beb17a48c 100644 --- a/Makefile +++ b/Makefile @@ -371,7 +371,7 @@ deploy: kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/c $(SED) -i -r 's~ebpf-agent:.+~ebpf-agent:main~' ./config/manager/manager.yaml $(SED) -i -r 's~flowlogs-pipeline:.+~flowlogs-pipeline:main~' ./config/manager/manager.yaml $(SED) -i -r 's~console-plugin:.+~console-plugin:main~' ./config/manager/manager.yaml - $(KUSTOMIZE) build config/openshift | sed -r "s/openshift-netobserv-operator\.svc/${NAMESPACE}.svc/" | kubectl apply --server-side -f - + $(KUSTOMIZE) build config/openshift | sed -r "s/openshift-netobserv-operator\.svc/${NAMESPACE}.svc/" | kubectl apply --server-side --force-conflicts -f - undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. $(KUSTOMIZE) build config/openshift | kubectl --ignore-not-found=true delete -f - || true