ceph-csi/vendor/k8s.io/kubernetes/test/images/porter
Serguei Bezverkhi 7b24313bd6 vendor files
2018-01-10 13:42:26 -05:00
..
.gitignore vendor files 2018-01-10 13:42:26 -05:00
BUILD vendor files 2018-01-10 13:42:26 -05:00
Dockerfile vendor files 2018-01-10 13:42:26 -05:00
localhost.crt vendor files 2018-01-10 13:42:26 -05:00
localhost.key vendor files 2018-01-10 13:42:26 -05:00
Makefile vendor files 2018-01-10 13:42:26 -05:00
pod.json vendor files 2018-01-10 13:42:26 -05:00
porter.go vendor files 2018-01-10 13:42:26 -05:00
README.md vendor files 2018-01-10 13:42:26 -05:00
VERSION vendor files 2018-01-10 13:42:26 -05:00

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