initial push

This commit is contained in:
2026-07-19 02:33:48 +07:00
commit cf03e8e0e9
5 changed files with 125 additions and 0 deletions

27
apps/gitops-demo.yaml Normal file
View File

@@ -0,0 +1,27 @@
# A child Application in the app-of-apps tree. ArgoCD's root app finds this file
# and creates this Application, which in turn syncs gitops-demo/dev into the
# cluster. To add another service, copy this file and change name + path.
#
# NOTE: replace REPLACE_WITH_MANIFEST_REPO_URL with this repo's real HTTPS URL
# (see README) — child Applications can't be templated by our shell scripts
# because ArgoCD reads them straight from git.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitops-demo-dev
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.lgkentang.com/you/k3s-manifests.git
targetRevision: HEAD
path: gitops-demo/dev
destination:
server: https://kubernetes.default.svc
namespace: dev # per-environment namespace convention
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true