Switch from tailscale authkeys to an oauth client to fix issues with key expirey

This commit is contained in:
2025-09-06 22:17:24 +10:00
parent 2d497e5195
commit 786b2c6670
4 changed files with 11 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ resource "cloudflare_dns_record" "git-othrayte-one" {
resource "nomad_job" "gitea" {
jobspec = templatefile("gitea.nomad.hcl", {
ts_authkey = data.sops_file.secrets.data["tailscale.auth_key"]
ts_oauthsecret = data.sops_file.secrets.data["tailscale.oauthsecret"]
})
}