2018-02-15 09:55:43 +08:00
|
|
|
---
|
2018-03-30 19:29:13 +08:00
|
|
|
local_volume_provisioner_namespace: "kube-system"
|
2020-09-17 17:44:58 +08:00
|
|
|
# List of node labels to be copied to the PVs created by the provisioner
|
|
|
|
local_volume_provisioner_nodelabels: []
|
|
|
|
# - kubernetes.io/hostname
|
|
|
|
# - topology.kubernetes.io/region
|
|
|
|
# - topology.kubernetes.io/zone
|
2022-05-11 00:04:24 +08:00
|
|
|
local_volume_provisioner_tolerations: []
|
2021-04-02 07:54:11 +08:00
|
|
|
local_volume_provisioner_use_node_name_only: false
|
2022-11-08 07:28:17 +08:00
|
|
|
# Leverages Ansible's string to Python datatype casting. Otherwise the dict_key isn't substituted.
|
|
|
|
# see https://github.com/ansible/ansible/issues/17324
|
2019-01-09 04:36:44 +08:00
|
|
|
local_volume_provisioner_storage_classes: |
|
|
|
|
{
|
|
|
|
"{{ local_volume_provisioner_storage_class | default('local-storage') }}": {
|
2019-07-16 20:27:26 +08:00
|
|
|
"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"
|
2019-01-09 04:36:44 +08:00
|
|
|
}
|
|
|
|
}
|