Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[kibana] Explicitly test for a 200 for readinessProbe #291

Merged
merged 1 commit into from
Sep 19, 2019
Merged

Conversation

Crazybus
Copy link
Contributor

If authentication wasn't configured correctly the Kibana readinessProbe
would still pass since curl --fail doesn't consider a redirect to be a
failure. If authentication fails Kibana would redirect you back to the
login page so this readinessProbe always passed for security clusters.
The tests are going to fail until #272 is merged and this PR has been
rebased on top of it.

  • Chart version not bumped (the versions are all bumped and released at the same time)
  • README.md updated with any new values or changes
  • Updated template tests in ${CHART}/tests/*.py
  • Updated integration tests in ${CHART}/examples/*/test/goss.yaml

@Crazybus
Copy link
Contributor Author

This one fails as expected now!

image

If authentication wasn't configured correctly the Kibana readinessProbe
would still pass since `curl --fail` doesn't consider a redirect to be a
failure. If authentication fails Kibana would redirect you back to the
login page so this readinessProbe always passed for security clusters.
The tests are going to fail until #272 is merged and this PR has been
rebased on top of it.
@Crazybus
Copy link
Contributor Author

Rebased on master now that #272 has been merged in. Lets see if the tests now pass properly.

@Crazybus Crazybus requested a review from jmlrt September 19, 2019 12:01
Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Crazybus Crazybus merged commit e9e389f into master Sep 19, 2019
@Crazybus Crazybus deleted the im_ready branch September 19, 2019 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants