initial push
This commit is contained in:
27
apps/gitops-demo.yaml
Normal file
27
apps/gitops-demo.yaml
Normal 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
|
||||
Reference in New Issue
Block a user