Bug Description
The documentation for the construction parameters for HaproxyRouteTcpRequirer (and in other places) suggests:
port: The provider port.
backend_port: List of ports the service is listening on.
But backend_port is Optional[int], not a list.
What is the intended behaviour here? There are some instances where it might be very useful to actually have multiple backend ports, or for the port/backend port to be a mapping instead, so as to reduce the amount of relations required.
Impact
Low (minor issue or cosmetic problem)
Impact Rationale
No response
To Reproduce
See docs:
|
class HaproxyRouteTcpRequirer(Object): |
Environment
Latest version, any environment
Relevant log output
Additional context
No response
Bug Description
The documentation for the construction parameters for HaproxyRouteTcpRequirer (and in other places) suggests:
But
backend_portisOptional[int], not a list.What is the intended behaviour here? There are some instances where it might be very useful to actually have multiple backend ports, or for the port/backend port to be a mapping instead, so as to reduce the amount of relations required.
Impact
Low (minor issue or cosmetic problem)
Impact Rationale
No response
To Reproduce
See docs:
haproxy-operator/haproxy-operator/lib/charms/haproxy/v1/haproxy_route_tcp.py
Line 962 in 03f5598
Environment
Latest version, any environment
Relevant log output
Additional context
No response