* k8s: Add a parameter remote_src
remote_src is boolean parameter to specify if
src file is located on remote node or Ansible Controller.
Fixes: #307
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* remove parameters
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Address the following error with the test-suite:
- plugins/modules/k8s.py:0:0: doc-default-does-not-match-spec: Argument 'append_hash' in argument_spec defines default as (False) but documentation defines default as (None)
- plugins/modules/k8s.py:0:0: doc-default-does-not-match-spec: Argument 'apply' in argument_spec defines default as (False) but documentation defines default as (None)
- plugins/modules/k8s_service.py:0:0: doc-default-does-not-match-spec: Argument 'apply' in argument_spec defines default as (False) but documentation defines default as (None)
This address the following warning:
```
[WARNING]: conditional statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: {{ scale_down_no_wait_pods.resources
| length == 1 }
```
The `wait_condition.status` key is a string.
- Use actually string in the documentation
- Use core's `boolean()` method to convert the value internally to
boolean
Older openshift test cases are no longer valid for this
collection. Removing them for now.
Fixes: #300
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
The `older_openshift_fail.yml` test playbook fails with Python 3.7 because the old `kubernetes.client.apis.admissionregistration_api` module uses the new `async` keyword as a function parameter name. From: https://docs.python.org/3/whatsnew/3.7.html
Backwards incompatible syntax changes:
`async` and `await` are now reserved keywords.
In this case, we get a `SyntaxError` exception instead of the expected `Failed to import the required Python library (openshift >= 0.7.2)`.
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
* Issue #254: Fix 'unbound variable' error with empty array.
* Issue #254: Make downstream-release work completely.
* Make sed commands cross-platform.
* 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.
* 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
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>