Add Gitea act-runner and fix ddclient deployment

- gitea-runner.tf: Secret for Gitea runner registration token
- apps/gitea-runner.yaml: Gitea act-runner deployment (init container
  registers with Gitea, main container runs daemon) — serves all Gitea
  Actions CI jobs on self-hosted,linux,x64,legion labels
- variables.tf: Add gitea_runner_token variable
- ddclient.tf: Switch to official ghcr.io/ddclient/ddclient image,
  remove linuxserver wrapper that was exhausting inotify instances
This commit is contained in:
Will Anderson
2026-03-24 12:51:22 -05:00
parent 087c5a79f4
commit 5bd7702874
4 changed files with 85 additions and 12 deletions
+4 -12
View File
@@ -42,21 +42,13 @@ resource "kubernetes_deployment" "ddclient" {
}
spec {
container {
name = "ddclient"
image = "ghcr.io/linuxserver/ddclient:latest"
env {
name = "PUID"
value = "1000"
}
env {
name = "PGID"
value = "1000"
}
name = "ddclient"
image = "ghcr.io/ddclient/ddclient:latest"
command = ["ddclient", "-file", "/etc/ddclient/ddclient.conf", "-daemon", "300", "-noquiet", "-foreground"]
volume_mount {
name = "config"
mount_path = "/config/ddclient.conf"
mount_path = "/etc/ddclient/ddclient.conf"
sub_path = "ddclient.conf"
read_only = true
}