mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-18 22:14:22 +00:00
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:
co-authored by
Ashish Amarnath
parent
02e41baa47
commit
e0235ed190
+4
-4
@@ -894,7 +894,7 @@ func TestController(t *testing.T) {
|
||||
otherIDP := validFilledOutIDP.DeepCopy()
|
||||
otherIDP.Name = "idp-with-tls-in-secret"
|
||||
otherIDP.Spec.GitHubAPI.TLS = &idpv1alpha1.TLSSpec{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CABundleSource{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CertificateAuthorityDataSourceSpec{
|
||||
Kind: "Secret",
|
||||
Name: goodCABundleSecret.Name,
|
||||
Key: "ca.crt",
|
||||
@@ -906,7 +906,7 @@ func TestController(t *testing.T) {
|
||||
otherIDP := validFilledOutIDP.DeepCopy()
|
||||
otherIDP.Name = "idp-with-tls-in-config-map"
|
||||
otherIDP.Spec.GitHubAPI.TLS = &idpv1alpha1.TLSSpec{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CABundleSource{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CertificateAuthorityDataSourceSpec{
|
||||
Kind: "ConfigMap",
|
||||
Name: goodCABundleConfigMap.Name,
|
||||
Key: "ca.crt",
|
||||
@@ -975,7 +975,7 @@ func TestController(t *testing.T) {
|
||||
Spec: func() idpv1alpha1.GitHubIdentityProviderSpec {
|
||||
otherSpec := validFilledOutIDP.Spec.DeepCopy()
|
||||
otherSpec.GitHubAPI.TLS = &idpv1alpha1.TLSSpec{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CABundleSource{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CertificateAuthorityDataSourceSpec{
|
||||
Kind: "ConfigMap",
|
||||
Name: goodCABundleSecret.Name,
|
||||
Key: "ca.crt",
|
||||
@@ -1004,7 +1004,7 @@ func TestController(t *testing.T) {
|
||||
Spec: func() idpv1alpha1.GitHubIdentityProviderSpec {
|
||||
otherSpec := validFilledOutIDP.Spec.DeepCopy()
|
||||
otherSpec.GitHubAPI.TLS = &idpv1alpha1.TLSSpec{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CABundleSource{
|
||||
CertificateAuthorityDataSource: &idpv1alpha1.CertificateAuthorityDataSourceSpec{
|
||||
Kind: "Secret",
|
||||
Name: goodCABundleSecret.Name,
|
||||
Key: "ca.crt",
|
||||
|
||||
Reference in New Issue
Block a user