Commit Graph

261 Commits

Author SHA1 Message Date
Abhijeet Kasurde
f58e6489ce Add contrib page
Fixes: #120

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-12 17:57:54 +05:30
Jeff Geerling
f38cae329d Merge pull request #173 from geerlingguy/1-0-0-release
Prepare for collection 1.0.0 release
2020-07-28 11:04:21 -05:00
Jeff Geerling
e29d4f1d1f Issue #171: Add links for new modules in README. 2020-07-28 10:38:05 -05:00
Jeff Geerling
81494e2ae2 Issue #171: Update fragment for PR #152 to include link. 2020-07-28 10:37:15 -05:00
Jeff Geerling
1ef28bcd73 Issue #171: Update changelog and make sure things are ready for 1.0.0 release. 2020-07-28 10:37:15 -05:00
Jeff Geerling
b51bbdf200 Issue #171: Update changelog fragments for 1.0.0 release. 2020-07-28 10:37:15 -05:00
Jeff Geerling
1f3d123a21 Merge pull request #172 from geerlingguy/docs-links
Update docs links in README for plugins.
2020-07-23 13:00:28 -05:00
Jeff Geerling
8bf59c5d92 Merge pull request #166 from geerlingguy/165-plugin-routing
Issue #165: Add plugin_routing information for deprecated plugins.
2020-07-23 13:00:13 -05:00
Jeff Geerling
cfcdf4afc3 Issue #165: Add plugin_routing information for deprecated plugins. 2020-07-23 12:04:54 -05:00
Jeff Geerling
9f099a43a7 Update docs links in README for plugins. 2020-07-23 12:03:53 -05:00
Jeff Geerling
85e6ccc743 Merge pull request #168 from geerlingguy/167-fix-ci
Fixes #167: Re-order ansible installation so it doesn't break on molecule test.
2020-07-23 12:03:22 -05:00
Jeff Geerling
0473ac9fcc Issue #167: Try Ansible's stable release. 2020-07-23 11:22:35 -05:00
Jeff Geerling
bab4e38738 Issue #167: Install ansible-base via pip with --pre. 2020-07-23 11:15:35 -05:00
Jeff Geerling
9c0f7fe0ba Issue #167: Attempt installing ansible's stable-2.10 branch. 2020-07-23 11:06:56 -05:00
Abhijeet Kasurde
3aaf182c30 k8s_exec: Return rc for the command executed (#158)
k8s_exec now returns command return code in output.

Fixes: #122

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-23 10:52:26 +05:30
Abhijeet Kasurde
6c059bd2bc helm_plugin and helm_plugin_info: new module (#154)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-22 09:14:23 +05:30
Jeff Geerling
f4f4ec6fcf Issue #167: More fixes, oops. 2020-07-20 16:31:49 -05:00
Jeff Geerling
4a2b1b918b Issue #167: Make yamllint less bothersome and install ansible-base in different order. 2020-07-20 16:25:35 -05:00
Jeff Geerling
6d2567b6c0 Fixes #167: Re-order ansible installation so it doesn't break on molecule test. 2020-07-20 16:06:40 -05:00
Jeff Geerling
a16ac42f3e Issue #148: Switch links and CI process to main from master branch. 2020-07-17 08:55:11 -05:00
Abhijeet Kasurde
c4f3e5a034 k8s_info: Update example using vars (#156)
Fixes: #151

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-13 16:35:33 +05:30
Abhijeet Kasurde
6b28ef3c17 kubectl: redacted token and password from console log (#159)
** SECURITY_FIX ** for CVE-2020-1753

kubectl connection plugin now redact kubectl_token and
kubectl_password from console log.

Fixes: #65

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-11 08:50:15 +05:30
LucasBoisserie
3e971e0ad3 Create ns with helm (#157)
Added support `--create-namespace` in helm module.
2020-07-11 08:45:22 +05:30
Fabian von Feilitzsch
806c808c9d Merge pull request #155 from willthames/check_mode_results
Ensure check mode results are as expected
2020-07-10 16:04:42 -04:00
Fabian von Feilitzsch
dd4ebf2194 Merge pull request #152 from Akasurde/context_aliases
helm_: Add context aliases for kube_context
2020-07-10 15:55:51 -04:00
Will Thames
e3223a8f60 Ensure check mode results are as expected
check_mode with wait updates the result based on the existing resource
which won't change with check_mode, so returns incorrect results.
Only run the wait checks in non check_mode (this also avoids the issue
of waiting for resource creation that will never happen in check mode)
2020-07-08 21:47:23 +10:00
Fabian von Feilitzsch
2e86b566a6 Merge pull request #153 from multi-arch/master
Update openshift requirements in k8s module doc
2020-07-06 11:50:34 -04:00
Yaakov Selkowitz
9aa85e8eb5 Update openshift requirements in k8s module doc 2020-07-06 11:10:59 -04:00
Abhijeet Kasurde
48a45de8b0 helm_: Add context aliases for kube_context
Added 'context' aliases for 'kube_context' in
helm and helm_info module.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-06 11:18:23 +05:30
Abhijeet Kasurde
ef6722d290 helm: Add support for K8S_AUTH_CONTEXT, K8S_AUTH_KUBECONFIG env (#141)
Added support for K8S_AUTH_CONTEXT, K8S_AUTH_KUBECONFIG env
2020-07-02 18:48:41 +05:30
Jeff Geerling
70568006d4 Merge pull request #149 from geerlingguy/release-0-11-1
Changelog and prep for release 0.11.1
2020-07-01 14:58:00 -05:00
Jeff Geerling
cc7d6afaf4 Prepare for release 0.11.1. 2020-07-01 14:31:12 -05:00
Jeff Geerling
efcf870743 Release 0.11.1 prep - add missing changelog fragments. 2020-07-01 14:26:43 -05:00
Jeff Geerling
4ffe372446 Merge pull request #146 from geerlingguy/145-fqcn
Fixes #145: Use FQCN in module docs and in plugin examples.
2020-07-01 12:21:20 -05:00
Jeff Geerling
881ca3d006 Fixes #145: Use FQCN in module docs and in plugin examples. 2020-06-29 16:25:42 -05:00
Abhijeet Kasurde
9fb808c7f3 k8s: Fix a bug when manifest file ends with '---' (#139)
Any kubernetes manifest file ending with '---' will
generate an error when applied using 'k8s' module.

Although this may not be 'legal' YAML, this is quite frequent,
specially on helm's generated manifest files.

migrated from https://github.com/ansible/ansible/pull/59160

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-06-25 09:11:03 +10:00
Jeff Geerling
10b332d0a3 Merge pull request #131 from geerlingguy/40-changelogs
Issue #40: Add changelog and fragments and document new changelog process.
2020-06-22 13:00:54 -05:00
Jeff Geerling
8674a449f7 Issue #40: Add PR and issue refs to fragments, and update CHANGELOG.rst. 2020-06-22 12:33:44 -05:00
Jeff Geerling
d3dc3e25a4 Issue #40: Manually override module namespace so extra info isn't output. 2020-06-18 15:16:10 -05:00
Jeff Geerling
938b01921a Issue #40: Generate CHANGELOG.rst in root dir. 2020-06-18 15:16:10 -05:00
Jeff Geerling
49e25c8eef Issue #40: gitignore the .plugin-cache.yml file. 2020-06-18 15:16:10 -05:00
Jeff Geerling
2dd81d6a39 Issue #40: Fix YAML lint issues from changelog configs. 2020-06-18 15:16:10 -05:00
Jeff Geerling
e80e3fa014 Issue #40: Add changelog and fragments and document new changelog process. 2020-06-18 15:16:10 -05:00
Jeff Geerling
e6773fdc66 Merge pull request #115 from Akasurde/i109
helm: Add option 'atomic'
2020-06-18 15:15:08 -05:00
Abhijeet Kasurde
5b7046470e helm: Add option 'atomic'
helm command provides option to remove installation on failure using
'atomic' flag.
This fix adds this parameter in helm module.

Fixes: #109

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-06-18 17:01:45 +05:30
Jeff Geerling
a9aab12e36 Merge pull request #130 from geerlingguy/129-2-11-sanity-ignore
Fixes #129: Add 2.11 sanity ignore file.
2020-06-16 15:45:18 -05:00
Jeff Geerling
c3796da76d Fixes #129: Add 2.11 sanity ignore file. 2020-06-16 15:19:05 -05:00
Jeff Geerling
9d46d7b7c8 Merge pull request #126 from geerlingguy/125-requires-ansible
Issue #125: Add requires_ansible version constraints to runtime.yml.
2020-06-16 15:06:21 -05:00
Abhijeet Kasurde
3004c8d3f0 Handle invalid kubeconfig parsing error (#119)
Provide message to user about invalid or empty kubeconfig
by handling exception raised by kubernetes Python API

Fixes: #90

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-06-16 11:03:08 +05:30
Jeff Geerling
0e92889d34 Merge pull request #123 from willthames/flake8
Flake8
2020-06-15 12:34:46 -05:00