I have added support for a kubecontext fixture that allows the context to be specified via a fixture to align with the support for the kubeconfig fixture.
The default implementation returns the value from the session config.
I need this because I am in a weird world where I am using kubetest against an application that is fully async and I need to align the configuration between the sync kubernetes library utilized by kubetest with what is used by the kubernetes_asyncio fork utilized by the main application code.
Hi there -
I have added support for a
kubecontext
fixture that allows the context to be specified via a fixture to align with the support for thekubeconfig
fixture.The default implementation returns the value from the session config.
I need this because I am in a weird world where I am using
kubetest
against an application that is fully async and I need to align the configuration between the sync kubernetes library utilized by kubetest with what is used by the kubernetes_asyncio fork utilized by the main application code.Docs are updated and tests are clean.