Commit ae32bca
committed
fix: remove deprecated flow control env var
ENABLE_EXPERIMENTAL_FLOW_CONTROL_LAYER was deprecated when GIE 1.5.0
introduced the featureGates: [flowControl] config stanza, which router
0.8.0 picked up. It was also broken: initAdmissionControl reads
r.featureGates, populated once during parseConfigurationPhaseOne, while
the env var was only ever applied afterward in parseConfigurationPhaseTwo
against rawConfig.FeatureGates. Setting it logged the deprecation warning
but silently left the EPP on the legacy admission controller.
Ahead of the 0.10.0 release, remove the env var entirely instead of
fixing it, since the config-based replacement has been available since
0.8.0. Use featureGates: [flowControl] in the EndpointPickerConfig.
Fixes #2065
Signed-off-by: elinacse <elina.gcek94@gmail.com>1 parent b25dd66 commit ae32bca
2 files changed
Lines changed: 0 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 145 | | |
154 | 146 | | |
155 | 147 | | |
| |||
717 | 709 | | |
718 | 710 | | |
719 | 711 | | |
720 | | - | |
721 | | - | |
722 | 712 | | |
723 | 713 | | |
724 | 714 | | |
| |||
763 | 753 | | |
764 | 754 | | |
765 | 755 | | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | 756 | | |
779 | 757 | | |
780 | 758 | | |
| |||
0 commit comments