Revert ArgoCD repoURLs to GitHub temporarily

Gitea needs to be deployed before ArgoCD can read from it.
Keep GitHub repoURLs so ArgoCD can discover and deploy the
new gitea-pg, gitea, and gitea-runner directories. Switch
to Gitea repoURLs after Gitea is running and repo is pushed.
This commit is contained in:
Julia McGhee
2026-03-21 15:46:41 +00:00
parent f04ecbf5cd
commit 5b4086e71f
4 changed files with 8 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ spec:
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git
repoURL: git@github.com:lazorgurl/homelab.git
revision: main
directories:
- path: apps/*/k8s/overlays/production
@@ -18,7 +18,7 @@ spec:
spec:
project: default
source:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git
repoURL: git@github.com:lazorgurl/homelab.git
targetRevision: main
path: "{{ .path.path }}"
destination:

View File

@@ -8,7 +8,7 @@ spec:
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git
repoURL: git@github.com:lazorgurl/homelab.git
revision: main
directories:
- path: infra/kubernetes/platform/*
@@ -18,7 +18,7 @@ spec:
spec:
project: default
source:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git
repoURL: git@github.com:lazorgurl/homelab.git
targetRevision: main
path: "{{ .path.path }}"
destination:

View File

@@ -8,13 +8,9 @@ spec:
goTemplateOptions: ["missingkey=error"]
generators:
- pullRequest:
gitea:
owner: julia
github:
owner: lazorgurl
repo: homelab
api: http://gitea-http.platform.svc:3000
tokenRef:
secretName: argocd-gitea-token
key: token
requeueAfterSeconds: 60
template:
metadata:
@@ -22,7 +18,7 @@ spec:
spec:
project: default
source:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git
repoURL: git@github.com:lazorgurl/homelab.git
targetRevision: "{{ .branch }}"
path: apps/*/k8s/overlays/preview
kustomize: