summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
diff options
context:
space:
mode:
authordemskeq8 <alexander.dehn@highstreet-technologies.com>2021-02-18 09:41:59 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-18 17:48:20 +0000
commit3b3b7fd2bc57427f79c98ae4ea82c28140ae6fcd (patch)
treeea82f81322740f8207a42484bb98a98db73e5ff8 /kubernetes/sdnc
parent0c31367d791d773bda5687d5977497a1e8215e4f (diff)
[SDNC] Change path to daexim directory 2
remove wrong daexim link Issue-ID: SDNC-1475 Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
Diffstat (limited to 'kubernetes/sdnc')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/createLinks.sh11
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml1
2 files changed, 1 insertions, 11 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/createLinks.sh b/kubernetes/sdnc/resources/config/bin/createLinks.sh
index 1999dabb37..52c40723f9 100755
--- a/kubernetes/sdnc/resources/config/bin/createLinks.sh
+++ b/kubernetes/sdnc/resources/config/bin/createLinks.sh
@@ -27,11 +27,6 @@ then
MDSAL_PATH=/opt/opendaylight/mdsal
fi
-if [ "$DAEXIM_PATH" = "" ]
-then
- DAEXIM_PATH=/opt/opendaylight/daexim
-fi
-
if [ "$JOURNAL_PATH" = "" ]
then
JOURNAL_PATH=/opt/opendaylight/journal
@@ -42,12 +37,6 @@ then
SNAPSHOTS_PATH=/opt/opendaylight/snapshots
fi
-
-if [ ! -L $DAEXIM_PATH ]
-then
- ln -s $MDSAL_PATH/daexim $DAEXIM_PATH
-fi
-
if [ ! -L $JOURNAL_PATH ]
then
if [ -d $JOURNAL_PATH ]
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 96fa3378fb..48776c9961 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -116,6 +116,7 @@ spec:
- |
mkdir {{ .Values.persistence.mdsalPath }}/journal
mkdir {{ .Values.persistence.mdsalPath }}/snapshots
+ mkdir {{ .Values.persistence.mdsalPath }}/daexim
chown -R {{ .Values.config.odlUid }}:{{ .Values.config.odlGid}} {{ .Values.persistence.mdsalPath }}
{{- if .Values.global.aafEnabled }}
chown -R {{ .Values.config.odlUid }}:{{ .Values.config.odlGid}} {{ .Values.certInitializer.credsPath }}