Skip to content

Commit 7e433a2

Browse files
committed
Clarify documentation for the advertised CA bundle of the impersonation proxy
1 parent 6e4c02e commit 7e433a2

25 files changed

+150
-59
lines changed

apis/concierge/config/v1alpha1/types_credentialissuer.go.tmpl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,26 @@ const (
8383
)
8484

8585
// ImpersonationProxyTLSSpec contains information about how the Concierge impersonation proxy should
86-
// serve TLS.
86+
// serve TLS and what CA bundle to advertise for TLS verification.
8787
//
8888
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check the secret
89-
// for a field called "ca.crt", which will be used as the CertificateAuthorityData.
89+
// for a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
9090
//
9191
// If neither CertificateAuthorityData nor ca.crt is provided, no CA bundle will be advertised for
9292
// the impersonation proxy endpoint.
9393
type ImpersonationProxyTLSSpec struct {
9494
// X.509 Certificate Authority (base64-encoded PEM bundle).
95-
// Used to advertise the CA bundle for the impersonation proxy endpoint.
95+
// Used to advertise the CA bundle for TLS verification.
9696
//
9797
// +optional
9898
CertificateAuthorityData string `json:"certificateAuthorityData,omitempty"`
9999

100100
// SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
101101
// the TLS serving certificate for the Concierge impersonation proxy endpoint.
102102
//
103+
// If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
104+
// a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
105+
//
103106
// +kubebuilder:validation:MinLength=1
104107
SecretName string `json:"secretName,omitempty"`
105108
}

deploy/concierge/config.concierge.pinniped.dev_credentialissuers.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,16 @@ spec:
115115
certificateAuthorityData:
116116
description: |-
117117
X.509 Certificate Authority (base64-encoded PEM bundle).
118-
Used to advertise the CA bundle for the impersonation proxy endpoint.
118+
Used to advertise the CA bundle for TLS verification.
119119
type: string
120120
secretName:
121121
description: |-
122122
SecretName is the name of a Secret in the same namespace, of type `kubernetes.io/tls`, which contains
123123
the TLS serving certificate for the Concierge impersonation proxy endpoint.
124+
125+
126+
If CertificateAuthorityData is not provided, the Concierge impersonation proxy will check this secret for
127+
a field called "ca.crt", which will be used as the CA bundle to advertise for TLS verification.
124128
minLength: 1
125129
type: string
126130
type: object

generated/1.25/README.adoc

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.25/apis/concierge/config/v1alpha1/types_credentialissuer.go

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.25/crds/config.concierge.pinniped.dev_credentialissuers.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.26/README.adoc

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.26/apis/concierge/config/v1alpha1/types_credentialissuer.go

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.26/crds/config.concierge.pinniped.dev_credentialissuers.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.27/README.adoc

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/1.27/apis/concierge/config/v1alpha1/types_credentialissuer.go

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)