Point Argo CD at Gitea and configure storage workers
This commit is contained in:
+8
-6
@@ -83,16 +83,18 @@ argocd account update-password
|
||||
|
||||
[`app-of-apps/app-of-apps.yaml`](app-of-apps/app-of-apps.yaml) is the one
|
||||
manifest in this whole repo you apply by hand — everything after it, Argo
|
||||
CD applies for you. First, every Application manifest needs its own
|
||||
`repoURL` pointed at your fork (they don't inherit it from each other):
|
||||
CD applies for you. Every Application manifest has its own `repoURL`
|
||||
because child Applications do not inherit it from their parent. Verify they
|
||||
all point at this cluster's public Gitea repository:
|
||||
|
||||
```sh
|
||||
grep -rl YOUR_GITHUB_USERNAME .
|
||||
grep -R "repoURL:" argocd/app-of-apps apps/*.yaml
|
||||
git ls-remote https://tea.ahmza.com/ahmza/k8s-starter-pack.git HEAD
|
||||
```
|
||||
|
||||
Edit `spec.source.repoURL` in each file that command finds, commit, and
|
||||
push — the child Applications are read from Git, not your local disk, so
|
||||
this has to land in your fork before the next step. Then:
|
||||
The remote check must succeed without credentials. Commit and push any
|
||||
pending changes before continuing — child Applications read from Git, not
|
||||
your local disk. Then:
|
||||
|
||||
```sh
|
||||
kubectl apply -f argocd/app-of-apps/app-of-apps.yaml
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
# gets applied automatically, because this Application's job is to watch
|
||||
# that folder.
|
||||
#
|
||||
# Before applying this file, edit spec.source.repoURL below to point at YOUR
|
||||
# fork of this repo (Argo CD needs to clone it, so it must be a real URL it
|
||||
# can reach — not this template's URL).
|
||||
# The repoURL below is this cluster's public Gitea repository. Argo CD clones
|
||||
# it over HTTPS from inside the cluster, so anonymous read access must keep
|
||||
# working even though pushes still authenticate over SSH.
|
||||
#
|
||||
# >> Ask Claude: "why does the app-of-apps live in argocd/app-of-apps
|
||||
# instead of inside apps/ with everything else?" before moving on — the
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
project: default
|
||||
|
||||
source:
|
||||
repoURL: https://github.com/YOUR_GITHUB_USERNAME/k8s-starter-pack.git
|
||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
||||
targetRevision: main
|
||||
path: apps
|
||||
directory:
|
||||
|
||||
Reference in New Issue
Block a user