fix: Ensure compatibility with KubeVirt >=1.1.0

Ensure compatibility with KubeVirt >=1.1.0 by monkey patching
kubernetes.core to handle apis of the format a/b/c and requiring
kubernetes>=28.1.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-02-29 09:04:24 +01:00
parent fa9183c21a
commit 44fce1cc31
4 changed files with 109 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ options:
requirements:
- "python >= 3.6"
- "kubernetes >= 12.0.0"
- "kubernetes >= 28.1.0"
- "PyYAML >= 3.11"
- "jsonpatch"
- "jinja2"

View File

@@ -69,7 +69,7 @@ extends_documentation_fragment:
requirements:
- "python >= 3.6"
- "kubernetes >= 12.0.0"
- "kubernetes >= 28.1.0"
"""
EXAMPLES = """