mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-03 00:58:53 +00:00
[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:
parent
abb964a5a0
commit
0be66113d4
2 changed files with 7 additions and 4 deletions
3
changelogs/fragments/51495-k8s-load-envvars.yaml
Normal file
3
changelogs/fragments/51495-k8s-load-envvars.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- All K8S_AUTH_* environment variables are now properly loaded by the k8s lookup plugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue