I am using the following command to create a configMap.
kubectl create configmap test --from-file=./application.properties --from-file=./mongo.properties --from-
Now you can. Just throw: kubectl edit configmap on your command line. Then you can edit your configuration.
kubectl edit configmap