kompose/script
Charlie Drage f4bfe1fcb5 Add env_file + ConfigMaps feature to Kompose
When using env_file with Docker Compose, a ConfigMap will be generated

For example:

```sh
▶ ./kompose convert -f
script/test/fixtures/configmaps/docker-compose.yml
INFO Kubernetes file "redis-service.yaml" created
INFO Kubernetes file "redis-deployment.yaml" created
INFO Kubernetes file "foo-env-configmap.yaml" created
INFO Kubernetes file "bar-env-configmap.yaml" created
```

File:

```yaml
version: '3'

services:
  redis:
    image: 'bitnami/redis:latest'
    environment:
      - ALLOW_EMPTY_PASSWORD=no
    # Env file will override environment / warn!
    env_file:
      - "foo.env"
      - bar.env
    labels:
      kompose.service.type: nodeport
    ports:
      - '6379:6379'
```

To:

```yaml
apiVersion: v1
data:
  ALLOW_EMPTY_PASSWORD: "yes"
kind: ConfigMap
metadata:
  creationTimestamp: null
  name: foo-env
```

```yaml
...
      - env:
        - name: ALLOW_EMPTY_PASSWORD
          valueFrom:
            configMapKeyRef:
              key: ALLOW_EMPTY_PASSWORD
              name: foo-env
```
2017-10-10 12:40:49 -04:00
..
test Add env_file + ConfigMaps feature to Kompose 2017-10-10 12:40:49 -04:00
test_in_container kubernetes-incubator -> kubernetes 2017-07-12 15:42:13 -04:00
test_in_openshift Fix reference to emptyDir in OpenShift test scripts: 2017-09-19 14:58:53 +05:30
test_k8s Change directory for cluster tests 2017-08-18 11:04:51 -04:00
check-gofmt.sh 2016 -> 2017 for licensing 2017-06-28 10:49:52 -04:00
check-vendor.sh 2016 -> 2017 for licensing 2017-06-28 10:49:52 -04:00
deploy_key.enc Sync changes from master to gh-pages on each merge request 2017-03-23 10:58:19 -04:00
generate-bintray-json.sh build and upload master builds to bintray 2017-08-21 17:06:33 +02:00
release.sh Update release script with properly formatted table 2017-07-20 12:21:40 -04:00
sync-docs.sh Add Getting Started guide, adds Minishift tutorial 2017-10-05 09:36:53 -04:00