ansible-collections / community.kubernetes

Kubernetes Collection for Ansible
https://galaxy.ansible.com/community/kubernetes
GNU General Public License v3.0
265 stars 106 forks source link

k8s: handle remote src and kubeconfig #320

Closed Akasurde closed 3 years ago

Akasurde commented 3 years ago
SUMMARY

Add logic to specify if src file is located on a remote node or Ansible Controller.

Add logic to specify if kubeconfig file is located on the remote node or Ansible Controller.

Fixes: #307

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
COMPONENT NAME

changelogs/fragments/307_remote_src.yml plugins/action/k8s_info.py

codecov[bot] commented 3 years ago

Codecov Report

Merging #320 (8355875) into main (549dd26) will decrease coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #320      +/-   ##
==========================================
- Coverage   37.03%   37.02%   -0.02%     
==========================================
  Files           3        3              
  Lines         729      732       +3     
  Branches      144      144              
==========================================
+ Hits          270      271       +1     
- Misses        410      412       +2     
  Partials       49       49              
Impacted Files Coverage Δ
...ns/community/kubernetes/plugins/action/k8s_info.py 22.06% <0.00%> (+0.23%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 549dd26...8355875. Read the comment docs.

Akasurde commented 3 years ago

recheck

sylvainOL commented 3 years ago

one of two issues of #307 is solved thanks to this PR. 👍

goneri commented 3 years ago

Thank you @Akasurde :-).