more-stuff

This commit is contained in:
Morten Olsen
2025-09-03 17:08:46 +02:00
parent 03e406322f
commit 1259e3e752
5 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: homelab-apps
namespace: '{{ .Values.env }}-argo'
spec:
generators:
- directory:
path: charts/apps
recurse: false
include: '.*'
filter: |
.is_dir == true and (.path | endswith(".disabled") | not)
template:
metadata:
name: '{{path.basename}}'
spec:
project: default
source:
repoURL: '{{ .Values.repo }}'
targetRevision: '{{ .Values.ref }}'
path: charts/apps/{{path.basename}}
helm:
values: |
global: {{ .Values.global | toYaml | nindent 14 }}
destination:
server: https://kubernetes.default.svc
namespace: '{{ .Values.globals.env }}'
syncPolicy:
automated:
prune: true
selfHeal: true