Commit Graph

174 Commits

Author SHA1 Message Date
Jeff Geerling
4e40ac382e Merge pull request #95 from orjan/91-remove-metadata
Remove ANSIBLE_METADATA
2020-05-14 09:17:45 -05:00
Örjan Sjöholm
f45d33224f Remove ANSIBLE_METADATA
The meta data field is deprecated and is not used anymore.

See ansible-collections/overview#57 for more details.
2020-05-14 14:25:07 +02:00
Jeff Geerling
5f3d2fc6f1 Merge pull request #86 from geerlingguy/0_11-release-prep
Preparation for 0.11.0 release - and point helm docs at repo for now.
2020-05-04 12:07:53 -05:00
Jeff Geerling
b084e132cb Merge branch 'master' into 0_11-release-prep 2020-05-04 12:07:40 -05:00
Jeff Geerling
7875aba0f9 Merge pull request #85 from geerlingguy/29-update-release-instructions
Fixes #29: Make sure release instructions ignore extra files in repo.
2020-05-04 12:03:13 -05:00
Jeff Geerling
b01cbc163e Preparation for 0.11.0 release - and point helm docs at repo for now. 2020-05-04 11:51:53 -05:00
Jeff Geerling
9885c3e1f6 Fixes #29: Make sure release instructions ignore extra files in repo. 2020-05-04 11:41:45 -05:00
Jeff Geerling
b21494ab23 Merge pull request #61 from LucasBoisserie/helm_cli
Add helm, helm_info, and helm_repository modules
2020-05-04 11:34:15 -05:00
Jeff Geerling
4de52c5a98 Merge pull request #81 from geerlingguy/76-rename-repo
Fixes #76: Rename repository to community.kubernetes.
2020-04-29 17:36:18 -05:00
Jeff Geerling
130ed49019 Fixes #76: Rename repository to community.kubernetes. 2020-04-29 17:23:02 -05:00
LucasBoisserie
9f788c63e7 Missing helm_repository 2020-04-27 18:03:39 +02:00
LucasBoisserie
1a23994448 Add helm_repository module and fix review suggestion 2020-04-25 12:24:26 +02:00
LucasBoisserie
e89aa1c692 Fix englist grammar errors and rename modules to helm and helm_info 2020-04-23 16:29:34 +02:00
LucasBoisserie
438a30bd8e Remove Helm 2 support and add tests for helm_cli_info 2020-04-23 15:52:12 +02:00
LucasBoisserie
2e1b0f6817 t# This is a combination of 2 commits.
Add requested changes for helm
2020-04-23 15:52:12 +02:00
LucasBoisserie
c36a2d50af increase timeout for waiter 2020-04-23 15:52:12 +02:00
LucasBoisserie
720326ebb4 Add helm_cli & helm_cli_info 2020-04-23 15:52:12 +02:00
Jeff Geerling
dd8b7162b1 Merge pull request #69 from fabianvf/properly-serialize-log
k8s_log no longer attempts to parse log as JSON
2020-04-21 16:14:38 -05:00
Jeff Geerling
0199bc950d Merge pull request #78 from geerlingguy/77-checkout-v2
Fixes #77: Update checkout action to v2 for CI stability.
2020-04-21 14:09:50 -05:00
Jeff Geerling
1ea2781562 Fixes #77: Update checkout action to v2 for CI stability. 2020-04-21 13:57:09 -05:00
Fabian von Feilitzsch
2191825cbd Fix job creation task name 2020-04-01 16:39:20 -04:00
Fabian von Feilitzsch
41407a9362 Make a simpler test 2020-03-31 16:10:09 -04:00
Fabian von Feilitzsch
0f87f2b826 Fix linting errors 2020-03-31 15:14:07 -04:00
Fabian von Feilitzsch
c1df59cb3a Add test 2020-03-31 15:02:31 -04:00
Fabian von Feilitzsch
fe6480594e k8s_log no longer attempts to parse log as JSON
Fixes #68

Rather than relying on the default serialization logic (which attempts
    to parse a log as JSON and then load it into a wrapper class), we
now simply return the raw log data as expected. The previous behavior
worked in many cases because the log was serialized into a JSON string,
       but in the case of #68 the log was loaded as a JSON float, which
       made the error handling fail to fallback to returning the raw
       data.
2020-03-31 14:52:52 -04:00
Jeff Geerling
493b6e31fb Use Ansible devel for all tests. 2020-03-28 10:16:02 -05:00
Jeff Geerling
3790cc46f0 Issue #60: Bump version to 0.10.0. 2020-03-23 15:32:35 -05:00
Jeff Geerling
56704752ab Issue #60: Add CHANGELOG entries for 0.10.0. 2020-03-23 15:31:13 -05:00
Jeff Geerling
55e114d6a3 Merge pull request #64 from ansible-collections/63-ansible-base-switch
Update CI to use ansible/ansible instead of ansible-base
2020-03-23 12:48:19 -05:00
Jeff Geerling
f7e7cb0e55 Fixes #63: Use ansible/ansible instead of ansible-base for CI. 2020-03-23 12:31:02 -05:00
Jeff Geerling
98b72a4b2d Merge pull request #59 from ansible-collections/49-fixup
Remaining fixes from diff on auto-migrated collection.
2020-03-20 16:02:36 -05:00
Jeff Geerling
7aa071c98f Issue #49: Remaining fixes from diff on auto-migrated collection. 2020-03-20 15:42:13 -05:00
Jeff Geerling
78902af34a Merge pull request #56 from ansible-collections/49-missing-pr-65424
Fix examples to use from_yaml filter with lookup
2020-03-12 14:27:15 -05:00
Jeff Geerling
5924561afc Merge pull request #55 from ansible-collections/49-missing-pr-63219
k8s: persist refreshed tokens
2020-03-12 14:08:36 -05:00
Jeff Geerling
c5ba4bb13a Merge pull request #54 from ansible-collections/49-missing-pr-60726
Add exception handling when retrieving k8s client
2020-03-12 14:07:23 -05:00
Baptiste Mille-Mathias
9b821a9333 Fix examples to use from_yaml filter with lookup 2020-03-12 13:55:07 -05:00
Fabrice Rabaute
5cb93f16b6 k8s: persist refreshed tokens
When the ansible k8s module is refreshing the tokens from the local kube
config, it should save those token to the kube config file.

If this is not done, this might break the next kube client call as the
token in the local kube config file is not valid anymore and refreshing
can fail.

This commit is adding an env var K8S_AUTH_PERSIST_CONFIG that can be
used to set this flag to true (default is false, same as current
behavior).
2020-03-12 13:50:43 -05:00
Will Thames
d1c0b3a00d Add exception handling when retrieving k8s client 2020-03-12 13:44:06 -05:00
Jeff Geerling
49a0f2fecc Merge pull request #52 from danilo404/small-kubectl-docs-fix
Fix docs for kubectl.py
2020-03-12 09:11:04 -05:00
Danilo Riecken P. de Morais
3693656559 Fix docs for kubectl.py 2020-03-12 13:14:20 +01:00
Fabian von Feilitzsch
afc6d9d753 Merge pull request #51 from ansible-collections/warn_cli_options
warn about disclosure when using certain options
2020-03-11 12:51:09 -04:00
Brian Coca
b75d6b7cc9 warn about disclosure when using certain options 2020-03-11 11:50:48 -04:00
Jeff Geerling
50557ac47c Merge pull request #47 from ansible-collections/code-coverage
Switch code coverage to use GitHub Action, tokenless
2020-03-05 09:32:06 -06:00
Jeff Geerling
f5c9dcdd29 Use GitHub Action for code coverage reporting. 2020-03-05 09:26:46 -06:00
Jeff Geerling
f7b951c475 Merge pull request #45 from ansible-collections/44-bare-var-fix
Fix bare variable deprecation warning and clean up test var
2020-03-04 14:38:12 -06:00
Jeff Geerling
ac9ee36abb Fixes #44: Fix bare variable deprecation warning by cleaning up unnecessary variable. 2020-03-04 14:22:51 -06:00
Jeff Geerling
306bea8fe3 Ensure set -e is on molecule lint command. 2020-02-24 09:43:17 -06:00
Jeff Geerling
5491d5b4b2 Merge pull request #34 from ansible-collections/33-fix-sanity-checks
Fix failing CI tests by updating args in k8s_service
2020-02-21 11:13:34 -06:00
Jeff Geerling
b32e2609c0 Issue #33: Fix python lint issue with spacing. 2020-02-20 10:54:24 -06:00
Jeff Geerling
5417177436 Fixes #33: Add missing args and docs for src and apply parameters in k8s_service.py. 2020-02-20 10:54:24 -06:00