config changes

This commit is contained in:
2026-08-28 19:38:06 -03:00
parent c08ef0d4c8
commit 8ef62b6aa7
2 changed files with 3 additions and 13 deletions
+3 -7
View File
@@ -11,14 +11,11 @@ spec:
repoURL: https://git.ivanch.me/ivanch/haven-ops.git
revision: main
files:
# one Application per <app>.yaml under apps/<ns>/
- path: "apps/*/*.yaml"
# never generate apps for the bootstrap/root manifests themselves
- path: "apps/root/*.yaml"
exclude: true
template:
metadata:
# apps/default/notepad.yaml -> Application "notepad"
name: '{{ .path.filename | trimSuffix ".yaml" }}'
namespace: argocd
finalizers:
@@ -28,13 +25,12 @@ spec:
source:
repoURL: https://git.ivanch.me/ivanch/haven-ops.git
targetRevision: main
# in the git files generator .path.path IS the containing directory
path: '{{ .path.path }}'
path: "{{ .path.path }}"
directory:
include: '{{ .path.filename }}'
include: "{{ .path.filename }}"
destination:
server: https://kubernetes.default.svc
namespace: '{{ index .path.segments 1 }}'
namespace: "{{ index .path.segments 1 }}"
syncPolicy:
automated:
prune: true