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 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: ssh://git@gitea-ssh.platform.svc:2222/julia/homelab.git repoURL: git@github.com:lazorgurl/homelab.git
targetRevision: main targetRevision: main
path: infra/kubernetes/argocd path: infra/kubernetes/argocd
destination: destination:

View File

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

View File

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

View File

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