From 2b6c40579a0f52478fc75da2545c844dc9207af3 Mon Sep 17 00:00:00 2001 From: Venkata Avinash Addagada Date: Fri, 11 Sep 2026 18:56:29 -0400 Subject: [PATCH] Made pg_num and pgp_num configurable for standard placement pools --- system/cc-ceph/Chart.yaml | 2 +- .../templates/cephobjectstore-placement-pools.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/cc-ceph/Chart.yaml b/system/cc-ceph/Chart.yaml index ab08167ac4c..f903aca1aaf 100644 --- a/system/cc-ceph/Chart.yaml +++ b/system/cc-ceph/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cc-ceph description: A Helm chart for the Rook / Ceph Objects inside the Storage Clusters type: application -version: 1.1.82 +version: 1.1.83 appVersion: "1.18.11" dependencies: - name: owner-info diff --git a/system/cc-ceph/templates/cephobjectstore-placement-pools.yaml b/system/cc-ceph/templates/cephobjectstore-placement-pools.yaml index 2b3d4541797..e2c8682ef18 100644 --- a/system/cc-ceph/templates/cephobjectstore-placement-pools.yaml +++ b/system/cc-ceph/templates/cephobjectstore-placement-pools.yaml @@ -209,8 +209,8 @@ spec: deviceClass: {{ $target.deviceClass | default "nvme-standard" }} application: rgw parameters: - pg_num: "1024" - pgp_num: "1024" + pg_num: {{ $target.index_pg_num | default 1024 | quote }} + pgp_num: {{ $target.index_pgp_num | default 1024 | quote }} nodelete: {{ $.Values.pool.nodelete | quote }} nosizechange: {{ $.Values.pool.nosizechange | quote }} --- @@ -234,8 +234,8 @@ spec: deviceClass: {{ $target.deviceClass | default "nvme-standard" }} application: rgw parameters: - pg_num: "512" - pgp_num: "512" + pg_num: {{ $target.non_ec_pg_num | default 512 | quote }} + pgp_num: {{ $target.non_ec_pgp_num | default 512 | quote }} nodelete: {{ $.Values.pool.nodelete | quote }} nosizechange: {{ $.Values.pool.nosizechange | quote }} {{- end }}