Remove deprecated --template and --index-policy flags#28870
Remove deprecated --template and --index-policy flags#28870kvch merged 4 commits intoelastic:masterfrom
--template and --index-policy flags#28870Conversation
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
This pull request doesn't have a |
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures
|
ruflin
left a comment
There was a problem hiding this comment.
Change LGTM.
Is my understanding correct, that this means if someone uses setup, template and ilm policy will always be both loaded? And if the ilm policy is already there it will not be overwritten? Same for the template?
|
This pull request is now in conflicts. Could you fix it? 🙏 |
(cherry picked from commit 0e18dbe)
…ws-on-file-changes * upstream/master: override host on statsd metricset (elastic#29103) Skip config check in autodiscover for duplicated configurations (elastic#29048) Change "filebeat.config.modules.enabled" to "true" (elastic#28769) Remove deprecated spool queue from Beats (elastic#28869) Add `beat` field back to beat.stats (elastic#29094) Revert "Move labels and annotations under kubernetes.namespace. (elastic#27917)" (elastic#29069) heartbeat: remove w2008 in the CI (elastic#29093) Remove deprecated `--template` and `--index-policy` flags (elastic#28870) Fix parsing of apache trace log levels (elastic#28717) [Elastic-Agent] IUse itnernal port for local fleet server (elastic#28993) [Heartbeat] Log error on dupe monitor ID instead of strict req (elastic#29041) Enable pprof for elastic-agent and beats (elastic#28983)
What does this PR do?
This PR removes the deprecate
--templateand--index-policyflags fromsetupsubcommand of Beats. Users should load template, ILM policy, etc. using--index-managementflag.The E2E tests are adjusted to use
--index-managementinstead of the old flags.Why is it important?
Deprecated flags are cleaned up from our user interface.
Checklist
- [ ] I have commented my code, particularly in hard-to-understand areas- [ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.