[kubernetes] Support Kubernetes v1.35.0 (#12812)

This commit is contained in:
Mohamed Omar Zaian
2026-02-10 10:24:02 +01:00
committed by GitHub
parent 57364f4085
commit a77221d12b
11 changed files with 45 additions and 134 deletions

View File

@@ -15,6 +15,9 @@ authorization:
{% else %}
mode: AlwaysAllow
{% endif %}
{% if kube_version is version('1.35.0', '>=') %}
failCgroupV1: {{ kubelet_fail_cgroup_v1 }}
{% endif %}
{% if kubelet_enforce_node_allocatable is defined and kubelet_enforce_node_allocatable != "\"\"" %}
{% set kubelet_enforce_node_allocatable_list = kubelet_enforce_node_allocatable.split(",") %}
enforceNodeAllocatable: