Commit f97672e
authored
charts: add external-gateway-config-ns option for controller (#6211)
Add configurable namespace for ovn-external-gw-config ConfigMap.
By default, the controller's ConfigMap informer only watches ConfigMaps
in the PodNamespace (where the controller runs). However, the default
value for --external-gateway-config-ns is "kube-system", which causes
the ConfigMap to never be found if the controller runs in a different
namespace (e.g., "kubeovn").
This option allows users to explicitly set the namespace to match
where their ovn-external-gw-config ConfigMap is located, or leave it
empty to use the controller's namespace (PodNamespace).
Added to both kube-ovn and kube-ovn-v2 charts.
Signed-off-by: dnugmanov <damir_nug@mail.ru>1 parent 193f231 commit f97672e
File tree
4 files changed
+13
-0
lines changed- charts
- kube-ovn-v2
- templates/controller
- kube-ovn
- templates
4 files changed
+13
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments