@@ -82,11 +82,11 @@ func TestGitHubCredentialReconciler_reconcileNormal(t *testing.T) {
82
82
},
83
83
},
84
84
Spec : garmoperatorv1beta1.GitHubEndpointSpec {
85
- Description : "existing-github-endpoint" ,
86
- APIBaseURL : "https://api.github.com" ,
87
- UploadBaseURL : "https://uploads.github.com" ,
88
- BaseURL : "https://github.com" ,
89
- CACertBundle : [] byte ( "" ) ,
85
+ Description : "existing-github-endpoint" ,
86
+ APIBaseURL : "https://api.github.com" ,
87
+ UploadBaseURL : "https://uploads.github.com" ,
88
+ BaseURL : "https://github.com" ,
89
+ CACertBundleSecretRef : garmoperatorv1beta1. SecretRef {} ,
90
90
},
91
91
},
92
92
},
@@ -252,11 +252,11 @@ func TestGitHubCredentialReconciler_reconcileNormal(t *testing.T) {
252
252
},
253
253
},
254
254
Spec : garmoperatorv1beta1.GitHubEndpointSpec {
255
- Description : "existing-github-endpoint" ,
256
- APIBaseURL : "https://api.github.com" ,
257
- UploadBaseURL : "https://uploads.github.com" ,
258
- BaseURL : "https://github.com" ,
259
- CACertBundle : [] byte ( "" ) ,
255
+ Description : "existing-github-endpoint" ,
256
+ APIBaseURL : "https://api.github.com" ,
257
+ UploadBaseURL : "https://uploads.github.com" ,
258
+ BaseURL : "https://github.com" ,
259
+ CACertBundleSecretRef : garmoperatorv1beta1. SecretRef {} ,
260
260
},
261
261
},
262
262
},
@@ -475,11 +475,11 @@ func TestGitHubCredentialReconciler_reconcileNormal(t *testing.T) {
475
475
},
476
476
},
477
477
Spec : garmoperatorv1beta1.GitHubEndpointSpec {
478
- Description : "existing-github-endpoint" ,
479
- APIBaseURL : "https://api.github.com" ,
480
- UploadBaseURL : "https://uploads.github.com" ,
481
- BaseURL : "https://github.com" ,
482
- CACertBundle : [] byte ( "" ) ,
478
+ Description : "existing-github-endpoint" ,
479
+ APIBaseURL : "https://api.github.com" ,
480
+ UploadBaseURL : "https://uploads.github.com" ,
481
+ BaseURL : "https://github.com" ,
482
+ CACertBundleSecretRef : garmoperatorv1beta1. SecretRef {} ,
483
483
},
484
484
},
485
485
},
@@ -702,11 +702,11 @@ func TestGitHubCredentialReconciler_reconcileNormal(t *testing.T) {
702
702
},
703
703
},
704
704
Spec : garmoperatorv1beta1.GitHubEndpointSpec {
705
- Description : "existing-github-endpoint" ,
706
- APIBaseURL : "https://api.github.com" ,
707
- UploadBaseURL : "https://uploads.github.com" ,
708
- BaseURL : "https://github.com" ,
709
- CACertBundle : [] byte ( "" ) ,
705
+ Description : "existing-github-endpoint" ,
706
+ APIBaseURL : "https://api.github.com" ,
707
+ UploadBaseURL : "https://uploads.github.com" ,
708
+ BaseURL : "https://github.com" ,
709
+ CACertBundleSecretRef : garmoperatorv1beta1. SecretRef {} ,
710
710
},
711
711
},
712
712
},
@@ -879,11 +879,11 @@ func TestGitHubCredentialReconciler_reconcileDelete(t *testing.T) {
879
879
},
880
880
},
881
881
Spec : garmoperatorv1beta1.GitHubEndpointSpec {
882
- Description : "existing-github-endpoint" ,
883
- APIBaseURL : "https://api.github.com" ,
884
- UploadBaseURL : "https://uploads.github.com" ,
885
- BaseURL : "https://github.com" ,
886
- CACertBundle : [] byte ( "" ) ,
882
+ Description : "existing-github-endpoint" ,
883
+ APIBaseURL : "https://api.github.com" ,
884
+ UploadBaseURL : "https://uploads.github.com" ,
885
+ BaseURL : "https://github.com" ,
886
+ CACertBundleSecretRef : garmoperatorv1beta1. SecretRef {} ,
887
887
},
888
888
},
889
889
},
0 commit comments