Commit 0a41aaa
authored
Fix default metadata namespaces (#1633)
Summary: #1368 added the ability to limit the metadata service to
specific namespaces. By default, if no namespaces are mentioned, the
flag is supposed to choose all namespaces.
However, if the environment variable is not specified, it is actually
parsed as an empty list and the default is not properly chosen. Instead,
we can assume no users actually want to watch 0 namespaces, and set it
to all namespaces when that occurs.
Relevant Issues: N/A
Type of change: /kind bug
Test Plan: Skaffold deploy metadata service
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>1 parent ea9a357 commit 0a41aaa
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
241 | 244 | | |
242 | 245 | | |
243 | 246 | | |
| |||
0 commit comments