Skip to content

[8.10] [Fleet] Fix index patterns being recreated in default space, fix migration version setting (#164456)#164484

Merged
kibanamachine merged 1 commit intoelastic:8.10from
kibanamachine:backport/8.10/pr-164456
Aug 22, 2023
Merged

[8.10] [Fleet] Fix index patterns being recreated in default space, fix migration version setting (#164456)#164484
kibanamachine merged 1 commit intoelastic:8.10from
kibanamachine:backport/8.10/pr-164456

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.10:

Questions ?

Please refer to the Backport tool documentation

…ation version setting (elastic#164456)

## Summary

Closes elastic#164243
Added a `typeMigrationVersion: '8.0.0'` to index patterns until
elastic#164454 is fixed.

Related to elastic#161969
Feedback from kibana core team, we should always set the migration
version fields, even if `migrationVersion` is not set.

It would be good to backport this to 8.9 too.

How to test locally:

- create a test space
- install system integration in test space
- restart kibana
- verify that the index patterns `logs-*`, `metrics-*` are still in test
space in Data Views UI

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 433d4f2)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 22, 2023
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Aug 22, 2023
@kibanamachine kibanamachine enabled auto-merge (squash) August 22, 2023 17:01
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Defend Workflows Cypress Tests #1 / Endpoint Policy Response from Endpoint List page should display policy response with errors should display policy response with errors

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @juliaElastic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants