Skip to content

Commit

Permalink
feat: Delete legacy manifests generation approach
Browse files Browse the repository at this point in the history
Co-Authored-By: Sebastián Vargas <[email protected]>
  • Loading branch information
achetronic and sebastocorp committed Jun 11, 2024
1 parent 365120d commit d02087a
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 602 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,9 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
- $(CONTAINER_TOOL) buildx rm project-v3-builder
rm Dockerfile.cross

.PHONY: kustomization-build
kustomization-build: manifests kustomize kubectl-slice ## Generate the manifests to package them later in the way you want.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
rm -rf deploy/*
mkdir -p deploy
$(KUSTOMIZE) build config/default > deploy/manifests.yaml
$(KUBECTL_SLICE) --input-file=deploy/manifests.yaml --output-dir=deploy --template="{{.kind|lower}}/{{.metadata.name|dottodash}}.yaml"
@rm deploy/manifests.yaml || true
cd deploy && $(KUSTOMIZE) create --autodetect --recursive

.PHONY: bundle-build
bundle-build: manifests kustomize ## Generate the manifests bundle to package them later in the way you want.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
rm -rf deploy/*
mkdir -p deploy
$(KUSTOMIZE) build config/default > deploy/bundle.yaml

Expand Down
47 changes: 0 additions & 47 deletions deploy/clusterrole/reforma-manager-role.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions deploy/clusterrole/reforma-metrics-reader.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions deploy/clusterrole/reforma-proxy-role.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions deploy/clusterrolebinding/reforma-manager-rolebinding.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions deploy/clusterrolebinding/reforma-proxy-rolebinding.yaml

This file was deleted.

Loading

0 comments on commit d02087a

Please sign in to comment.