mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-06-10 18:46:12 +00:00
k8s_cp - a new module for copying files to/from a Pod (#127)
* k8s_cp module * add documentation for k8s_cp module * add doc for the new module * pods should be running * support for binary, archive and zip file * sanity * Delete file.txt * remove unused * set back * Update collection.txt * Update test_copy_errors.yml * Update plugins/modules/k8s_cp.py Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> * Update k8s_cp.py * Update k8s_cp.py * tar binary requirements * Update common.py * Update k8s_cp.py * Update k8s_cp.py * replace kind with binary file * Update test_copy_large_file.yml * Update plugins/action/k8s_info.py Co-authored-by: Mike Graves <mgraves@redhat.com> * Update k8s_info.py * Update k8s_info.py * Update k8s_cp.py Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
BIN
molecule/default/roles/k8scopy/files/archive.tar
Normal file
BIN
molecule/default/roles/k8scopy/files/archive.tar
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
kubernetes.core
|
||||
@@ -0,0 +1 @@
|
||||
k8s_cp
|
||||
1
molecule/default/roles/k8scopy/files/data/file.txt
Normal file
1
molecule/default/roles/k8scopy/files/data/file.txt
Normal file
@@ -0,0 +1 @@
|
||||
This is a simple file used to test k8s_cp module on ansible.
|
||||
@@ -0,0 +1,2 @@
|
||||
cloud team
|
||||
content team
|
||||
BIN
molecule/default/roles/k8scopy/files/hello
Executable file
BIN
molecule/default/roles/k8scopy/files/hello
Executable file
Binary file not shown.
1
molecule/default/roles/k8scopy/files/simple_file.txt
Normal file
1
molecule/default/roles/k8scopy/files/simple_file.txt
Normal file
@@ -0,0 +1 @@
|
||||
This content will be copied into remote Pod.
|
||||
BIN
molecule/default/roles/k8scopy/files/simple_zip_file.txt.gz
Normal file
BIN
molecule/default/roles/k8scopy/files/simple_zip_file.txt.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user