-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Add azure storage endpoint suffix #26432 #26568
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
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 question.
@@ -51,6 +51,12 @@ | |||
key -> SecureSetting.secureString(key, null)); | |||
|
|||
/** | |||
* Azure endpoint suffix. Default to core.windows.net (CloudStorageAccount.DEFAULT_DNS). | |||
*/ | |||
public static final AffixSetting<SecureString> ENDPOINT_SUFFIX_SETTING = Setting.affixKeySetting(PREFIX, "endpoint_suffix", |
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.
Why does this need to be a secure 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.
Thanks! I think a normal string is OK. Shall I merge with master for review?
* Azure endpoint suffix. Default to core.windows.net (CloudStorageAccount.DEFAULT_DNS). | ||
*/ | ||
public static final Setting<String> ENDPOINT_SUFFIX_SETTING = Setting.affixKeySetting(PREFIX, "endpoint_suffix", | ||
key -> SecureSetting.simpleString(key)); |
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 don't think the endpoint needs to be a secure 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.
Yes, of course. Thanks.
@jasontedor @rjernst I updated the PR, please review again. Thanks! |
@elasticmachine please test this |
@elasticmachine test this |
@rjernst Thanks, I think the testing errors are not caused by my changes... |
@elasticmachine retest this please |
I tested this locally. Looks good, thanks @liketic! |
* master: Add permission checks before reading from HDFS stream (elastic#26716) muted test [Docs] Fixed typo of *configuration* (elastic#25058) Add azure storage endpoint suffix elastic#26432 (elastic#26568)
Close #26432
Happy to hear any comments to make this PR better. Thanks in advance. 😄