k3s/test/images/porter/README.md

13 lines
680 B
Markdown
Raw Normal View History

2015-06-11 22:55:02 +00:00
This directory contains go source, Dockerfile and Makefile for making a test
container which serves requested data on ports specified in ENV variables.
2015-10-02 02:31:02 +00:00
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
2015-10-02 02:31:02 +00:00
To use a different cert/key, mount them into the pod and set the
2015-10-02 02:31:02 +00:00
CERT_FILE and KEY_FILE environment variables to the desired paths.
2015-06-11 22:55:02 +00:00
2015-08-14 05:43:57 +00:00
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/test/images/porter/README.md?pixel)]()