We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7428555 commit f595a1eCopy full SHA for f595a1e
managed/devops/opscli/ybops/cloud/kubernetes/method.py
@@ -95,6 +95,11 @@ class KubernetesListInstancesMethod(ListInstancesMethod):
95
def __init__(self, base_command):
96
super(KubernetesListInstancesMethod, self).__init__(base_command)
97
98
+ def add_extra_args(self):
99
+ super(KubernetesListInstancesMethod, self).add_extra_args()
100
+ self.parser.add_argument("--namespace", default="default",
101
+ help="Kubernetes namespace (default: default)")
102
+
103
def callback(self, args):
104
logging.debug(f"Listing Kubernetes instances with args: {args}")
105
0 commit comments