func TestKubeControllerDefaultsRoundTrip(t *testing.T) { … } // convertObjToConfigMap converts an object to a ConfigMap. // This is specifically meant for ComponentConfigs. func convertObjToConfigMap(name string, obj runtime.Object) (*v1.ConfigMap, error) { … }