Documentation
¶
Index ¶
Constants ¶
View Source
const CanonicalCertPath = "/etc/ssl/certs/ca-certificates.crt"
CanonicalCertPath is the Debian/Ubuntu CA path used as a canonical value in golden files. The envoy-proxy image uses Debian, so this matches the runtime path.
Variables ¶
View Source
var SystemCertPath = func() string { switch runtime.GOOS { case "darwin": return "/opt/homebrew/etc/ca-certificates/cert.pem" default: return CanonicalCertPath } }()
SystemCertPath is the default location of the system trust store, initialized at runtime once.
This assumes the Envoy running in a very specific environment. For example, the default location of the system trust store on Debian derivatives like the envoy-proxy image being used by the infrastructure controller.
TODO: this might be configurable by an env var or EnvoyGateway configuration.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.