[SDNC] Move ODL persistent data to pvc 10/117010/3
authorDan Timoney <dtimoney@att.com>
Fri, 15 Jan 2021 21:39:50 +0000 (16:39 -0500)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 20 Jan 2021 12:47:36 +0000 (12:47 +0000)
commit4d4f7acfdb3a59c303f0312a75569d9c7b10b3fb
treec703d0e4c79a21a0889d13c371f09c8d12b1c0e9
parentf2cc30d314acdc5efdbee957416891a49b7ab799
[SDNC] Move ODL persistent data to pvc

In OpenDaylight, there are three types of data that we want to retain:
- exported backups (stored in /opt/opendaylight/daexim)
- journals (stored in /opt/opendaylight/journal)
- snapshots (stored in /opt/opendaylight/snapshots)
This change saves all 3 directories to the sdnc persistent
volume so that they are retained across restarts.

Issue-ID: SDNC-1455
Signed-off-by: Dan Timoney <dtimoney@att.com>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f
(cherry picked from commit 2ee28a5a7a82116e1854d92713a315490c9f259b)
kubernetes/sdnc/resources/config/bin/createLinks.sh [new file with mode: 0755]
kubernetes/sdnc/templates/pv-data.yaml
kubernetes/sdnc/templates/statefulset.yaml
kubernetes/sdnc/values.yaml