mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
update annotation.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user