-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[kibana] add service.httpPortName config in chart #843
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.
Hey @ebuildy,
Thank you for this PR and all the others contributions you're doing to this repo's issues ❤️
There is some minor changes to do in the test file. Te rest LGTM 👍
kibana/tests/kibana_test.py
Outdated
def test_service_port_name(): | ||
r = helm_template("") | ||
|
||
assert r["service"][name]["spec"]["ports"][0]["name"] == "http" |
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.
Can you move this assertion to https://github.com/elastic/helm-charts/blob/master/kibana/tests/kibana_test.py#L12?
@@ -629,3 +629,17 @@ def test_adding_loadBalancerIP(): | |||
r = helm_template(config) | |||
|
|||
assert r["service"][name]["spec"]["loadBalancerIP"] == "12.5.11.79" | |||
|
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.
Black formatter requires 2 empty lines between each function.
Can you run black kibana/tests/kibana_test.py
to fix it?
This assertion is already tested in `test_defaults` https://github.com/ebuildy/helm-charts/blob/dadda2a8b1aa714cc38064064091522c73f3691d/kibana/tests/kibana_test.py#L23
jenkins test this please |
I updated the python test to be able to merge the PR. Thanks for your work @ebuildy 👍 |
Co-authored-by: Julien Mailleret <[email protected]>
Co-authored-by: Julien Mailleret <[email protected]>
Co-authored-by: Julien Mailleret <[email protected]>
Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Thomas Decaux <[email protected]>
Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Thomas Decaux <[email protected]>
Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Thomas Decaux <[email protected]>
${CHART}/tests/*.py
${CHART}/examples/*/test/goss.yaml
Fix #841: "Kibana: Missing service.httpPortName config in chart"