38e26d7a49
I saw this helper function the other day and wondered if we could use it. It does indeed look like it does what we want, because when I run this code, I get `...User "system:anonymous" cannot get resource...`. c := library.NewAnonymousPinnipedClientset(t) _, err := c. ConfigV1alpha1(). CredentialIssuerConfigs("integration"). Get(context.Background(), "pinniped-config", metav1.GetOptions{}) t.Log(err) I also ran a similar test using this new helper in the context of library.NewClientsetWithCertAndKey(). Seemed to get us what we want. Signed-off-by: Andrew Keesler <akeesler@vmware.com> |
||
---|---|---|
.. | ||
client.go | ||
env.go | ||
skip.go | ||
spew.go |