Remove unsecure and unused function
[osm/N2VC.git] / n2vc / kubectl.py
index ff48eda..a56b6cd 100644 (file)
@@ -254,10 +254,15 @@ class Kubectl:
         delay=1,
         fallback=Exception("Failed getting the secret from service account"),
     )
         delay=1,
         fallback=Exception("Failed getting the secret from service account"),
     )
-    async def get_secret_data(self, name: str, namespace: str = "kube-system") -> (str, str):
+    async def get_secret_data(
+        self, name: str, namespace: str = "kube-system"
+    ) -> (str, str):
         """
         Get secret data
 
         """
         Get secret data
 
+        :param: name:       Name of the secret data
+        :param: namespace:  Name of the namespace where the secret is stored
+
         :return: Tuple with the token and client certificate
         """
         v1_core = self.clients[CORE_CLIENT]
         :return: Tuple with the token and client certificate
         """
         v1_core = self.clients[CORE_CLIENT]