add
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Bootstrap Application, applied once by hand (like incubator/*.yaml) —
|
||||
# ArgoCD can't sync its own entry points. Syncs everything under projects/
|
||||
# so AppProject objects (like "devops") are GitOps-managed instead of a
|
||||
# manual one-off kubectl apply. Mirrors devops-argo-config's
|
||||
# app-of-projects.yaml, which this repo never had an equivalent of.
|
||||
#
|
||||
# Uses the built-in "default" project (always exists) — no chicken-and-egg
|
||||
# problem, since what it deploys (AppProject CRs) doesn't itself require a
|
||||
# pre-existing project.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-of-projects
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: 'http://gitea.192.168.1.7.nip.io/mukul/devops-infra-argo-config.git'
|
||||
targetRevision: main
|
||||
path: projects
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
Reference in New Issue
Block a user