When I create secret with Rancher
and select it should be visible in all namespaces, it creates a secret without namespace
tag and with namespaceId: null
.
How to create such a secret without Rancher
? When I use kubectl
, it always binds it to the namespace from the command context.