k3s/test/images/porter
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
..
.gitignore move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Dockerfile Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Makefile Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
README.md Add https to porter test image 2015-10-01 22:55:58 -04:00
localhost.crt Add https to porter test image 2015-10-01 22:55:58 -04:00
localhost.key Add https to porter test image 2015-10-01 22:55:58 -04:00
pod.json Allow specifying scheme when proxying 2015-10-12 11:16:53 -04:00
porter.go Add https to porter test image 2015-10-01 22:55:58 -04:00

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 at the last second of 2049 (the end of ASN.1 time), generated from src/crypto/tls: go run generate_cert.go --rsa-bits 512 --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