-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic Agent] Inconsistency for enroll and install command #21897
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Well I think the inconsistency has validity. That is because for |
Would it make sense to at least support in enroll to also pass it as flag in addition? Not even sure if this is possible to have both option 🤔 |
It is possible to make the enroll command use those parameters and those parameters be required. Removing the requirement of positional arguments on the |
My question would, be does it worth the effort and what we gain? I believe we want to encourage the
|
You need to keep |
🤦 oh deb/rpm :( |
If I understand the comment from @blakerouse correctly, we can only move to the params for |
The usage of our enrollment command looks as following:
For install it is:
To pass enrollment_token and kibana_url the flags
--kibana-url
and--enrollment-token
are needed but these two flags are missing for enroll. We should be consistent here.I stumbled over this when I copy pasted the install command but only wanted to enroll so I change install to enroll and it failed as enroll did not have the flags. I like the flags in general as they don't enforce a certain oder so I think we should make the flags also available for enroll to be consistent.
In addition, it should be checked if there are further incosistencies.
The text was updated successfully, but these errors were encountered: