Fix error handling for kubectl create configmap
Fix error handling for kubectl create configmap

This patch changes to return when `createConfigMap()` returns error.

Kubernetes-commit: 6caf4d66bda3b9e4efaa45f3479c11ed70ae0100

kubernetes/kubectl,kubernetes/kubectl