Mercurial > code > home > repos > infra
diff kube.py @ 80:bc909bf8b80e
another try at dns with /etc/k3s_resolv.conf
author | drewp@bigasterisk.com |
---|---|
date | Sat, 18 Jun 2022 13:42:10 -0700 |
parents | 41008d412ec8 |
children | eb38553a6806 |
line wrap: on
line diff
--- a/kube.py Sat Jun 18 13:40:55 2022 -0700 +++ b/kube.py Sat Jun 18 13:42:10 2022 -0700 @@ -63,7 +63,12 @@ token=token, wg_ip=host.host_data['wireguard_address'], ) - + files.template( + src='templates/kube/k3s_resolv.conf.j2', + dest='/etc/k3s_resolv.conf', + master_ip=master_ip, + wg_ip=host.host_data['wireguard_address'], + ) files.template( src='templates/kube/k3s.service.j2', dest=f'/etc/systemd/system/{service_name}',