projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix: kubeconfig passed for helm commands. Bug 1789
[osm/N2VC.git]
/
n2vc
/
kubectl.py
diff --git
a/n2vc/kubectl.py
b/n2vc/kubectl.py
index
ff48eda
..
a56b6cd
100644
(file)
--- a/
n2vc/kubectl.py
+++ b/
n2vc/kubectl.py
@@
-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]