From a9c31f35b05d6a3f6ba1df48dd8ac619d8d44d83 Mon Sep 17 00:00:00 2001 From: demskeq8 Date: Thu, 18 Feb 2021 09:41:59 +0100 Subject: [SDNC] Change path to daexim directory 2 remove wrong daexim link Issue-ID: SDNC-1475 Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18 Signed-off-by: demskeq8 --- kubernetes/sdnc/resources/config/bin/createLinks.sh | 11 ----------- kubernetes/sdnc/templates/statefulset.yaml | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'kubernetes/sdnc') 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 }} -- cgit 1.2.3-korg