Skip to content

Commit

Permalink
Changes the tls-sans for k3s to reflect the new bridge addr
Browse files Browse the repository at this point in the history
Signed-off-by: Nino Kodabande <nkodabande@suse.com>
  • Loading branch information
Nino-K committed Sep 12, 2024
1 parent 15a0283 commit 8ad4663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rancher-desktop/backend/wsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 8ad4663

Please sign in to comment.