Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name transport service port #3233

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

charith-elastic
Copy link
Contributor

Names the port in the transport service so that it passes Istio checks.

@@ -50,6 +50,7 @@ func NewTransportService(es esv1.Elasticsearch) *corev1.Service {
labels := label.NewLabels(nsn)
ports := []corev1.ServicePort{
{
Name: "tls-transport",
Copy link
Contributor

Choose a reason for hiding this comment

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

A note for any other reviewers: istio requires it be prefixed with the protocol

anyasabo
anyasabo previously approved these changes Jun 12, 2020
@@ -50,6 +50,7 @@ func NewTransportService(es esv1.Elasticsearch) *corev1.Service {
labels := label.NewLabels(nsn)
ports := []corev1.ServicePort{
{
Name: "tls-transport",
Copy link
Contributor

Choose a reason for hiding this comment

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

This may deserve a little comment?

Suggested change
Name: "tls-transport",
Name: "tls-transport", // name the service with the protocol for Istio

@anyasabo anyasabo dismissed their stale review June 12, 2020 16:09

unit tests failing

@anyasabo anyasabo added >enhancement Enhancement of existing functionality and removed >non-issue labels Jun 12, 2020
@anyasabo
Copy link
Contributor

Added to >enhancements since it is user facing and should help our compatibility story

Copy link
Contributor

@sebgl sebgl left a comment

Choose a reason for hiding this comment

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

LGTM

@charith-elastic charith-elastic merged commit 8eacd5e into elastic:master Jun 15, 2020
@charith-elastic charith-elastic deleted the name-transport-port branch June 15, 2020 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants