[SDNC] Move ODL persistent data to pvc 26/116926/2
authorDan Timoney <dtimoney@att.com>
Fri, 15 Jan 2021 21:39:50 +0000 (16:39 -0500)
committerDan Timoney <dtimoney@att.com>
Fri, 15 Jan 2021 21:43:24 +0000 (21:43 +0000)
commit2ee28a5a7a82116e1854d92713a315490c9f259b
tree7030f6441828851eee655c373db04894a9cc012c
parentd1f39e32d1d506323b98ee1d45d7c4732c079954
[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>
Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f
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