Update Argo CD repository endpoint
This commit is contained in:
@@ -22,7 +22,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/cert-manager
|
path: apps/cert-manager
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/demo
|
path: apps/demo
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/ingress-nginx
|
path: apps/ingress-nginx
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/longhorn
|
path: apps/longhorn
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/mcpacks
|
path: apps/mcpacks
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/metallb
|
path: apps/metallb
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/sops-secrets-operator
|
path: apps/sops-secrets-operator
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -89,7 +89,7 @@ all point at this cluster's public Gitea repository:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
grep -R "repoURL:" argocd/app-of-apps apps/*.yaml
|
grep -R "repoURL:" argocd/app-of-apps apps/*.yaml
|
||||||
git ls-remote https://tea.ahmza.com/ahmza/k8s-starter-pack.git HEAD
|
git ls-remote https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
The remote check must succeed without credentials. Commit and push any
|
The remote check must succeed without credentials. Commit and push any
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps
|
path: apps
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ already doing.
|
|||||||
Applications don't inherit `repoURL` from whatever applied them — each one
|
Applications don't inherit `repoURL` from whatever applied them — each one
|
||||||
declares its own source repo independently. All four initial Applications
|
declares its own source repo independently. All four initial Applications
|
||||||
therefore point explicitly at this cluster's public Gitea repository:
|
therefore point explicitly at this cluster's public Gitea repository:
|
||||||
`https://tea.ahmza.com/ahmza/k8s-starter-pack.git`. Anonymous read access is
|
`https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git`. Anonymous read access is
|
||||||
required because Argo CD clones it from inside the cluster without a stored
|
required because Argo CD clones it from inside the cluster without a stored
|
||||||
Git credential.
|
Git credential.
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ and `apps/longhorn.yaml`.
|
|||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
1. Verify `repoURL` in all four files (above) and confirm anonymous access
|
1. Verify `repoURL` in all four files (above) and confirm anonymous access
|
||||||
with `git ls-remote https://tea.ahmza.com/ahmza/k8s-starter-pack.git HEAD`.
|
with `git ls-remote https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git HEAD`.
|
||||||
2. Commit and push any pending configuration first. This matters more than it
|
2. Commit and push any pending configuration first. This matters more than it
|
||||||
looks: the app-of-apps reads its children *from Git*, not from your local
|
looks: the app-of-apps reads its children *from Git*, not from your local
|
||||||
checkout, so local-only edits cannot affect the cluster.
|
checkout, so local-only edits cannot affect the cluster.
|
||||||
|
|||||||
Reference in New Issue
Block a user