apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Find out how kubectl handles empty namespace declarations #1299

Closed treblereel closed 2 months ago

treblereel commented 3 months ago

Derived from https://github.com/apache/incubator-kie-tools/pull/2373

treblereel commented 2 months ago

If kubectl is called with the option --namespace='', the default context will be used. That is, if the current context has not been overridden using kubectl config set-context --current, then the "default" namespace will be used.

This means that "" or namespace=nil should not be considered equivalent to "default".