mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-23 19:37:23 +00:00
The agnhost image used for testing has a `netexec` path which supports two new flags, `--tls-cert-file` and `--tls-private-key-file`. If the former is provided, the HTTP server will be upgraded to HTTPS, using the certificate (and private key) provided. By default, there are keys already mounted into the container at `/localhost.crt` and `/localhost.key`, which contain PEM-encoded TLS certs with IP SANs for `127.0.0.1` and `[::1]`.