add ability to specify local_path_provisioner data dir for PersistentVolumes

This commit is contained in:
2024-12-29 12:32:25 +03:00
parent 46e057e41b
commit c819d4f51f
15 changed files with 30 additions and 227 deletions

View File

@@ -12,7 +12,7 @@ local_path_provisioner_enabled: true
# local_path_provisioner_namespace: "local-path-storage"
local_path_provisioner_storage_class: local-path
local_path_provisioner_reclaim_policy: Delete
# local_path_provisioner_claim_root: /opt/local-path-provisioner/
local_path_provisioner_claim_root: /opt/local-path-provisioner/
# local_path_provisioner_debug: false
# local_path_provisioner_image_repo: "rancher/local-path-provisioner"
# local_path_provisioner_image_tag: "v0.0.23"

View File

@@ -17,7 +17,7 @@ kube_token_dir: "{{ kube_config_dir }}/tokens"
kube_api_anonymous_auth: true
## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.30.3
kube_version: v1.29.0
# Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G)
@@ -404,7 +404,4 @@ auto_renew_certificates: true
kubeadm_patches:
enabled: false
source_dir: "{{ inventory_dir }}/patches"
dest_dir: "{{ kube_config_dir }}/patches"
## Kubelet additional settings
kubelet_custom_flags:
- "--root-dir=/app/k8s/kubelet"
dest_dir: "{{ kube_config_dir }}/patches"