This repository has been archived on 2026-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
haven-ops/apps/root/applicationset.yaml
T
2026-08-28 19:38:06 -03:00

38 lines
993 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: haven-apps
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://git.ivanch.me/ivanch/haven-ops.git
revision: main
files:
- path: "apps/*/*.yaml"
- path: "apps/root/*.yaml"
exclude: true
template:
metadata:
name: '{{ .path.filename | trimSuffix ".yaml" }}'
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://git.ivanch.me/ivanch/haven-ops.git
targetRevision: main
path: "{{ .path.path }}"
directory:
include: "{{ .path.filename }}"
destination:
server: https://kubernetes.default.svc
namespace: "{{ index .path.segments 1 }}"
syncPolicy:
automated:
prune: true
selfHeal: true