mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Drop explicit k8s_cluster group in CI inventory (#11858)
This removes compatibility with releases below 2.27.0, now that it has been released and that we're testing upgrades against it.
This commit is contained in:
@@ -4,11 +4,8 @@
|
|||||||
|
|
||||||
- name: Start vms for CI job
|
- name: Start vms for CI job
|
||||||
vars:
|
vars:
|
||||||
# Workaround for compatibility when testing upgrades with old == before e9d406ed088d4291ef1d9018c170a4deed2bf928
|
|
||||||
# TODO: drop after 2.27.0
|
|
||||||
legacy_groups: "{{ (['kube_control_plane', 'kube_node', 'calico_rr'] | intersect(item) | length > 0) | ternary(['k8s_cluster'], []) }}"
|
|
||||||
tvars:
|
tvars:
|
||||||
kubespray_groups: "{{ item + legacy_groups }}"
|
kubespray_groups: "{{ item }}"
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
definition: "{{ lookup('template', 'vm.yml.j2', template_vars=tvars) }}"
|
definition: "{{ lookup('template', 'vm.yml.j2', template_vars=tvars) }}"
|
||||||
loop: "{{ scenarios[mode | d('default')] }}"
|
loop: "{{ scenarios[mode | d('default')] }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user