Fix etcd_init_task volume
authorBogdan Dobrelya <bdobreli@redhat.com>
Wed, 26 Apr 2017 12:24:01 +0000 (14:24 +0200)
committerBogdan Dobrelya <bdobreli@redhat.com>
Wed, 26 Apr 2017 12:24:01 +0000 (14:24 +0200)
Docker puppet hook writes to /etc of
containers. Mount /etc as rw for etcd container.

Change-Id: I8e45de18a91022690c19888cbfaa68d2fdfe46ce
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
docker/services/etcd.yaml

index 278ea1c..0a7daef 100644 (file)
@@ -92,7 +92,7 @@ outputs:
           step_config: 'include ::tripleo::profile::base::etcd'
           config_image: *etcd_image
           volumes:
-            - /var/lib/config-data/etcd/etc/:/etc/:ro
+            - /var/lib/config-data/etcd/etc/:/etc
             - /var/lib/etcd:/var/lib/etcd:ro
       host_prep_tasks:
         - name: create /var/lib/etcd