Browse Source

fix: use server-side apply for CRD installation in Makefile (#5103)

Signed-off-by: Alexander Chernov <alexander@chernov.it>
Alexander Chernov 8 months ago
parent
commit
2bdee9240d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -162,7 +162,7 @@ manifests: helm.generate ## Generate manifests from helm chart
 	helm template external-secrets $(HELM_DIR) -f deploy/manifests/helm-values.yaml > $(OUTPUT_DIR)/deploy/manifests/external-secrets.yaml
 
 crds.install: generate ## Install CRDs into a cluster. This is for convenience
-	kubectl apply -f $(BUNDLE_DIR)
+	kubectl apply -f $(BUNDLE_DIR) --server-side
 
 crds.uninstall: ## Uninstall CRDs from a cluster. This is for convenience
 	kubectl delete -f $(BUNDLE_DIR)