aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arthur/exts/kubernetes/certificates.py2
-rw-r--r--arthur/exts/kubernetes/deployments.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/kubernetes/certificates.py b/arthur/exts/kubernetes/certificates.py
index c099697..2058761 100644
--- a/arthur/exts/kubernetes/certificates.py
+++ b/arthur/exts/kubernetes/certificates.py
@@ -22,7 +22,7 @@ class Certificates(commands.Cog):
"""Commands for working with TLS certificates."""
await ctx.send_help(ctx.command)
- @certificates.command(name="list")
+ @certificates.command(name="list", aliases=["ls"])
async def certificates_list(self, ctx: commands.Context, namespace: str = "default") -> None:
"""List TLS certificates in the selected namespace (defaults to default)."""
async with ApiClient() as api:
diff --git a/arthur/exts/kubernetes/deployments.py b/arthur/exts/kubernetes/deployments.py
index 0a5595d..aca4245 100644
--- a/arthur/exts/kubernetes/deployments.py
+++ b/arthur/exts/kubernetes/deployments.py
@@ -23,7 +23,7 @@ class Deployments(commands.Cog):
"""Commands for working with Kubernetes Deployments."""
await ctx.send_help(ctx.command)
- @deployments.command(name="list")
+ @deployments.command(name="list", aliases=["ls"])
async def deployments_list(self, ctx: commands.Context, namespace: str = "default") -> None:
"""List deployments in the selected namespace (defaults to default)."""
async with ApiClient() as api: