Skip to content

Commit

Permalink
switch deploy folder location (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
mershad-manesh authored Sep 11, 2023
1 parent 47a5644 commit d9ca915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions horizon/scripts/onms-core-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ cat <<EOF > ${CONFIG_DIR_OVERLAY}/opennms.properties.d/collectd.properties
org.opennms.netmgt.collectd.strictInterval=true
EOF

if [[ $(find ${DEPLOY_DIR} -type f | wc -l) -gt 0 ]]; then
cp ${DEPLOY_DIR}/*.kar /usr/share/opennms/deploy
fi

# Enable ALEC standalone
if [[ ${ENABLE_ALEC} == "true" ]]; then
cat <<EOF > ${CONFIG_DIR_OVERLAY}/featuresBoot.d/alec.boot
Expand Down
2 changes: 1 addition & 1 deletion horizon/templates/opennms-core.statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
- name: etc
mountPath: /opt/opennms/etc
- name: deploy
mountPath: /opt/opennms/deploy
mountPath: /opennms-deploy
- name: logs
mountPath: /opt/opennms/logs
- name: overlay
Expand Down
2 changes: 1 addition & 1 deletion kar-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ metadata:
...
volumeMounts:
- name: deploy
mountPath: /opt/opennms/deploy
mountPath: /opennms-deploy
...
volumes:
- name: deploy
Expand Down

0 comments on commit d9ca915

Please sign in to comment.