Simple auth server to authenticate user and create a cookie for further authentications:
- /login: Returns login.html
- /register: POST request to register user (no html form provided)
# go 1.18+
go run main.go
docker build -t go-auth-server -f build\Dockerfile .
docker run --rm -p 5000:5000 go-auth-server
- Create a development cluster inside Docker Desktop
kind create cluster --name auth-server-cluster
- Apply deployment configuration file
kubectl apply -f build\deployment.yaml