diff --git a/client/gefyra/api/clients.py b/client/gefyra/api/clients.py index 7ba5e9ac..4ec00e2d 100644 --- a/client/gefyra/api/clients.py +++ b/client/gefyra/api/clients.py @@ -20,7 +20,6 @@ def add_clients( client_id: str, quantity: int = 1, registry: Optional[str] = None, - mtu: Optional[int] = None, kubeconfig: Optional[Path] = None, kubecontext: Optional[str] = None, ) -> Iterable[GefyraClient]: @@ -32,7 +31,6 @@ def add_clients( kube_context=kubecontext, ignore_connection=True, registry=registry, - wireguard_mtu=mtu, ) if quantity > 1 and client_id: raise RuntimeError("Cannot specify both quantity > 1 and client_id") diff --git a/client/gefyra/cli/clients.py b/client/gefyra/cli/clients.py index eb44a927..76b95aad 100644 --- a/client/gefyra/cli/clients.py +++ b/client/gefyra/cli/clients.py @@ -27,17 +27,15 @@ def clients(ctx): default=1, ) @click.option("--registry", help="The registry URL for the images", type=str) -@click.option("--mtu", help="The MTU for the Wireguard interface", type=int) @click.pass_context @standard_error_handler -def create_clients(ctx, client_id, quantity, registry, mtu): +def create_clients(ctx, client_id, quantity, registry): from gefyra import api api.add_clients( client_id, quantity, registry=registry, - mtu=mtu, kubeconfig=ctx.obj["kubeconfig"], kubecontext=ctx.obj["context"], )