Kubereq.Kubeconfig.ENV (kubereq v0.4.2)
View SourcePluggable step that loads the Kubeconfig from a config file whose location is
defined by an ENV variable. Uses Kubereq.Kubeconfig.File under the hood.
Examples
step Kubereq.Kubeconfig.ENVBy default, this step assumes the name of the variable to be KUBECONFIG.
This can be customized through the :env_var option
step Kubereq.Kubeconfig.ENV, env_var: SPECIAL_KUBECONFIGOptions
env_var- (optional) The name of the environment variable. Defaults toKUBECONFIG!- (optional. And yes, that's a valid atom) Raise an exception if the env var not found. Defaults tofalse.