From b9f27cc68e2d0ea7f69ac52d034614b0d48e8af9 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:58:20 +0800 Subject: [PATCH] Feat: upgrade ceph-csi-cephfs variables --- .../cephfs_provisioner/defaults/main.yml | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/roles/kubernetes-apps/external_provisioner/cephfs_provisioner/defaults/main.yml b/roles/kubernetes-apps/external_provisioner/cephfs_provisioner/defaults/main.yml index 577fbff1e..eaa1bb813 100644 --- a/roles/kubernetes-apps/external_provisioner/cephfs_provisioner/defaults/main.yml +++ b/roles/kubernetes-apps/external_provisioner/cephfs_provisioner/defaults/main.yml @@ -1,10 +1,24 @@ --- cephfs_provisioner_namespace: "cephfs-provisioner" -cephfs_provisioner_cluster: ceph -cephfs_provisioner_monitors: ~ -cephfs_provisioner_admin_id: admin -cephfs_provisioner_secret: secret -cephfs_provisioner_storage_class: cephfs +cephfs_provisioner_csidriver_name: cephfs.csi.ceph.com +cephfs_provisioner_secret_name: csi-cephfs-secret +cephfs_provisioner_cluster_id: "" +cephfs_provisioner_admin_id: "" +cephfs_provisioner_admin_key: "" +cephfs_provisioner_storage_class: csi-cephfs-sc +cephfs_provisioner_allow_volume_expansion: true cephfs_provisioner_reclaim_policy: Delete -cephfs_provisioner_claim_root: /volumes -cephfs_provisioner_deterministic_names: true +cephfs_provisioner_mount_options: [] +cephfs_provisioner_ceph_config: | + [global] + auth_cluster_required = cephx + auth_service_required = cephx + auth_client_required = cephx + + # ceph-fuse which uses libfuse2 by default has write buffer size of 2KiB + # adding 'fuse_big_writes = true' option by default to override this limit + # see https://github.com/ceph/ceph-csi/issues/1928 + fuse_big_writes = true + +cephfs_provisioner_ceph_csi_config_json: | + []