diff --git a/servers/legion/argocd.tf b/servers/legion/argocd.tf index c721c4f..0eac548 100644 --- a/servers/legion/argocd.tf +++ b/servers/legion/argocd.tf @@ -36,7 +36,7 @@ resource "helm_release" "argocd" { server.insecure: true # TLS terminated at Traefik repositories: gitea-infrastructure: - url: http://10.43.1.53:3000/will/infrastructure.git + url: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git name: infrastructure type: git YAML @@ -96,7 +96,7 @@ resource "kubernetes_secret" "argocd_gitea_repo" { data = { type = "git" - url = "http://10.43.1.53:3000/will/infrastructure.git" + url = "http://gitea.git.svc.cluster.local:3000/will/infrastructure.git" username = "will" password = var.gitea_api_token } @@ -136,7 +136,7 @@ resource "kubernetes_manifest" "argocd_root_app" { spec = { project = "default" source = { - repoURL = "http://10.43.1.53:3000/will/infrastructure.git" + repoURL = "http://gitea.git.svc.cluster.local:3000/will/infrastructure.git" targetRevision = "main" path = "servers/legion/apps" }