This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 52b46ce4b0931ea7ecc6d19c922db8e68ee7e8f6
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Fri Aug 19 16:28:51 2022 +0200

    fix(install): Use SSA to apply CRDs
---
 install/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/Makefile b/install/Makefile
index 1680f9d90..e0c497908 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -194,7 +194,7 @@ endif
 ifeq ($(DRY_RUN), false)
        @$(KUSTOMIZE) build $(KOPTIONS) $@ | \
                sed 's/$(PLACEHOLDER)/$(NAMESPACE)/' | \
-               kubectl apply -f -
+               kubectl apply --server-side -f -
 else
        @$(KUSTOMIZE) build $(KOPTIONS) $@ | \
                sed 's/$(PLACEHOLDER)/$(NAMESPACE)/'
@@ -236,7 +236,7 @@ endif
 ifeq ($(DRY_RUN), false)
        @$(KUSTOMIZE) build $(KOPTIONS) $@ | \
                sed 's/$(PLACEHOLDER)/$(NAMESPACE)/' | \
-               kubectl apply -f -
+               kubectl apply --server-side -f -
 else
        @$(KUSTOMIZE) build $(KOPTIONS) $@ | \
                sed 's/$(PLACEHOLDER)/$(NAMESPACE)/'

Reply via email to