Fix CA file bind mounting in containers
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 1 Aug 2017 07:01:54 +0000 (07:01 +0000)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 1 Aug 2017 07:28:33 +0000 (07:28 +0000)
The syntax was wrong and wasn't actually bind mounting the CA file.
This fixes it.

Change-Id: Icfa2118ccd2a32fdc3d1af27e3e3ee02bdfbb13b

docker/services/containers-common.yaml

index 71ea8d1..2c894da 100644 (file)
@@ -66,5 +66,9 @@ outputs:
           - /etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro
         - if:
           - internal_tls_enabled
-          - - {get_param: InternalTLSCAFile}
+          - - list_join:
+              - ':'
+              - - {get_param: InternalTLSCAFile}
+                - {get_param: InternalTLSCAFile}
+                - 'ro'
           - null