update annotation.

This commit is contained in:
m0duspwnens
2024-09-04 10:32:11 -04:00
parent cfdc8ede90
commit 0af2e85f91
2 changed files with 4 additions and 3 deletions

View File

@@ -113,7 +113,8 @@ update_docker_containers() {
fi fi
# all the containers using ELASTICSEARCHDEFAULTS.elasticsearch.version # all the containers using ELASTICSEARCHDEFAULTS.elasticsearch.version
local CONTAINERS_USING_ES_VERSION=("so-elastic-fleet-package-registry" "so-elastic-agent" "so-kibana" "so-logstash" "so-elasticsearch") # does not include so-elastic-fleet since that container uses so-elastic-agent image
local IMAGES_USING_ES_VERSION=("so-elastic-fleet-package-registry" "so-elastic-agent" "so-kibana" "so-logstash" "so-elasticsearch")
rm -rf $SIGNPATH >> "$LOG_FILE" 2>&1 rm -rf $SIGNPATH >> "$LOG_FILE" 2>&1
mkdir -p $SIGNPATH >> "$LOG_FILE" 2>&1 mkdir -p $SIGNPATH >> "$LOG_FILE" 2>&1
@@ -143,7 +144,7 @@ update_docker_containers() {
fi fi
# use version defined in elasticsearch defaults.yaml if an es container # use version defined in elasticsearch defaults.yaml if an es container
if [[ " ${CONTAINERS_USING_ES_VERSION[*]} " =~ [[:space:]]${i}[[:space:]] ]]; then if [[ " ${IMAGES_USING_ES_VERSION[*]} " =~ [[:space:]]${i}[[:space:]] ]]; then
local UPDATE_DIR='/tmp/sogh/securityonion' local UPDATE_DIR='/tmp/sogh/securityonion'
local v1=0 local v1=0
local v2=0 local v2=0

View File

@@ -3,7 +3,7 @@ elasticsearch:
description: You can enable or disable Elasticsearch. description: You can enable or disable Elasticsearch.
helpLink: elasticsearch.html helpLink: elasticsearch.html
version: version:
description: The version of Elasticsearch description: "This specifies the version of the following containers: so-elastic-fleet-package-registry, so-elastic-agent, so-elastic-fleet, so-kibana, so-logstash and so-elasticsearch. Modifying this value in the Elasticsearch defaults.yaml will result in catastrophic grid failure."
readonly: True readonly: True
global: True global: True
advanced: True advanced: True