use temp kubeconfig for fake factory
This commit is contained in:
@@ -70,6 +70,8 @@ func TestCreateRoleBinding(t *testing.T) {
|
||||
}
|
||||
|
||||
tf := cmdtesting.NewTestFactory()
|
||||
defer tf.Cleanup()
|
||||
|
||||
ns := legacyscheme.Codecs
|
||||
|
||||
info, _ := runtime.SerializerInfoForMediaType(ns.SupportedMediaTypes(), runtime.ContentTypeJSON)
|
||||
|
Reference in New Issue
Block a user