Give kubeclient_test some default values for credentialissuer spec

This commit is contained in:
Margo Crawford 2021-05-19 11:56:54 -07:00
parent 0b66321902
commit 3bb95f1de2

View File

@ -228,6 +228,11 @@ func TestKubeClientOwnerRef(t *testing.T) {
GenerateName: "owner-ref-test-", GenerateName: "owner-ref-test-",
OwnerReferences: nil, // no owner refs set OwnerReferences: nil, // no owner refs set
}, },
Spec: conciergeconfigv1alpha1.CredentialIssuerSpec{
ImpersonationProxy: &conciergeconfigv1alpha1.ImpersonationProxySpec{
Mode: conciergeconfigv1alpha1.ImpersonationProxyModeDisabled,
},
},
}, },
metav1.CreateOptions{}, metav1.CreateOptions{},
) )