CI: use kubevirt.core dynamic inventory

This allows a single source of truth for the virtual machines in a
kubevirt ci-run.

`etcd_member_name` should be correctly handled in kubespray-defaults for
testing the recover cases.
This commit is contained in:
Max Gautier
2024-09-20 14:39:24 +02:00
parent a8e7238c9f
commit 329ffd45f0
6 changed files with 56 additions and 132 deletions

View File

@@ -12,6 +12,9 @@ metadata:
kubevirt.io/domain: "{{ test_name }}"
ci_job_id: "{{ ci_job_id }}"
ci_job_name: "{{ ci_job_name }}"
{% for group in kubespray_groups -%}
kubespray.io/{{ group }}: "true"
{% endfor -%}
# leverage the Kubernetes GC for resources cleanup
ownerReferences:
- apiVersion: v1