Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Include Ingress annotations for HTTPS backend #570

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

Purneau
Copy link
Contributor

@Purneau Purneau commented Jan 22, 2021

Out of the box calls to the Elastic client ingress can fail with the following error: received plaintext http traffic on an https channel, closing connection

See for example: https://discuss.elastic.co/t/elasticsearch-with-ingress-received-plaintext-http-traffic-on-an-https-channel/246549

To prevent this, an annotation is necessary that depends on the Ingress Controller used (nginx-ingress or ingress-nginx)

Issue #, if available:

Description of changes:

Test Results:

Note: If this PR is related to Helm, please also update the README for related documentation changes. Thanks.
https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/master/helm/README.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Out of the box calls to the Elastic client ingress can fail with the following error: `received plaintext http traffic on an https channel, closing connection`

To prevent this, an annotation is necessary that depends on the Ingress Controller used (nginx-ingress or ingress-nginx)
@sreekarjami
Copy link
Contributor

Hi @Purneau,
Thanks for submitting the PR. We will review and post our comments.

Thanks.

@peterzhuamazon peterzhuamazon merged commit 38322d1 into opendistro-for-elasticsearch:master Jan 25, 2021
@peterzhuamazon
Copy link
Contributor

Thanks @Purneau the PR is merged for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants