-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add deprecation message for config prompt #28000
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
Conversation
|
I am not sure how to label something for deprecation... I also need some guidance on where the docs live so i can update those as well. github search failed me, but simple grep showed me the way... I found the docs |
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 left a comment, I think we need to reword this slightly.
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 think this is a little misleading. Today prompting can be used on any setting, but not every setting is eligible for secure settings.
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.
Oh i was not aware of this! ty for this info. im also bumping this to 6.3
2ff77f7 to
0a4292d
Compare
|
Ive updated the PR to note that not all settings can be secure settings in the prompt'ing and docs. |
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.
LGTM
| } | ||
|
|
||
| terminal.println(Terminal.Verbosity.SILENT, | ||
| "Prompting for property values is deprecated in " + Version.CURRENT |
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.
Should this be hardcoded and reworded to "since X.Y.Z"?
| === Prompting for settings | ||
|
|
||
| NOTE: Prompting for settings is deprecated. Please use <<secure-settings>> | ||
| for sensitive property values. Not all properties can be converted to use |
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.
properties -> settings
| } | ||
|
|
||
| terminal.println(Terminal.Verbosity.SILENT, | ||
| "Prompting for property values is deprecated in " + Version.CURRENT |
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.
property -> setting
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.
LGTM (with the suggestions of @rjernst).
|
Pinging @elastic/es-core-infra |
relates #27216