initial upload
This commit is contained in:
20
repo-gitops/bootstrap/root-app.yaml
Normal file
20
repo-gitops/bootstrap/root-app.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: production-cluster
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io # Löscht alle Apps, wenn diese App gelöscht wird (Vorsicht!)
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.stabify.de/stabify/gitops.git # URL DEINES GitOps Repos anpassen!
|
||||
targetRevision: HEAD
|
||||
path: cluster/production
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # Löscht Ressourcen, die nicht mehr im Git sind
|
||||
selfHeal: true # Repariert manuelle Änderungen automatisch
|
||||
Reference in New Issue
Block a user