mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
K8s dynamic collected changes (#40745)
* Move k8s modules to dynamic backend * update required openshift version * update -> patch * use new dynamic client exceptions * style * guard urllib3 import * guard ansibleerror import * give more information about error cause * format in variable * style * rename tests * Search for provided kind in a few more places to match old behavior, properly handle failure * make common code use fail instead of fail_json, to work for lookup plugins as well * update docs * move openshift_raw tests into k8s tests * fix typo * Use diff of response and resource to determine change, don't do any checking client-side before making requests * remove duplicate yaml blocks * Update porting guide for k8s module * remove invalid doc refs * If fuzzy searching finds a resource, update resource_definition to match proper kind and version * remote unsupported openshift_raw variables * properly check environment variables when determining auth method:
This commit is contained in:
parent
82dfa542c2
commit
4d77878654
23 changed files with 661 additions and 2038 deletions
1
lib/ansible/modules/clustering/k8s/_k8s_raw.py
Symbolic link
1
lib/ansible/modules/clustering/k8s/_k8s_raw.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
k8s.py
|
Loading…
Add table
Add a link
Reference in a new issue