update docs and change struct name in types_tls.go.tmpl files

Co-authored-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
This commit is contained in:
Ryan Richard
2024-08-01 16:21:31 -07:00
parent 02e41baa47
commit e0235ed190
102 changed files with 889 additions and 686 deletions

View File

@@ -83,7 +83,7 @@ func TestClient(t *testing.T) {
"tls.key": "",
})
spec.TLS.CertificateAuthorityData = ""
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CABundleSource{
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "Secret",
Name: caSecret.Name,
Key: "ca.crt",
@@ -98,7 +98,7 @@ func TestClient(t *testing.T) {
"ca.crt": string(TLSCABundle),
})
spec.TLS.CertificateAuthorityData = ""
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CABundleSource{
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "Secret",
Name: caSecret.Name,
Key: "ca.crt",
@@ -113,7 +113,7 @@ func TestClient(t *testing.T) {
"ca.crt": string(TLSCABundle),
})
spec.TLS.CertificateAuthorityData = ""
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CABundleSource{
spec.TLS.CertificateAuthorityDataSource = &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "ConfigMap",
Name: caConfigmap.Name,
Key: "ca.crt",