-
Notifications
You must be signed in to change notification settings - Fork 707
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
Name transport service port #3233
Conversation
@@ -50,6 +50,7 @@ func NewTransportService(es esv1.Elasticsearch) *corev1.Service { | |||
labels := label.NewLabels(nsn) | |||
ports := []corev1.ServicePort{ | |||
{ | |||
Name: "tls-transport", |
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.
A note for any other reviewers: istio requires it be prefixed with the protocol
@@ -50,6 +50,7 @@ func NewTransportService(es esv1.Elasticsearch) *corev1.Service { | |||
labels := label.NewLabels(nsn) | |||
ports := []corev1.ServicePort{ | |||
{ | |||
Name: "tls-transport", |
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.
This may deserve a little comment?
Name: "tls-transport", | |
Name: "tls-transport", // name the service with the protocol for Istio |
Added to |
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.
LGTM
Names the port in the transport service so that it passes Istio checks.