Describe your changes
Adds a configuration option to allow for cross-namespace pings.
Our intention is to mainly use '' ("all namespaces") to handle connectivity probing between namespace-scoped things (network policies, policy-driven webhooks, etc.). I also expect that setting the value to a namespace other than the one containing the pod ran in something of an "query only" mode, in that it aggregates results without showing up in the others' ping targets.
Testing performed
I ran Goldpinger pods both with and without the new configuration: without, the pod successfully discovered itself in its own namespace (nothing else was running there), and with the value set to '' they successfully discovered each other across a namespace boundary.
Additional context
The "all-namespaces" behavior is really what I'm after; if y'all would prefer an --all-namespaces flag to an explicit namespace, I'm happy to make that change.
Describe your changes Adds a configuration option to allow for cross-namespace pings.
Our intention is to mainly use
''
("all namespaces") to handle connectivity probing between namespace-scoped things (network policies, policy-driven webhooks, etc.). I also expect that setting the value to a namespace other than the one containing the pod ran in something of an "query only" mode, in that it aggregates results without showing up in the others' ping targets.Testing performed I ran Goldpinger pods both with and without the new configuration: without, the pod successfully discovered itself in its own namespace (nothing else was running there), and with the value set to
''
they successfully discovered each other across a namespace boundary.Additional context The "all-namespaces" behavior is really what I'm after; if y'all would prefer an
--all-namespaces
flag to an explicit namespace, I'm happy to make that change.