Documentation
¶
Overview ¶
Package flags declares the CLI flags and environment defaults for reaching the registry-packages-proxy.
Reaching the proxy means two separate TLS connections, each with its own trust decision, so each has its own switch:
- the Kubernetes API server, asked where the proxy lives (endpoint discovery);
- the proxy itself, which serves the artifacts.
Index ¶
Constants ¶
View Source
const ( EnvEndpoint = "D8_RPP_ENDPOINT" EnvCAFile = "D8_RPP_CA_FILE" )
Variables ¶
View Source
var ( // Endpoint is the proxy base URL (e.g. https://<master-ip>:4219, or the // public Ingress). Empty means discover it from the cluster. Endpoint = os.Getenv(EnvEndpoint) // CAFile points to a PEM CA bundle used to verify the proxy TLS certificate // in addition to the system roots. CAFile = os.Getenv(EnvCAFile) // InsecureSkipTLSVerify disables TLS verification on both connections d8 makes: // to the API server and to the proxy (debugging only). InsecureSkipTLSVerify bool )
CLI parameters for the registry-packages-proxy connection.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.