easykubectl
Create a ConfigMap from a file and inject it as environment variables into a deployment
command
kubectl create configmap web-config --from-file=config.propertiesalso accepted
kubectl create configmap web-config --from-file=config.properties && kubectl set env deployment/web-app --from=configmap/web-config