From 1e9bce553bcc95fb1bd8db1f63f13f92eb62ea63 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Fri, 3 Nov 2023 09:45:30 +0100 Subject: [PATCH] util: remove RadosNamespace from configmap remove RadosNamespace from the configmap main section as its already added to the rbd section Signed-off-by: Madhu Rajanna --- internal/util/csiconfig.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/internal/util/csiconfig.go b/internal/util/csiconfig.go index 48a2e09c1fe4..3e7a57667a9b 100644 --- a/internal/util/csiconfig.go +++ b/internal/util/csiconfig.go @@ -39,11 +39,8 @@ const ( // ClusterInfo strongly typed JSON spec for the below JSON structure. type ClusterInfo struct { // ClusterID is used for unique identification - ClusterID string `json:"clusterID"` - // RadosNamespace is a rados namespace in the pool - RadosNamespace string `json:"radosNamespace"` // For backward compatibility. TODO: Remove this in 3.7.0 - // Monitors is monitor list for corresponding cluster ID - Monitors []string `json:"monitors"` + ClusterID string `json:"clusterID"` + Monitors []string `json:"monitors"` // CephFS contains CephFS specific options CephFS struct { // symlink filepath for the network namespace where we need to execute commands.