Skip to content

Commit

Permalink
hcloud/k3s: connecting to master can be done via just hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae committed Aug 16, 2023
1 parent 44c9cb7 commit 88d1e00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hosts/nixos-hcloud-k3s-agent.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ role = "agent"
after = [ "tailscale-auth.service" ]

[config.services.k3s.settings]
server = "https://k8s-master-0.taileb01.ts.net:6443"
server = "https://k8s-master-0:6443"
token-file = "/run/agenix/k3s-token"
flannel-iface = "tailscale0"
node-ip = "$(get-iface-ip tailscale0)"
Expand Down
2 changes: 1 addition & 1 deletion hosts/nixos-hcloud-k3s-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ role = "server"
after = [ "tailscale-auth.service" ]

[config.services.k3s.settings]
server = "https://k8s-master-0.taileb01.ts.net:6443"
server = "https://k8s-master-0:6443"
token-file = "/run/agenix/k3s-token"
flannel-iface = "tailscale0"
node-ip = "$(get-iface-ip tailscale0)"
Expand Down

0 comments on commit 88d1e00

Please sign in to comment.