Open oskapt opened 4 years ago
@deniseschannon There is some backend work here, I can drop the ports inputs and the key from the payload before save (the ports param is created by default for the service
type) but the backend is adding it back in with a default set of values on save. So in order for the UI to implement this the backend has to be fixed first.
What kind of request is this (question/bug/enhancement/feature request): bug
When creating an external service (hostname or IP mapping), it's possible to set port mapping values in the advanced section. Those ports appear in the resource definition YAML:
This implies that I can connect to the local alias on a local port, and it will be forwarded to the destination on the target port.
This is not the case. The port entries are ignored because an
ExternalName
service is a DNS CNAME. We should not allow users to configure ports, and ports should not be included in the YAML.