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

Warn if a Service with multiple ports is used #12

Open
WilliamDenniss opened this issue Oct 9, 2018 · 0 comments
Open

Warn if a Service with multiple ports is used #12

WilliamDenniss opened this issue Oct 9, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@WilliamDenniss
Copy link
Collaborator

kubehost has a documented limitation of only supporting services with a single port.

Until this is addressed, we should output a warning message if a service is given that has multiple ports.

Somewhere around here:

kubehost/kubehost

Lines 144 to 145 in 71d2a85

declare -r service_port="$(kubectl get service ${service} -o=jsonpath='{.spec.ports[0].port}')"
declare -r service_protocol="$(kubectl get service ${service} -o=jsonpath='{.spec.ports[0].protocol}')"

@WilliamDenniss WilliamDenniss added the enhancement New feature or request label Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant