Revert "[SDNC] Change path to daexim directory" 20/120820/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 22 Apr 2021 07:09:56 +0000 (07:09 +0000)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 22 Apr 2021 07:09:56 +0000 (07:09 +0000)
This reverts commit fbf99d9ff51be6092fd8c37eab55e8f3bbd6b2eb.

Reason for revert: Patch doesn't work on Guilin

Issue-ID: SDNC-1475
Change-Id: I0a7bac401b28c0ada83ace3265b9b4f1cb71970b
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/sdnc/resources/config/conf/org.opendaylight.daexim.cfg [deleted file]
kubernetes/sdnc/templates/statefulset.yaml
kubernetes/sdnc/values.yaml

diff --git a/kubernetes/sdnc/resources/config/conf/org.opendaylight.daexim.cfg b/kubernetes/sdnc/resources/config/conf/org.opendaylight.daexim.cfg
deleted file mode 100644 (file)
index 20b794d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Daexim directory location
-# absolute path or path relative to Karaf home directory
-# property substitution (interpolation) currently only supported for "${karaf.home}", no others (hard-coded) -- M.
-daexim.dir={{ .Values.persistence.daeximPath }}
\ No newline at end of file
index 92192ff..91af687 100644 (file)
@@ -148,6 +148,7 @@ spec:
         args:
         - -c
         - |
+           mkdir {{ .Values.persistence.mdsalPath }}/daexim
            mkdir {{ .Values.persistence.mdsalPath }}/journal
            mkdir {{ .Values.persistence.mdsalPath }}/snapshots
            chown -R {{ .Values.config.odlUid }}:{{ .Values.config.odlGid}} {{ .Values.persistence.mdsalPath }}
@@ -293,16 +294,10 @@ spec:
           - mountPath: {{ .Values.config.odl.etcDir }}/mountpoint-state-provider.properties
             name: properties
             subPath: mountpoint-state-provider.properties
-<<<<<<< HEAD   (a66d33 Merge "[MUSIC] Update certificate" into guilin)
           {{ if .Values.global.cmpv2Enabled }}
           - mountPath: {{ .Values.global.platform.certServiceClient.envVariables.cert_path }}
             name: certs
           {{- end }}
-=======
-          - mountPath: {{ .Values.config.odl.etcDir }}/org.opendaylight.daexim.cfg
-            name: properties
-            subPath: org.opendaylight.daexim.cfg
->>>>>>> CHANGE (a86300 Change path to daexim directory)
           resources:
 {{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
index 30132d7..aab1edf 100644 (file)
@@ -437,7 +437,7 @@ persistence:
   mountPath: /dockerdata-nfs
   mountSubPath: sdnc/mdsal
   mdsalPath: /opt/opendaylight/mdsal
-  daeximPath: /opt/opendaylight/mdsal/daexim
+  daeximPath: /opt/opendaylight/daexim
   journalPath: /opt/opendaylight/journal
   snapshotsPath: /opt/opendaylight/snapshots