42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: sor-server
|
|
# ArgoCD is typically installed in the argocd namespace.
|
|
namespace: argocd
|
|
# Ensure ArgoCD deletes child resources when this Application is deleted.
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
|
|
source:
|
|
# TODO: verify this matches your Gitea repository URL.
|
|
repoURL: https://git.aeternalisgames.com/dingo/SOR.git
|
|
targetRevision: main
|
|
# ArgoCD watches this path for changes and syncs when manifests are updated.
|
|
path: deploy/k8s
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: stone-server
|
|
|
|
syncPolicy:
|
|
automated:
|
|
# Remove resources from the cluster when removed from git.
|
|
prune: true
|
|
# Re-apply if someone manually changes the cluster state.
|
|
selfHeal: true
|
|
syncOptions:
|
|
# Namespace already exists — don't try to create it.
|
|
- CreateNamespace=false
|
|
# Apply server-side to avoid annotation length limits.
|
|
- ServerSideApply=true
|
|
|
|
info:
|
|
- name: SOR.Website
|
|
value: https://aeternalisgames.com
|
|
|
|
# Show health status on the ArgoCD dashboard.
|
|
revisionHistoryLimit: 5
|