Clarify documentation for the advertised CA bundle of the impersonation proxy

This commit is contained in:
Joshua Casey
2024-08-01 23:08:00 -05:00
committed by Joshua Casey
parent 46bbe5bc75
commit 1958bb8fb0
25 changed files with 150 additions and 59 deletions

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}

View File

@@ -115,12 +115,16 @@ spec:
certificateAuthorityData:
description: |-
X.509 Certificate Authority (base64-encoded PEM bundle).
Used to advertise the CA bundle for the impersonation proxy endpoint.
Used to advertise the CA bundle for TLS verification.
type: string
secretName:
description: |-
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
the TLS serving certificate for the Concierge impersonation proxy endpoint.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
minLength: 1
type: string
type: object

View File

@@ -622,11 +622,11 @@ If this field is empty, the impersonation proxy will generate its own TLS certif
==== ImpersonationProxyTLSSpec
ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
serve TLS.
serve TLS and what CA bundle to advertise for TLS verification.
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
for a field called "ca.crt", which will be used as the CertificateAuthorityData.
for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
@@ -641,9 +641,13 @@ the impersonation proxy endpoint.
|===
| Field | Description
| *`certificateAuthorityData`* __string__ | X.509 Certificate Authority (base64-encoded PEM bundle). +
Used to advertise the CA bundle for the impersonation proxy endpoint. +
Used to advertise the CA bundle for TLS verification. +
| *`secretName`* __string__ | SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains +
the TLS serving certificate for the Concierge impersonation proxy endpoint. +
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for +
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification. +
|===

View File

@@ -83,16 +83,16 @@ const (
)
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
// serve TLS.
// serve TLS and what CA bundle to advertise for TLS verification.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
// the impersonation proxy endpoint.
type ImpersonationProxyTLSSpec struct {
// X.509 Certificate Authority (base64-encoded PEM bundle).
// Used to advertise the CA bundle for the impersonation proxy endpoint.
// Used to advertise the CA bundle for TLS verification.
//
// +optional
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
@@ -100,6 +100,9 @@ type ImpersonationProxyTLSSpec struct {
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
//
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
//
// +kubebuilder:validation:MinLength=1
SecretName string `json:"secretName,omitempty"`
}