make ready for argo cd
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# bootstrap/root-app.yaml — de "app-of-apps"
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.zb-kw.duckdns.org/willemjan/cluster.git
|
||||
targetRevision: main
|
||||
path: apps # elke yaml hierin = één Application
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # wat uit Git verdwijnt, verdwijnt uit het cluster
|
||||
selfHeal: true # handmatige kubectl-wijzigingen worden teruggedraaid
|
||||
Reference in New Issue
Block a user