$ VERSION=<tag> DOCKER_REGISTRY=<registry> make docker-push
- Update
deploy/deploy.yaml
with the pushed image name.
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 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