From c14a75b6b5a7a094a4e22234ccab1e7521d00445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Mon, 8 Jan 2024 17:34:23 +0100 Subject: [PATCH] Update README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index bd8f3c8..d16d658 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Challenge +The infrastructure is set up with minikube and fluxcd. +The bitnami PostgreSQL HA chart is used for a highly available PostgreSQL +database backend. +The app consists of two parts: an import job for PostgreSQL +and the HA API deployment with the /success endpoint and a ReplicaSet of 2. + +- Database: PostgresqlHA +- Import: gtfso-import +- API: gtfso-vbb + ## Clone repository ``` $ git clone https://git.e2m.io/mue/obch @@ -32,8 +42,14 @@ $ ./setup-cluster ``` $ ./deploy ``` +### Stop cluster +``` +$ minikube stop +``` ## TODOs / Notes +Make gtfso a native Prometheus exporter +Vulnerability Scanning Define strategy for version updates Use SOPS for secret management Terraform has minikube and flux providers @@ -41,6 +57,7 @@ Terraform has minikube and flux providers ## Resources [Flux bootstrap for Gitea](https://fluxcd.io/flux/installation/bootstrap/gitea/) [Flux github action](https://fluxcd.io/flux/flux-gh-action/) +[Flux Monitoring](https://github.com/fluxcd/flux2-monitoring-example) [Terraform Flux Provider](https://github.com/fluxcd/terraform-provider-flux) [Mozilla SOPS](https://fluxcd.io/flux/guides/mozilla-sops/) [bitnami PostgreSQL HA Helm](https://bitnami.com/stack/postgresql-ha/helm)