From 7d5e127c4b75a88c9ddbdc8f0cd0707c34f68674 Mon Sep 17 00:00:00 2001 From: Nino Kodabande Date: Thu, 12 Sep 2024 12:24:10 -0700 Subject: [PATCH] Changes the tls-sans for k3s to reflect the new bridge addr Signed-off-by: Nino Kodabande --- pkg/rancher-desktop/backend/wsl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/rancher-desktop/backend/wsl.ts b/pkg/rancher-desktop/backend/wsl.ts index bd3ede5d095..890d7aa5b3c 100644 --- a/pkg/rancher-desktop/backend/wsl.ts +++ b/pkg/rancher-desktop/backend/wsl.ts @@ -1360,8 +1360,8 @@ export default class WSLBackend extends events.EventEmitter implements VMBackend k3sConf.ADDITIONAL_ARGS += ' --tls-san host.rancher-desktop.internal'; k3sConf.ADDITIONAL_ARGS += ' --tls-san host.docker.internal'; - // Add the `veth-rd1` IP address from inside the namespace - k3sConf.ADDITIONAL_ARGS += ' --tls-san 192.168.1.2'; + // Add the `veth-rd-ns` IP address from inside the namespace + k3sConf.ADDITIONAL_ARGS += ' --tls-san 192.168.143.1'; if (!config.kubernetes.options.flannel) { console.log(`Disabling flannel and network policy`);