Skip to content

Conversation

@thbkrkr
Copy link
Contributor

@thbkrkr thbkrkr commented Jul 25, 2019

Given it's convenient to not use --stdin with the ES keystore to fix #1349,
this commit makes the keystore settings addition different for ES than
for Kibana and the APM Server.

Only the Elasticsearch keystore supports settings additions using a file
path. Kibana and APM Server supports only to pass the value through
stdin and use the --stdin flag.

Fixes #1399.

Given it's convenient to not use `--stdin` with the ES keystore to fix elastic#1349,
this commit makes the keystore settings addition different for ES than
for Kibana and the APM Server.

Only the Elasticsearch keystore supports settings additions using a file
path. Kibana and APM Server supports only to pass the value through
stdin and use the --stdin flag.
@thbkrkr thbkrkr added >bug Something isn't working v0.9.0 labels Jul 25, 2019
@thbkrkr thbkrkr requested a review from barkbay July 25, 2019 13:57
@thbkrkr
Copy link
Contributor Author

thbkrkr commented Jul 25, 2019

✔️ --- PASS: TestUpdateKibanaSecureSettings (210.23s)
✔️ --- PASS: TestUpdateESSecureSettings (472.34s)

Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thbkrkr thbkrkr merged commit 6359ab7 into elastic:master Jul 25, 2019
thbkrkr added a commit to thbkrkr/cloud-on-k8s that referenced this pull request Jul 25, 2019
Given it's convenient to not use `--stdin` with the ES keystore to fix elastic#1349,
this commit makes the keystore settings addition different for ES than
for Kibana and the APM Server.

Only the Elasticsearch keystore supports settings additions using a file
path. Kibana and APM Server supports only to pass the value through
stdin and use the --stdin flag.
thbkrkr added a commit that referenced this pull request Jul 25, 2019
Given it's convenient to not use `--stdin` with the ES keystore to fix #1349,
this commit makes the keystore settings addition different for ES than
for Kibana and the APM Server.

Only the Elasticsearch keystore supports settings additions using a file
path. Kibana and APM Server supports only to pass the value through
stdin and use the --stdin flag.
@pebrc pebrc changed the title Variabilize more the keystore settings addition Parameterize keystore settings addition Jul 26, 2019
@thbkrkr thbkrkr deleted the fix-keystore-add branch July 30, 2019 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug Something isn't working v0.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

APM Pod fails to start when using a keystore GCS Repository plugin not loading

2 participants