Remove containerd_config assert

This assert is present since 2021, we can assume now users have removed
it from their inventories.
This commit is contained in:
Max Gautier 2025-01-20 17:22:18 +01:00
parent 775361206c
commit fba31beb07
No known key found for this signature in database

View File

@ -273,14 +273,6 @@
- containerd_version not in ['latest', 'edge', 'stable']
- container_manager == 'containerd'
- name: Stop if using deprecated containerd_config variable
assert:
that: containerd_config is not defined
msg: "Variable containerd_config is now deprecated. See https://github.com/kubernetes-sigs/kubespray/blob/master/inventory/sample/group_vars/all/containerd.yml for details."
when:
- containerd_config is defined
- not ignore_assert_errors
- name: Stop if auto_renew_certificates is enabled when certificates are managed externally (kube_external_ca_mode is true)
assert:
that: not auto_renew_certificates