From 9dfd684ab5f04d9b18d1c6efc0270ab77484cdd4 Mon Sep 17 00:00:00 2001 From: Anmol Sachan Date: Wed, 5 Aug 2020 19:35:24 +0530 Subject: [PATCH] ceph: added rgw poolPrefix on ceph external script output RGW poolPrefix is required for the UI and alerting, to provide right information about the respective pool in external mode. Signed-off-by: Anmol Sachan --- .../kubernetes/ceph/create-external-cluster-resources.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cluster/examples/kubernetes/ceph/create-external-cluster-resources.py b/cluster/examples/kubernetes/ceph/create-external-cluster-resources.py index 485ff9f3f..9c3a7ee17 100644 --- a/cluster/examples/kubernetes/ceph/create-external-cluster-resources.py +++ b/cluster/examples/kubernetes/ceph/create-external-cluster-resources.py @@ -510,7 +510,8 @@ class RadosJSON: "name": "ceph-rgw", "kind": "StorageClass", "data": { - "endpoint": self.out_map['RGW_ENDPOINT'] + "endpoint": self.out_map['RGW_ENDPOINT'], + "poolPrefix": self.out_map['RGW_POOL_PREFIX'] } }) return json.dumps(json_out)+LINESEP