30 lines
758 B
YAML
30 lines
758 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: the-hub
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/name: the-hub
|
|
app.kubernetes.io/part-of: mk-labs
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "20" # Wave 20 — applications tier
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: ssh://git@gitea.mk-labs.cloud/rblundon/homelab.git
|
|
targetRevision: HEAD
|
|
path: cluster/applications/the-hub
|
|
directory:
|
|
recurse: false
|
|
exclude: application.yaml # prevent self-reference loop
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: the-hub
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ApplyOutOfSyncOnly=true
|