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

Commit

Permalink
Include Ingress annotations for HTTPS backend (#570)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Purneau authored Jan 25, 2021
1 parent 99d52e1 commit 38322d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/opendistro-es/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ elasticsearch:
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# # Depending on your Ingress Controller you may need to set one of the two below annotations to have NGINX call the backend using HTTPS
# nginx.org/ssl-services:"{{ template "opendistro-es.fullname" . }}-client-service"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
labels: {}
path: /
hosts:
Expand Down

0 comments on commit 38322d1

Please sign in to comment.