[k8s] Always check envvars when auth parameter is not provided (#51495)

* Always check envvars when auth parameter is not provided

This will make it so that all code using the get_api_client
method will make use of the environment variables, instead of
silently ignoring them if default values haven't been set. This
affects at least the k8s lookup plugin.

* Add changelog
This commit is contained in:
Fabian von Feilitzsch
2019-01-30 16:52:12 -05:00
committed by ansibot
parent abb964a5a0
commit 0be66113d4
2 changed files with 7 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- All K8S_AUTH_* environment variables are now properly loaded by the k8s lookup plugin