Allow root CA to be added through config maps
This commit is contained in:
parent
30fe11eccf
commit
ae4a00b4bc
16 changed files with 516 additions and 48 deletions
|
|
@ -49,7 +49,10 @@ type TLSClientConfig struct {
|
|||
ServerName string `json:"serverName,omitempty"`
|
||||
// InsecureSkipVerify disables TLS certificate verification.
|
||||
InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"`
|
||||
// RootCAsSecrets defines a list of CA secret used to validate self-signed certificates.
|
||||
// RootCAs defines a list of CA certificate Secrets or ConfigMaps used to validate server certificates.
|
||||
RootCAs []RootCA `json:"rootCAs,omitempty"`
|
||||
// RootCAsSecrets defines a list of CA secret used to validate self-signed certificate.
|
||||
// Deprecated: RootCAsSecrets is deprecated, please use the RootCAs option instead.
|
||||
RootCAsSecrets []string `json:"rootCAsSecrets,omitempty"`
|
||||
// CertificatesSecrets defines a list of secret storing client certificates for mTLS.
|
||||
CertificatesSecrets []string `json:"certificatesSecrets,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue