Add some log output to TestCredentialIssuerConfig for troubleshooting.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-09-15 12:04:46 -05:00
parent 8de046a561
commit b39160e4c4
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -36,6 +36,10 @@ func TestCredentialIssuerConfig(t *testing.T) {
CredentialIssuerConfigs(namespaceName).
List(ctx, metav1.ListOptions{})
require.NoError(t, err)
for _, config := range actualConfigList.Items {
t.Logf("found CredentialIssuerConfig: %+v", config)
}
require.Len(t, actualConfigList.Items, 1)
actualStatusKubeConfigInfo := actualConfigList.Items[0].Status.KubeConfigInfo