Skip to content

Commit

Permalink
Drop explicit k8s_cluster group in CI inventory
Browse files Browse the repository at this point in the history
This removes compatibility with releases below 2.27.0, now that it has
been released and that we're testing upgrades against it.
  • Loading branch information
VannTen committed Jan 6, 2025
1 parent 25d0380 commit 946ec90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/cloud_playbooks/roles/packet-ci/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@

- name: Start vms for CI job
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:
kubespray_groups: "{{ item + legacy_groups }}"
kubespray_groups: "{{ item }}"
kubernetes.core.k8s:
definition: "{{ lookup('template', 'vm.yml.j2', template_vars=tvars) }}"
loop: "{{ scenarios[mode | d('default')] }}"
Expand Down

0 comments on commit 946ec90

Please sign in to comment.