Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit be28882

Browse files
feat: Delete legacy manifests generation approach
Co-Authored-By: Sebastián Vargas <sebastian.varbel@gmail.com>
1 parent c4cd947 commit be28882

15 files changed

+8
-618
lines changed

Makefile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,9 @@ docker-buildx: test ## Build and push docker image for the manager for cross-pla
9696
- docker buildx rm project-v3-builder
9797
rm Dockerfile.cross
9898

99-
.PHONY: kustomization-build
100-
kustomization-build: manifests kustomize kubectl-slice bundle-build ## Generate the manifests to package them later in the way you want.
101-
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
102-
rm -rf deploy/*
103-
mkdir -p deploy
104-
$(KUSTOMIZE) build config/default > deploy/manifests.yaml
105-
$(KUBECTL_SLICE) --input-file=deploy/manifests.yaml --output-dir=deploy --template="{{.kind|lower}}/{{.metadata.name|dottodash}}.yaml"
106-
@rm deploy/manifests.yaml || true
107-
cd deploy && $(KUSTOMIZE) create --autodetect --recursive
108-
10999
.PHONY: bundle-build
110100
bundle-build: manifests kustomize ## Generate the manifests bundle to package them later in the way you want.
111101
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
112-
rm -rf deploy/*
113102
mkdir -p deploy
114103
$(KUSTOMIZE) build config/default > deploy/bundle.yaml
115104

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ some condition, it's able to restart or delete a Kubernetes workload
1919

2020
----
2121

22-
> Hello there! a little advise: we crafted this wonderful project at [DocPlanner Tech](https://www.docplanner.tech/)
23-
> so you will see some references to the company across the repo. We moved it to ProsimCorp to assure the continuity
24-
> of the project, so we are in the process of moving everything. Expect some CRDs' headers change a bit because of that
22+
> **ATTENTION:** From v1.1.0+ bundled Kubernetes deployment manifests are built and uploaded to the releases.
23+
> We do this to keep them atomic between versions. Due to this, `deploy` directory will be removed from repository.
24+
> Please, read [related section](#deployment)
25+
26+
> Hello there! a little advise: we crafted this wonderful project at [DocPlanner Tech](https://www.docplanner.tech/).
27+
> We moved it to ProsimCorp to assure the continuity of the project. Are you willing to contribute?
2528
2629
## Description
2730
This project was motivated by a failure. Most famous PHP/Python libraries can establish connection with AMQP servers
@@ -509,6 +512,8 @@ resources:
509512

510513
> Notice you can change `v1.1.0` to match some specific release, for example: `v1.x.x`
511514

515+
> 🧚🏼 **Hey, listen! If you prefer to deploy using Helm, go to the [Helm registry](https://github.com/prosimcorp/helm-charts)**
516+
512517
#### Hard way
513518

514519
This way is for passionate learners, but not recommended in production (too manual intervention 🛠️).

deploy/clusterrole/rabbit-stalker-manager-role.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

deploy/clusterrole/rabbit-stalker-metrics-reader.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

deploy/clusterrole/rabbit-stalker-proxy-role.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

deploy/clusterrolebinding/rabbit-stalker-manager-rolebinding.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

deploy/clusterrolebinding/rabbit-stalker-proxy-rolebinding.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)