abikouo and GitHub
39b6c43ab7
add support for user impersonation for k8s modules ( #250 )
...
add support for user impersonation for k8s modules
SUMMARY
k8s module should not allow user to perform operation using impersonation as describe here
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation
This pull request closes #40
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
2021-11-17 13:25:06 +00:00
abikouo and GitHub
8436ad1341
Fix sanity test - devel drops support for python 2.6 ( #251 )
...
Fix sanity test - devel drops support for python 2.6
SUMMARY
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: None <None>
2021-10-04 10:12:05 +00:00
abikouo and GitHub
c65512357d
k8s - allow resource definition using generateName ( #238 )
...
k8s - allow resource definition using generateName
SUMMARY
#35
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
k8s
ADDITIONAL INFORMATION
- name: create pod using generateName
k8s:
namespace: test
generate_name: pod-
definition:
kind: Pod
spec:
containers:
- name: py
image: python:3.7-alpine
- name: create pod using generateName
k8s:
namespace: test
definition:
kind: Pod
metadata:
generateName: pod-
spec:
containers:
- name: py
image: python:3.7-alpine
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
Reviewed-by: None <None>
2021-09-30 14:58:50 +00:00
abikouo and GitHub
8e46f92703
Helm uninstall now support wait parameter ( #235 )
...
Helm uninstall now support wait parameter
SUMMARY
closes #33
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
- helm:
chart_name: test
state: absent
wait: yes
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
Reviewed-by: None <None>
2021-09-29 16:21:37 +00:00
abikouo and GitHub
ab0e38753b
add plugin_version parameter for helm_plugin module ( #226 )
...
add plugin_version parameter for helm_plugin module
SUMMARY
closes #157
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-09-29 11:06:33 +00:00
abikouo and GitHub
6061586289
helm - allow setting timeout independent of wait parameter ( #231 )
...
helm - allow setting timeout independent of wait parameter
SUMMARY
closes #67
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
2021-09-28 16:29:26 +00:00
abikouo and GitHub
63b84d7f54
kustomize lookup plugin ( #225 )
...
kustomize lookup plugin
SUMMARY
new lookup plugin to support kustomize feature for kubernetes
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-09-10 21:02:17 +00:00
abikouo and GitHub
d78b64d792
add support for in-memory kubeconfig ( #212 )
...
add support for in-memory kubeconfig
SUMMARY
k8s module support now authentication with kubeconfig parameter as file and dict.
Closes #139
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-08-30 09:31:07 +00:00
abikouo and GitHub
e21ad0212d
fix drain test for ansible 2.9 release ( #211 )
...
Test molecule on ansible release 2.9 and 2.10
SUMMARY
Debug only
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: None <None>
2021-08-26 16:08:48 +00:00
abikouo and GitHub
a4701a6806
replace iterator by generator ( #205 )
...
Fix network_sanity_ee_tests
SUMMARY
Network sanity ee tests are broken
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
2021-08-17 13:33:27 +00:00
abikouo and GitHub
b875531c8a
k8s_drain new module ( #141 )
...
k8s_drain new module
SUMMARY
new module to drain, cordon or uncordon node from k8s cluster.
#141
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
k8s_drain
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: None <None>
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-08-09 08:00:34 +00:00
abikouo and GitHub
76a77aff1f
[connection plugin] add missing information from censored command ( #196 )
...
[connection plugin] add missing information from censored command
SUMMARY
when running playbook with vvv option, the censored command display is not reflecting the execution
ISSUE TYPE
Bugfix Pull Request
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-08-04 13:56:27 +00:00
abikouo and GitHub
4b682666f1
k8s - add label_selectors options ( #158 )
...
k8s - add label_selectors options
SUMMARY
k8s now support label_selectors options same as k8s_info
Resolves #43
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
k8s
Reviewed-by: Mike Graves <mgraves@redhat.com >
Reviewed-by: None <None>
2021-07-29 09:56:34 +00:00
abikouo and GitHub
f5a81941ff
tox ini configuration ( #181 )
...
* tox for zuul jobs
* Delete .flake8
* linters
* Update tox.ini
* integration
* integration
2021-07-27 18:16:52 +02:00
abikouo and GitHub
f98469e5ef
ansible sanity for k8s_cp ( #183 )
2021-07-27 09:30:24 +05:30
c330c7ec65
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 >
2021-07-26 13:21:34 +02:00
3c36b6fa0f
k8s support diff mode ( #146 )
...
* support diff mode for k8s module
* Update and rename 145-k8s-add-support-diff-mode.yml to 146-k8s-add-support-diff-mode.yml
* Update 146-k8s-add-support-diff-mode.yml
* Update changelogs/fragments/146-k8s-add-support-diff-mode.yml
Co-authored-by: Mike Graves <mgraves@redhat.com >
* update k8s_scale and k8s_json_patch
* diff for k8s_scale and k8s_json_patch
Co-authored-by: Mike Graves <mgraves@redhat.com >
2021-07-21 14:29:28 +02:00
abikouo and GitHub
25100e7f5e
adding a prepare step to validate that node is ready for schedule ( #160 )
2021-07-07 07:23:45 -04:00
abikouo and GitHub
ccc2b61719
multiple fixes on molecule helm testing ( #121 )
2021-07-01 14:36:39 +02:00
abikouo and GitHub
35af8a48ad
molecule gc.yml - fix sporadic fail ( #144 )
...
* update
* Update gc.yml
2021-06-24 14:33:14 +02:00
abikouo and GitHub
b50f1f2fc9
Fix molecule test `gc.yml` ( #132 )
...
* add until loop
* Update gc.yml
2021-06-22 08:55:40 +02:00
abikouo and GitHub
46494a18bd
Revert "k8s ability to wait on arbitrary property ( #105 )" ( #133 )
...
This reverts commit 4ccb15d4ad .
2021-06-15 14:32:21 +02:00
4ccb15d4ad
k8s ability to wait on arbitrary property ( #105 )
...
* missing implementation of jsonpath library
* not tested
* sanity
* save
* updates
* Update args_common.py
* lint validation
* fix
* Update k8s.py
* attribute should match for all
* select wait
* Revert "select wait"
This reverts commit a20a1f6f01 .
* sanity
* Update molecule/default/tasks/waiter.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
* Update jsonpath_extractor.py
* Update k8s_wait_options.py
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2021-06-15 10:44:26 +02:00
abikouo and GitHub
58dba6bf22
k8s apply - fix list merge for array attribute with empty dict ( #131 )
...
Fix k8s apply
2021-06-15 10:41:55 +02:00
abikouo and GitHub
481521a09d
k8s_scale - add option label_selectors and continue_on_error ( #114 )
...
k8s_scale suppport for label selector
2021-06-07 09:57:50 +02:00
abikouo and GitHub
dd53fde0e1
remove openshift dependency for molecule testing ( #118 )
2021-06-02 10:09:19 +02:00
192cae1507
k8s - patch existing resource ( #90 )
...
* patch only
* add changelogs
* Rename 89-k8s-add-parameter-patch_only.yml to 90-k8s-add-parameter-patch_only.yml
* Update 90-k8s-add-parameter-patch_only.yml
* patch_only parameter changed to state=patched
* Update 90-k8s-add-parameter-patch_only.yml
* Update plugins/modules/k8s.py
Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us >
* Update molecule/default/tasks/patched.yml
Co-authored-by: John Mazzitelli <mazz@redhat.com >
* Update molecule/default/tasks/patched.yml
Co-authored-by: John Mazzitelli <mazz@redhat.com >
* sanity issue
Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us >
Co-authored-by: John Mazzitelli <mazz@redhat.com >
2021-05-19 11:03:11 +02:00
abikouo and GitHub
5bb827f0f4
2.11 sanity on collection ( #103 )
...
* sanity 2.11
* add repo name
* repo name syntax
* install requirements
* update ignore
* molecule tests on multiple versions
* Update ci.yml
2021-05-17 15:17:45 +02:00
fc80540db5
drop python 2 support (breaking changes) ( #86 )
...
* drop python 2 support
* change log
* Update changelogs/fragments/86_drop_python2_support.yaml
Co-authored-by: Mike Graves <mgraves@redhat.com >
* Update k8s.py
Co-authored-by: Mike Graves <mgraves@redhat.com >
2021-05-04 18:07:22 +02:00
e754a6cd31
`helm_plugin and helm_plugin_info remove unused parameter release_namespace` ( #85 )
...
* remove unused parameter release_namespace from documentation
* Update changelogs/fragments/85_helm_plugin.yaml
Co-authored-by: Mike Graves <mgraves@redhat.com >
2021-05-04 15:05:18 +02:00
abikouo and GitHub
963aa3fbe6
support merge_type`json` ( #83 )
...
Fixes #54
2021-04-28 09:06:43 -04:00
d29f8c1eb7
add option proxy_headers for k8s modules ( #58 )
...
* add option proxy_headers for k8s modules
* Update and rename 50-add-support-for-proxy_headers-on-authentication to 58-add-support-for-proxy_headers-on-authentication.yaml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2021-04-28 08:44:57 +02:00
361061c727
k8s loop flattening for template argument ( #49 )
...
* repo migration
* Update and rename 411-k8s-loop-flattening-and-continue_on_error.yaml to 49-k8s-loop-flattening-and-continue_on_error.yaml
* Update plugins/modules/k8s.py
Co-authored-by: Mike Graves <mgraves@redhat.com >
* split into multiple lines
* linting
* Update .gitignore
* Update template.yml
* merge
* Update template.yml
* deep copy environment
* deepcopy
* lint
* remove useless comment
* multiple definition
* tests update
* jmespath
* Update ci.yml
* Update template.yml
Co-authored-by: Mike Graves <mgraves@redhat.com >
2021-04-22 19:28:07 +02:00
abikouo and GitHub
b59336e6b2
ignore .cache directory used for tests ( #77 )
2021-04-22 16:11:59 +02:00
8cee069ff1
Fix apis being overwritten when using k8s_cluster_info ( #47 )
...
* Update and rename 389-fix-apis-being-overwritten-in-k8s_cluster_info.yaml to 41-fix-apis-being-overwritten-in-k8s_cluster_info.yaml
* Update changelogs/fragments/41-fix-apis-being-overwritten-in-k8s_cluster_info.yaml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2021-04-19 09:05:13 -04:00