Abhijeet Kasurde
c76aa6e45a
Use runtime.yml for action plugin redirection ( #299 )
...
Previously, kubernetes collection used symlink for action plugin redirection. It is problematic when FQCN
is not provided. Using runtime.yml to redirect the action plugin.
Fixes : #278
2020-11-10 14:15:58 -05:00
Abhijeet Kasurde
66494890ba
Enable validate_certs test for kubernetes ( #298 )
...
Fixes : #24
2020-11-10 14:14:54 -05:00
Abhijeet Kasurde
e2d4cff952
Updated chart repo URLs ( #297 )
2020-11-10 14:13:09 -05:00
Abhijeet Kasurde
77e48d0c97
helm: return correct information in check mode ( #281 )
...
Fixes : #280
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-10-22 15:22:17 -05:00
jaydesl
aad4696f20
Fix default configuration getter in client v12.0.0 ( #276 )
...
Fixes #273
2020-10-22 15:41:51 -04:00
Abhijeet Kasurde
d03823794e
helm_repository: Add information about 'RETURN' ( #269 )
...
Fixes : #256
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-10-12 11:20:53 -04:00
Jeff Geerling
9a2e29acd2
Issue #263 : Prepare for 1.1.1 release. ( #268 )
2020-10-09 13:46:20 -05:00
Jeff Geerling
d60a726e6d
Fix sed command for README fix in downstream build. ( #267 )
2020-10-09 13:19:53 -05:00
Timothy Appnel
1486ffd6e6
Fixes #262 downstream.sh README page edits ( #266 )
2020-10-09 13:49:26 -04:00
Jeff Geerling
f01644a565
Fix the downstream build and release process ( #259 )
...
* Issue #254 : Fix 'unbound variable' error with empty array.
* Issue #254 : Make downstream-release work completely.
* Make sed commands cross-platform.
2020-10-09 11:06:55 -05:00
Jeff Geerling
cbd3a2554e
Issue #260 : Sanity test 'compile' failing because of positional args. ( #261 )
...
* Issue #260 : Sanity test 'compile' failing because of positional args.
* Issue #260 : Run integration tests on older Python 3.6 still.
* Issue #260 : Add changelog fragment.
2020-10-09 10:17:52 -05:00
Jeff Geerling
9ff259c638
Issue #254 : Prepare for 1.1.0 release. ( #257 )
...
* Issue #254 : Add changelogs for 1.1.0.
* Issue #254 : Two of the changes are major.
* Update CHANGELOG and galaxy tag version.
* Issue #254 : Document kubernetes.core release process.
2020-10-08 15:35:42 -05:00
Timothy Appnel
f0dacc083c
Embedded docs clarifications and refinements. ( #258 )
...
* Another embedded docs clarifications in k8s_rollback
* Embedded docs clarification in helm_pljugin_info
* Embedded docs clarification in k8s
* More embedded docs clarification in k8s inventory plugin
* Fixed markdown formatting to RST in k8s_rollback
2020-10-08 15:32:54 -05:00
Timothy Appnel
ef256060f1
Embedded docs clarification in k8s_rollback ( #255 )
2020-10-08 13:10:06 -04:00
Timothy Appnel
5fa34b6b60
Embedded docs clarification in helm_plugin
2020-10-08 13:09:21 -04:00
Timothy Appnel
784347703b
Embedded docs clarification in k8s_cluster_info
2020-10-08 12:33:20 -04:00
Nathan Loika
50c82056b3
Add appVersion check to Helm ( #247 )
...
When upgrading a Helm release include the chart's appVersion in the idempotence check. Fixes #246
2020-10-07 16:40:59 -04:00
Timothy Appnel
b7ec6bf79d
Fixes #250 by defining the FQCN connection plugin name to force using the one included in this collection ( #252 )
2020-10-07 15:58:03 -04:00
Julien Huon
0377a892d5
k8s_rollback: new module ( #26 )
...
This module allows user to rollback deployment and daemonsets.
Signed-off-by: Julien Huon <julien@huon.email >
2020-10-07 10:07:47 +05:30
Jeff Geerling
fc1f4e5ffd
helm: Support for single or multiple values files ( #236 was #136 )
2020-10-05 13:19:36 -04:00
Abhijeet Kasurde
0f33aafca7
Add testcase for multi resource template ( #245 )
...
User can combine multiple resources in the given template
file, which can be consumed by k8s module to create multiple
resources at once.
Fixes : #243
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-10-01 08:56:40 -05:00
Gerald Spencer
7946b398a7
Return status in check mode ( #192 )
...
It is useful to return both the current values of the release, as well as the proposed values.
2020-09-29 14:09:43 -04:00
Fabian von Feilitzsch
0f3fef927e
SelfSubjectAccessReviews now work with the k8s module ( #237 )
...
* SelfSubjectAccessReviews now work with the k8s module
2020-09-28 12:20:01 -04:00
Abhijeet Kasurde
5de49373b7
k8s_cluster_info: new module ( #160 )
...
Get information about k8s APIs
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-28 14:01:37 +05:30
Abhijeet Kasurde
00fa8789a2
k8s: add support for template ( #230 )
...
Fixes : #37
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-28 11:35:26 +05:30
Abhijeet Kasurde
f03d2ce243
k8s_info: Add support for wait ( #235 )
...
Fixes : #18
2020-09-28 10:52:00 +05:30
Timothy Appnel
70a4b068ff
Fixed CHANGELOG underlining
2020-09-27 15:29:44 -04:00
Timothy Appnel
d06dfc37d4
Added release dates to CHANGELOG
2020-09-27 15:24:46 -04:00
tima
833ac7c4b0
Merge pull request #99 into main
2020-09-22 17:00:12 -04:00
tima
e85fd25eed
Fixed merge conflict in module_utils/raw during rebase
2020-09-22 16:59:54 -04:00
Alan Rominger
7e31231e7b
Add execution environment metadata ( #211 )
...
Add python requirements
Add kubectl system requirement strictly for Fedora
2020-09-22 14:28:26 -05:00
Abhijeet Kasurde
308956b313
Replace KubernetesRawModule class ( #231 )
...
* Migrate from KubernetesRawModule to K8sAnsibleMixin
* Modified k8s.py
* Modified k8s_service.py
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-19 09:54:40 +05:30
Shaun Smiley
608734a6c9
Merge pull request #3 from XevoInc/merge-upstream
...
Merge upstream
2020-09-18 14:00:00 -07:00
Shaun Smiley
46fdbe0eff
Merge remote-tracking branch 'upstream/main' into merge-upstream
2020-09-18 13:22:53 -07:00
Abhijeet Kasurde
51cadb7150
Replace KubernetesAnsibleModule class with dummy class ( #227 )
...
* Make an AnsibleMixin parent class for every module
* Replace KubernetesAnsibleModule class with dummy class
* Modified k8s_log
* k8s_exec refactor
* k8s_info refactor
* k8s_service refactor
* k8s_scale refactor
* Fix integration tests
* Add a warning about the deprecation of KubernetesAnsibleModule
* Add a dummy class for backward compatibility
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-16 20:35:05 +05:30
Fabian von Feilitzsch
28dcf76cfb
Merge pull request #228 from fabianvf/ignore-diff-with-warning
...
Do not mark task as changed when diff is irrelevant
2020-09-15 14:42:08 -04:00
Fabian von Feilitzsch
1ea0fa1c70
Merge pull request #229 from Akasurde/helm_kubeconfig_fix
...
helm: Support vaulted kubeconfig
2020-09-15 14:41:54 -04:00
Fabian von Feilitzsch
571406ce47
Merge pull request #224 from Akasurde/handle_exc
...
handle exception raised due to DynamicClient
2020-09-15 14:40:59 -04:00
Abhijeet Kasurde
f2b1b267a5
helm: Support vaulted kubeconfig
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-15 13:56:43 +05:30
Fabian von Feilitzsch
0afe40e657
Do not mark task as changed when diff is irrelevant
...
When the diff contains changes only to the fields `metadata.generation`
or `metadata.resourceVersion`, do not mark the task as changed. Instead,
emit a warning highlighting that the API itself may not be
idempotent, but that there was no meaningful difference between the
desired and actual state of the resource.
2020-09-14 15:51:08 -04:00
Abhijeet Kasurde
527859c9cd
Refactor module_utils ( #223 )
...
Moved a bunch of common things to module_utils.
2020-09-08 20:37:16 +05:30
Abhijeet Kasurde
ffb7032dc2
handle exception raised due to DynamicClient
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-07 19:03:28 +05:30
Abhijeet Kasurde
c49f896fa0
helm: Add replace parameter ( #214 )
...
Fixes : #106
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-09-07 12:42:00 +05:30
Adam Miller
60c762bb37
fix downstream collection name kubernetes.base -> kubernetes.core ( #213 )
...
Signed-off-by: Adam Miller <admiller@redhat.com >
2020-08-31 09:58:06 +05:30
Abhijeet Kasurde
23f9588732
kubectl: correct usage in console ( #204 )
...
kubectl exec is printed twice in the console log.
Fixes : #200
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2020-08-31 09:29:27 +05:30
Jeff Geerling
c6fe654853
Merge pull request #212 from maxamillion/downstream/fix_ci_round_2
...
fix downstream ci names (round 2)
2020-08-28 14:28:32 -05:00
Adam Miller
d17858c6dd
fix downstream ci names
...
Signed-off-by: Adam Miller <admiller@redhat.com >
2020-08-28 13:58:39 -05:00
Jeff Geerling
e9d8bf703b
Merge pull request #210 from maxamillion/heml/fix_sanity_tests
...
fix CI tests, helm picked up the same argspec addition as some k8s mo…
2020-08-28 07:21:09 -05:00
Adam Miller
827807392d
fix CI tests, helm picked up the same argspec addition as some k8s modules
...
Signed-off-by: Adam Miller <admiller@redhat.com >
2020-08-27 22:08:01 -05:00
Fabian von Feilitzsch
91c16216cc
Merge pull request #208 from fabianvf/inventory_set_connection_plugin
...
Set the connection plugin and transport separately, add tests
2020-08-27 12:14:53 -04:00