fix/ansible 2.19: local vol provisioner: don't rely on final evaluation (#13481)

- also remove mitogen workaround from local_volume_provisioner since
  creating the dirs is handled by kubernetes/preinstall instead
- correct the tag in kubernetes/preinstall as persistent_volumes isn't
  the same thing
This commit is contained in:
Max Gautier
2026-09-08 22:46:35 +00:00
committed by GitHub
parent 70cb04d9d8
commit ff19dbd284
6 changed files with 13 additions and 44 deletions
@@ -7,15 +7,4 @@ local_volume_provisioner_nodelabels: []
# - topology.kubernetes.io/zone
local_volume_provisioner_tolerations: []
local_volume_provisioner_use_node_name_only: false
# Leverages Ansible's string to Python datatype casting. Otherwise the dict_key isn't substituted.
# see https://github.com/ansible/ansible/issues/17324
local_volume_provisioner_storage_classes: |
{
"{{ local_volume_provisioner_storage_class | default('local-storage') }}": {
"host_dir": "{{ local_volume_provisioner_base_dir | default('/mnt/disks') }}",
"mount_dir": "{{ local_volume_provisioner_mount_dir | default('/mnt/disks') }}",
"volume_mode": "Filesystem",
"fs_type": "ext4"
}
}
local_volume_provisioner_log_level: 2