prevent non-manager nodes from running elasticsearch.cluster state manually

This commit is contained in:
reyesj2
2026-04-23 09:53:07 -05:00
parent 5f2ec76ba8
commit fdfca469cc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -34,6 +34,7 @@
'hydra',
'elasticfleet',
'elasticfleet.manager',
'elasticsearch.cluster',
'elastic-fleet-package-registry',
'utility'
] %}
+1 -1
View File
@@ -4,7 +4,7 @@
# Elastic License 2.0.
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls.split('.')[0] in allowed_states %}
{% if sls in allowed_states %}
{% from 'vars/globals.map.jinja' import GLOBALS %}
{% from 'elasticsearch/config.map.jinja' import ELASTICSEARCHMERGED %}
{% from 'elasticsearch/template.map.jinja' import ES_INDEX_SETTINGS, SO_MANAGED_INDICES %}