GitOps scaffold: Argo CD bootstrap, app-of-apps, example workload

This commit is contained in:
forgejoadmin 2026-08-16 09:28:48 +00:00
parent 3b609b3077
commit 7cc6824e01
6 changed files with 112 additions and 3 deletions

22
apps/example-app.yaml Normal file
View file

@ -0,0 +1,22 @@
# Example workload Application. Copy per app; point `path` (or chart) at
# your app manifests (also stored in Forgejo). Replace repoURL/server.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: example-app
namespace: argocd
spec:
project: default
source:
repoURL: http://localhost:3000/forgejoadmin/gitops-apps.git
targetRevision: main
path: clusters/default/example-app
destination:
server: https://kubernetes.default.svc
namespace: example-app
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true