You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow duplicate endpoint targetPorts if they are in same container
Allow multiple endpoints to have the same target point if and only if
they are attached to the same container. Otherwise, target ports must be
unique unless dedicatedPod is set to true.
Allowing multiple endpoints to use the same port is required for some
applications which require two routes to the same endpoint, in order to
create isolation between components within the browser.
Signed-off-by: Angel Misevski <[email protected]>
Copy file name to clipboardExpand all lines: pkg/validation/validation-rule.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ The validation will be done as part of schema validation, the rule will be intro
14
14
15
15
### Endpoints:
16
16
- all the endpoint names are unique across components
17
-
- all the endpoint ports are unique across components. Only exception: container component with `dedicatedpod=true`
17
+
- endpoint ports must be unique across components -- two components cannot have the same target port, but one component may have two endpoints with the same target port. This restriction does not apply to container components with `dedicatedPod` set to `true`.
0 commit comments