Files
infrastructure/clusters/cl01tl/helm/stack/templates/application-set.yaml
Alex Lebens 58cee64531
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 1m8s
lint-test-helm / validate-kubeconform (pull_request) Failing after 58s
render-manifests / render-manifests (pull_request) Successful in 1m53s
feat: remove crd app, moved to stack
2026-04-05 20:45:38 -05:00

64 lines
1.8 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: application-set-cl01tl
namespace: argocd
labels:
app.kubernetes.io/name: application-set-cl01tl
app.kubernetes.io/instance: argocd
app.kubernetes.io/part-of: argocd
spec:
syncPolicy:
applicationsSync: create-update
preserveResourcesOnDeletion: false
generators:
- git:
repoURL: http://gitea-http.gitea:3000/alexlebens/infrastructure
revision: manifests
directories:
- path: clusters/cl01tl/manifests/*
- path: clusters/cl01tl/manifests/stack
exclude: true
- path: clusters/cl01tl/manifests/cilium
exclude: true
- path: clusters/cl01tl/manifests/coredns
exclude: true
- path: clusters/cl01tl/manifests/metrics-server
exclude: true
template:
metadata:
name: '{{ `{{path.basename}}` }}'
spec:
project: default
source:
repoURL: http://gitea-http.gitea:3000/alexlebens/infrastructure
targetRevision: manifests
path: '{{ `{{path}}` }}'
destination:
name: in-cluster
namespace: '{{ `{{path.basename}}` }}'
revisionHistoryLimit: 3
ignoreDifferences:
- group: ""
kind: Service
jqPathExpressions:
- .spec.externalName
syncPolicy:
automated:
enabled: true
prune: true
selfHeal: false
retry:
limit: 3
backoff:
duration: 1m
factor: 2
maxDuration: 15m
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
- PruneLast=true
- RespectIgnoreDifferences=true