k3s/test/images/porter
Jeff Grafton df4e205460 Update gcr.io/google_containers/porter image to 4524579c0e 2017-04-19 11:50:41 -07:00
..
.gitignore
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
Dockerfile Remove all MAINTAINER statements in the codebase as they aren't very useful and now deprecated 2016-12-17 20:34:10 +02:00
Makefile Always --pull in docker build to ensure recent base images 2017-01-10 16:21:05 -08:00
README.md Update dummy certificate used in porter image 2017-04-18 14:42:06 -07:00
localhost.crt Update dummy certificate used in porter image 2017-04-18 14:42:06 -07:00
localhost.key Update dummy certificate used in porter image 2017-04-18 14:42:06 -07:00
pod.json Update gcr.io/google_containers/porter image to 4524579c0e 2017-04-19 11:50:41 -07:00
porter.go

README.md

This directory contains go source, Dockerfile and Makefile for making a test container which serves requested data on ports specified in ENV variables.

The included localhost.crt is a PEM-encoded TLS cert with SAN IPs "127.0.0.1" and "[::1]", expiring in January 2084, generated from src/crypto/tls: go run generate_cert.go --rsa-bits 2048 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h

To use a different cert/key, mount them into the pod and set the CERT_FILE and KEY_FILE environment variables to the desired paths.

Analytics