some property files will be modified after startup of SDNC, e.g.
/opt/opendaylight/etc/mountpoint-registrar.properties
or used for further debugging, eg.
/opt/opendaylight/etc/org.ops4j.pax.logging.cfg
OOM should handle this. Since k8s CM are not writeable by intention, copy these files as templates into the right place during pod start.
Command: │
│ /bin/bash │
│ Args: │
│ -c │
│ /opt/onap/sdnc/bin/createLinks.sh ; cp /opt/opendaylight/etc/mountpoint-registrar.properties.template /opt/opendaylight/etc/mountpoint-registrar.properties ; cp /opt/opendaylight/current/etc/org.ops 4 j │
│ .pax.logging.cfg.template /opt/opendaylight/current/etc/org.ops 4 j.pax.logging.cfg ;/opt/onap/sdnc/bin/startODL.sh