27 lines
634 B
YAML
27 lines
634 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: minecraft
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "20"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
|
|
targetRevision: main
|
|
path: cluster/applications/minecraft
|
|
directory:
|
|
recurse: false
|
|
exclude: application.yaml # prevent self-reference loop with apps-of-apps
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: minecraft
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|