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

@@ -309,7 +309,7 @@ func TestController(t *testing.T) {
Issuer: goodIssuer,
Audience: goodAudience,
TLS: &authenticationv1alpha1.TLSSpec{
CertificateAuthorityDataSource: &authenticationv1alpha1.CABundleSource{
CertificateAuthorityDataSource: &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "Secret",
Name: "secret-with-ca",
Key: "ca.crt",
@@ -330,7 +330,7 @@ func TestController(t *testing.T) {
Issuer: goodIssuer,
Audience: goodAudience,
TLS: &authenticationv1alpha1.TLSSpec{
CertificateAuthorityDataSource: &authenticationv1alpha1.CABundleSource{
CertificateAuthorityDataSource: &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "ConfigMap",
Name: "configmap-with-ca",
Key: "ca.crt",

View File

@@ -155,7 +155,7 @@ func TestController(t *testing.T) {
goodWebhookAuthenticatorSpecWithCAFromSecret := authenticationv1alpha1.WebhookAuthenticatorSpec{
Endpoint: goodWebhookDefaultServingCertEndpoint,
TLS: &authenticationv1alpha1.TLSSpec{
CertificateAuthorityDataSource: &authenticationv1alpha1.CABundleSource{
CertificateAuthorityDataSource: &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "Secret",
Name: "secret-with-ca",
Key: "ca.crt",
@@ -175,7 +175,7 @@ func TestController(t *testing.T) {
goodWebhookAuthenticatorSpecWithCAFromConfigMap := authenticationv1alpha1.WebhookAuthenticatorSpec{
Endpoint: goodWebhookDefaultServingCertEndpoint,
TLS: &authenticationv1alpha1.TLSSpec{
CertificateAuthorityDataSource: &authenticationv1alpha1.CABundleSource{
CertificateAuthorityDataSource: &authenticationv1alpha1.CertificateAuthorityDataSourceSpec{
Kind: "ConfigMap",
Name: "configmap-with-ca",
Key: "ca.crt",