From 9aa85e8eb5dca762e1032502b2d869091165ba82 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 6 Jul 2020 11:10:59 -0400 Subject: [PATCH] Update openshift requirements in k8s module doc --- plugins/modules/k8s.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/k8s.py b/plugins/modules/k8s.py index 54eda719..23cf2f45 100644 --- a/plugins/modules/k8s.py +++ b/plugins/modules/k8s.py @@ -111,7 +111,7 @@ validate: description: - how (if at all) to validate the resource definition against the kubernetes schema. - Requires the kubernetes-validate python module + Requires the kubernetes-validate python module and openshift >= 0.8.0 suboptions: fail_on_error: description: whether to fail on validation errors. @@ -132,12 +132,14 @@ - The full definition of an object is needed to generate the hash - this means that deleting an object created with append_hash will only work if the same object is passed with state=absent (alternatively, just use state=absent with the name including the generated hash and append_hash=no) + - Requires openshift >= 0.7.2 type: bool apply: description: - C(apply) compares the desired resource definition with the previously supplied resource definition, ignoring properties that are automatically generated - C(apply) works better with Services than 'force=yes' + - Requires openshift >= 0.9.2 - mutually exclusive with C(merge_type) type: bool