diff --git a/horizon/Chart.yaml b/horizon/Chart.yaml index 345161d..3237dae 100644 --- a/horizon/Chart.yaml +++ b/horizon/Chart.yaml @@ -17,7 +17,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.20 +version: 1.1.21 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/horizon/scripts/onms-core-init.sh b/horizon/scripts/onms-core-init.sh index dee8e41..1b55f28 100644 --- a/horizon/scripts/onms-core-init.sh +++ b/horizon/scripts/onms-core-init.sh @@ -285,82 +285,7 @@ acknowledged-by=admin acknowledged-at=Sun Mar 01 00\:00\:00 EDT 2020 EOF -# Configure Database access -USE_UPDATED_DATASOURCE=false -if [ "${MAJOR}" -eq 32 ];then - if [ "${MINOR}" -gt 0 ];then - USE_UPDATED_DATASOURCE=true - elif [ "${MINOR}" -eq 0 ] && [ "${PATCH}" -ge 4 ];then - USE_UPDATED_DATASOURCE=true - else - USE_UPDATED_DATASOURCE=false - fi -elif [ "${MAJOR}" -ge 33 ] && [ "${MAJOR}" -lt 2000 ]; then - USE_UPDATED_DATASOURCE=true -else - USE_UPDATED_DATASOURCE=false -fi -echo "Creating datasource configuration in ${CONFIG_DIR_OVERLAY}/opennms-datasources.xml (USE_UPDATED_DATASOURCE: $USE_UPDATED_DATASOURCE)" -cat < ${CONFIG_DIR_OVERLAY}/opennms-datasources.xml - - - - - - -EOF -if $USE_UPDATED_DATASOURCE; then -cat <> ${CONFIG_DIR_OVERLAY}/opennms-datasources.xml - - - - - - - - -EOF -else -cat <> ${CONFIG_DIR_OVERLAY}/opennms-datasources.xml - - -EOF -fi # Enable storeByGroup to improve performance # RRD Strategy is enabled by default