FrimIdan / go-https-demo-app

Go HTTPs Demo Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build & Push Docker

$ VERSION=<tag> DOCKER_REGISTRY=<registry> make docker-push
  • Update deploy/deploy.yaml with the pushed image name.

Deploy

Generate certificates

First generate a self-signed rsa key and certificate that the server can use for TLS.

$ make keys KEY=/tmp/ca.key CERT=/tmp/ca.crt

Create a https server & client application running in a kubernetes cluster

Create a TLS secret.

$ kubectl create secret tls https-test-certs --key /tmp/ca.key --cert /tmp/ca.crt

Deploy client & server.

$ kubectl apply -f deploy/deploy.yaml

About

Go HTTPs Demo Application


Languages

Language:Go 80.2%Language:Makefile 13.0%Language:Dockerfile 3.7%Language:Shell 3.1%