iwita 21196b4a6d added v1.15.4 5 年之前
..
.gitignore 21196b4a6d added v1.15.4 5 年之前
BUILD 21196b4a6d added v1.15.4 5 年之前
Dockerfile 21196b4a6d added v1.15.4 5 年之前
Makefile 21196b4a6d added v1.15.4 5 年之前
README.md 21196b4a6d added v1.15.4 5 年之前
VERSION 21196b4a6d added v1.15.4 5 年之前
localhost.crt 21196b4a6d added v1.15.4 5 年之前
localhost.key 21196b4a6d added v1.15.4 5 年之前
pod.json 21196b4a6d added v1.15.4 5 年之前
porter.go 21196b4a6d added v1.15.4 5 年之前

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]()