Go to file
2024-01-07 21:03:28 +01:00
.github/workflows Initial commit 2024-01-07 21:03:28 +01:00
tf Initial commit 2024-01-07 21:03:28 +01:00
deploy Initial commit 2024-01-07 21:03:28 +01:00
README.md Initial commit 2024-01-07 21:03:28 +01:00
run.sh Initial commit 2024-01-07 21:03:28 +01:00
setup-cluster Initial commit 2024-01-07 21:03:28 +01:00

Challenge

Clone repository

$ git clone https://git.e2m.io/mue/obch
$ cd obch

Setup minikube and flux

Optionally remove remnants of previous minikube clusters

$ minikube delete --all

# The above was not sufficient to setup a new cluster
# See also: https://github.com/kubernetes/minikube/issues/17683
# Additionally deleting the local minikube config folder helped:
$ rm -rf ~/.minikube

Setup cluster and deploy app

run sh sources 'setup-cluster' and 'deploy'

$ ./run.sh

Setup cluster

$ ./setup-cluster

Deploy Service

$ ./deploy

TODOs / Notes

Define strategy for version updates
Use SOPS for secret management
Terraform has minikube and flux providers

Resources

Flux bootstrap for Gitea
Flux github action
Terraform Flux Provider
Mozilla SOPS
bitnami PostgreSQL HA Helm