Skip to content

Commit

Permalink
install: start the install manifest from scratch
Browse files Browse the repository at this point in the history
Ensure we start from an empty file when generating the installation manifest.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
  • Loading branch information
maiqueb committed Jun 10, 2024
1 parent 68b4a6a commit e24caa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
.PHONY: build-installer
build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment.
mkdir -p dist
echo "---" >> dist/install.yaml # Add a document separator before appending
echo "---" > dist/install.yaml # Add a document separator before appending
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default >> dist/install.yaml

Expand Down
1 change: 0 additions & 1 deletion dist/install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

---
apiVersion: v1
kind: Namespace
Expand Down

0 comments on commit e24caa0

Please sign in to comment.