fix: Ensure compatibility with kubernetes.core >=3.10,<4.1.0

Ensure compatibility with kubernetes.core >=3.10,<4.1.0 by replacing
deprecated imports of HAS_K8S_MODULE_HELPER and k8s_import_exception.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-05-29 10:11:05 +02:00
parent 131aacec43
commit a9c6296794
4 changed files with 11 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ readme: README.md
authors:
- KubeVirt Project (kubevirt.io)
dependencies:
kubernetes.core: '>=3.0.1'
kubernetes.core: '>=3.1.0,<4.1.0'
description: Lean Ansible bindings for KubeVirt
license_file: LICENSE
tags: