Skip to content

Commit 6262519

Browse files
committed
Clarify value processing
1 parent 679f01c commit 6262519

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/extended-configuration-w-policy-attachments.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,15 @@ The *bifrost-gateway-controller* merges values before rendering templates
104104
using the following order of precedence (aka. as *hierarchy* in
105105
GEP-713):
106106

107-
Increasing order of precedence:
108-
109-
- `GatewayConfig` in same namespace as `Gateway`
110-
111-
- `GatewayClassConfig` in the same namespace as `Gateway` when `Gateway`
112-
reference `GatewayClassConfig` indirectly through `GatewayClass`.
113-
114-
- `GatewayClassConfig` in *bifrost-gateway-controller* namespace when
115-
`Gateway` reference `GatewayClassConfig` indirectly through
116-
`GatewayClass`.
107+
Increasing order of precedence for defaults, decreasing order of
108+
precedence for override's as defined by GEP-713:
109+
110+
- Values from `GatewayClassBlueprint`
111+
- Values from `GatewayClassConfig` in controller namespace (aka. global policies)
112+
- Values from `GatewayClassConfig` in `Gateway`/`HTTPRoute` local namespace targeting namespace
113+
- Values from `GatewayClassConfig` in `Gateway`/`HTTPRoute` local namespace targeting Gateway/HTTPRoute
114+
- Values from `GatewayConfig` in `Gateway`/`HTTPRoute` local namespace, targeting namespace
115+
- Values from `GatewayConfig` in `Gateway`/`HTTPRoute` local namespace, targeting `Gateway`/`HTTPRoute` resource
117116

118117
If there are multiple policies targeting the same resource and setting
119118
the same variable, the result is undefined (see also [Conflict

0 commit comments

Comments
 (0)