It would be nice to add --namespace flag for run subcommand as in apply command. But noticed a (DEPRECATED) warning. So couldn't get the actual reason why --namespace is deprecated. We moved it to an env var or something different way?
Workaround is to switch namespace using kubectl $ kubectl config set-context foo then ko run .
ko: 0.11.2
cc @developer-guy