Add config-volume to DFC for storing know host keys 95/117595/1
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Mon, 8 Feb 2021 14:01:21 +0000 (15:01 +0100)
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Mon, 8 Feb 2021 14:01:21 +0000 (15:01 +0100)
Change-Id: If2de5453cbe262f251b77b9f6e25b45e36207ea8
Issue-ID: DCAEGEN2-2549
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
datafile-app-server/dpo/spec/datafile-component-spec.json

index 06bf492..a650518 100644 (file)
       "timeout": "1s",
       "endpoint": "/heartbeat"
     },
+    "volumes": [
+      {
+        "container": { "bind": "/home/datafile/.ssh/" },
+        "config_volume": { "name":"onap-dcae-dfc-known-hosts" }
+      }
+    ],
     "ports": [
       "8100:0",
       "8433:0"
       "designer_editable": true,
       "sourced_at_deployment": true,
       "policy_editable": false,
-      "type": "boolean",
+      "type": "string",
       "required": true
     },
     {