-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fleet] Add missing step showing K8 instructions for managed enrollment #130295
[Fleet] Add missing step showing K8 instructions for managed enrollment #130295
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@@ -0,0 +1,187 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I extracted this component from the DownloadStep
to avoid any rendering issue. Since the steps
components are not actual react components but return EuiContainedStepProps
instead, if any hook is used inside them, they tend to break badly. This solution avoids getting into that state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround @criamico. I tested locally and things are looking good. I noticed that the Installation step copy includes the normal copy as well as the K8 copy. Can we remove the normal copy (highlighted below) when installing on K8?
@jen-huang I removed the duplicated text but also did some clean up/refactor of the manual and standalone commands. It's nothing risky, this is just to remove some difference in the implementation of two similar steps and will make our life easier in the next changes (like the fleet server one). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @criamico |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
…nt (elastic#130295) * [Fleet] Add missing step showing K85 instructions for managed enrollment * Fix checks * Remove duplicated text and clean up commands * Fix failing check (cherry picked from commit 92db72b) # Conflicts: # x-pack/plugins/translations/translations/fr-FR.json # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
…rollment (#130295) (#130388) * [Fleet] Add missing step showing K8 instructions for managed enrollment (#130295) * [Fleet] Add missing step showing K85 instructions for managed enrollment * Fix checks * Remove duplicated text and clean up commands * Fix failing check (cherry picked from commit 92db72b) # Conflicts: # x-pack/plugins/translations/translations/fr-FR.json # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json * Fix translations
…nt (elastic#130295) * [Fleet] Add missing step showing K85 instructions for managed enrollment * Fix checks * Remove duplicated text and clean up commands * Fix failing check
…nt (elastic#130295) * [Fleet] Add missing step showing K85 instructions for managed enrollment * Fix checks * Remove duplicated text and clean up commands * Fix failing check
Summary
Fix #130201
In 128381 the managed instructions for kubernetes are missing. This PR reintroduces them.
Testing
Case 1 (Fleet)
Case 2 (Integrations)
Checklist
Delete any items that are not applicable to this PR.