migrate all Argo CD repo sources from Legion Gitea to GKE Gitea

This commit is contained in:
Will Anderson
2026-05-05 02:25:14 -05:00
parent 804060c958
commit 479190ef47
27 changed files with 33 additions and 35 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/backup path: servers/legion/k8s/backup
destination: destination:
+2 -2
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/github-runner path: servers/legion/k8s/github-runner
destination: destination:
@@ -27,7 +27,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/gitea-runner path: servers/legion/k8s/gitea-runner
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: neuron-prod project: neuron-prod
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/dharma path: servers/legion/k8s/neuron-technologies/dharma
destination: destination:
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/external-secrets path: servers/legion/k8s/external-secrets
destination: destination:
+3 -3
View File
@@ -7,7 +7,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/fornax/coordinator path: servers/legion/k8s/fornax/coordinator
destination: destination:
@@ -29,7 +29,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/fornax/ui path: servers/legion/k8s/fornax/ui
destination: destination:
@@ -51,7 +51,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/fornax/grafana path: servers/legion/k8s/fornax/grafana
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/gitea path: servers/legion/k8s/gitea
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/gcp/k8s/argocd-apps path: servers/gcp/k8s/argocd-apps
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/monitoring path: servers/legion/k8s/monitoring
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/mudcraft path: servers/legion/k8s/mudcraft
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron path: servers/legion/k8s/neuron
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/daemon path: servers/legion/k8s/neuron-technologies/daemon
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/dev path: servers/legion/k8s/neuron-technologies/dev
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/marketing path: servers/legion/k8s/neuron-technologies/marketing
destination: destination:
+1 -1
View File
@@ -15,7 +15,7 @@ spec:
# Only allow deployments sourced from the infrastructure repo. # Only allow deployments sourced from the infrastructure repo.
sourceRepos: sourceRepos:
- "http://gitea.git.svc.cluster.local:3000/will/infrastructure.git" - "https://git.neuralplatform.ai/will/infrastructure.git"
- "https://code.forgejo.org" - "https://code.forgejo.org"
- "registry.neuralplatform.ai" - "registry.neuralplatform.ai"
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/prod path: servers/legion/k8s/neuron-technologies/prod
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/stage path: servers/legion/k8s/neuron-technologies/stage
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/swarm path: servers/legion/k8s/neuron-technologies/swarm
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/tim path: servers/legion/k8s/neuron-technologies/tim
destination: destination:
+1 -1
View File
@@ -12,7 +12,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/neuron-technologies/web path: servers/legion/k8s/neuron-technologies/web
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/ollama path: servers/legion/k8s/ollama
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/packages path: servers/legion/k8s/packages
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/postgres path: servers/legion/k8s/postgres
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/registry path: servers/legion/k8s/registry
destination: destination:
+1 -1
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git repoURL: https://git.neuralplatform.ai/will/infrastructure.git
targetRevision: main targetRevision: main
path: servers/legion/k8s/vault path: servers/legion/k8s/vault
destination: destination:
+3 -3
View File
@@ -36,7 +36,7 @@ resource "helm_release" "argocd" {
server.insecure: true # TLS terminated at Traefik server.insecure: true # TLS terminated at Traefik
repositories: repositories:
gitea-infrastructure: gitea-infrastructure:
url: http://gitea.git.svc.cluster.local:3000/will/infrastructure.git url: https://git.neuralplatform.ai/will/infrastructure.git
name: infrastructure name: infrastructure
type: git type: git
YAML YAML
@@ -96,7 +96,7 @@ resource "kubernetes_secret" "argocd_gitea_repo" {
data = { data = {
type = "git" type = "git"
url = "http://gitea.git.svc.cluster.local:3000/will/infrastructure.git" url = "https://git.neuralplatform.ai/will/infrastructure.git"
username = "will" username = "will"
password = var.gitea_api_token password = var.gitea_api_token
} }
@@ -136,7 +136,7 @@ resource "kubernetes_manifest" "argocd_root_app" {
spec = { spec = {
project = "default" project = "default"
source = { source = {
repoURL = "http://gitea.git.svc.cluster.local:3000/will/infrastructure.git" repoURL = "https://git.neuralplatform.ai/will/infrastructure.git"
targetRevision = "main" targetRevision = "main"
path = "servers/legion/apps" path = "servers/legion/apps"
} }
+1 -1
View File
@@ -105,7 +105,7 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
# (which sets the reverse redirect + CF Access headers). The system-level rule # (which sets the reverse redirect + CF Access headers). The system-level rule
# here is a safe baseline; the init script wins because it runs after. # here is a safe baseline; the init script wins because it runs after.
RUN git config --system \ RUN git config --system \
url."http://gitea.git.svc.cluster.local:3000/".insteadOf \ url."http://gitea.gitea.svc.cluster.local:3000/".insteadOf \
"https://git.neuralplatform.ai/" "https://git.neuralplatform.ai/"
COPY git-cf-access-init.sh /usr/local/bin/git-cf-access-init.sh COPY git-cf-access-init.sh /usr/local/bin/git-cf-access-init.sh
@@ -55,8 +55,7 @@ spec:
CF_ACCESS_CLIENT_ID: "${CF_ACCESS_CLIENT_ID}" CF_ACCESS_CLIENT_ID: "${CF_ACCESS_CLIENT_ID}"
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}" CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh" BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
extra_hosts: extra_hosts: []
- "gitea.git.svc.cluster.local:10.43.15.98"
EOF EOF
envFrom: envFrom:
- secretRef: - secretRef:
@@ -149,8 +148,7 @@ spec:
CF_ACCESS_CLIENT_ID: "${CF_ACCESS_CLIENT_ID}" CF_ACCESS_CLIENT_ID: "${CF_ACCESS_CLIENT_ID}"
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}" CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh" BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
extra_hosts: extra_hosts: []
- "gitea.git.svc.cluster.local:10.43.15.98"
EOF EOF
envFrom: envFrom:
- secretRef: - secretRef: