mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 10:08:37 +03:00
Upgrade Local Volume Provisioner Addon to v2.0.0
This commit is contained in:
@@ -166,15 +166,10 @@ helm_enabled: false
|
||||
istio_enabled: false
|
||||
registry_enabled: false
|
||||
enable_network_policy: false
|
||||
local_volume_provisioner_enabled: false
|
||||
local_volume_provisioner_enabled: "{{ local_volumes_enabled | default('false') }}"
|
||||
persistent_volumes_enabled: false
|
||||
cephfs_provisioner_enabled: false
|
||||
|
||||
# Base path for local volume provisioner addon
|
||||
local_volume_base_dir: /mnt/disks
|
||||
local_volume_mount_dir: /local-disks
|
||||
local_volume_storage_class: local-storage
|
||||
|
||||
## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
|
||||
# openstack_blockstorage_version: "v1/v2/auto (default)"
|
||||
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
|
||||
@@ -199,7 +194,11 @@ rbac_enabled: "{{ 'RBAC' in authorization_modes or kubeadm_enabled }}"
|
||||
|
||||
## List of key=value pairs that describe feature gates for
|
||||
## the k8s cluster.
|
||||
kube_feature_gates: ['Initializers={{ istio_enabled|string }}', 'PersistentLocalVolumes={{ local_volume_provisioner_enabled|string }}']
|
||||
kube_feature_gates:
|
||||
- "Initializers={{ istio_enabled | string }}"
|
||||
- "PersistentLocalVolumes={{ local_volume_provisioner_enabled | string }}"
|
||||
- "VolumeScheduling={{ local_volume_provisioner_enabled | string }}"
|
||||
- "MountPropagation={{ local_volume_provisioner_enabled | string }}"
|
||||
|
||||
# Vault data dirs.
|
||||
vault_base_dir: /etc/vault
|
||||
|
||||
Reference in New Issue
Block a user