Skip to content
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

Cherry-pick to 7.0: Add username password into kibana config (#10675) #10702

Merged
merged 1 commit into from
Feb 14, 2019
Merged

Cherry-pick to 7.0: Add username password into kibana config (#10675) #10702

merged 1 commit into from
Feb 14, 2019

Conversation

kaiyan-sheng
Copy link
Contributor

Original commit message:
Turned out the fix in #10553 won't solve the issue because kibana.NewKibanaClient(kibanaConfig) is called before dashboards.ImportDashboards, which already requires the correct config including password and username as input. So moving the same code upfront before kibana.NewKibanaClient is called solves this issue.

  • Add username password into kibana config before calling NewKibanaClient

  • Add changelog

  • Add unit test for initKibanaConfig

  • Run make fmt

  • Add comment on initKibanaConfig

(cherry picked from commit 5d280da)

…nt (#10675)

* Add username password into kibana config before calling NewKibanaClient

* Add changelog

* Add unit test for initKibanaConfig

* Run make fmt

* Add comment on initKibanaConfig

(cherry picked from commit 5d280da)
@kaiyan-sheng kaiyan-sheng requested a review from a team as a code owner February 12, 2019 18:46
@kaiyan-sheng kaiyan-sheng self-assigned this Feb 12, 2019
@kaiyan-sheng
Copy link
Contributor Author

jenkins, test this

@kaiyan-sheng
Copy link
Contributor Author

CI failure is not related to this PR.

@kaiyan-sheng kaiyan-sheng merged commit 457aaef into elastic:7.0 Feb 14, 2019
@kaiyan-sheng kaiyan-sheng deleted the backport_10675_7.0 branch February 14, 2019 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants