summaryrefslogtreecommitdiffstats
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-04-14 13:05:22 +0000
commita9c31f35b05d6a3f6ba1df48dd8ac619d8d44d83 (patch)
tree5b4bbc3e249e868fc3d348335a1ca069b395e328
parent340267ab46f41493c1509b9d77a3ccbdb529eb27 (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>
-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 91af687d04..7c499e90ab 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -151,6 +151,7 @@ spec:
mkdir {{ .Values.persistence.mdsalPath }}/daexim
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 }}