* update

* migrate remaining applications
This commit is contained in:
Morten Olsen
2025-12-03 13:31:33 +01:00
committed by GitHub
parent 2abb883c59
commit 1c403e013c
48 changed files with 130 additions and 148 deletions

View File

@@ -0,0 +1,40 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: homelab-apps
namespace: argocd
spec:
generators:
- git:
repoURL: {{ .Values.repoURL }}
revision: {{ .Values.targetRevision }}
directories:
- path: {{ .Values.path }}/*
- path: {{ .Values.path }}/*{{ .Values.exclude }}
exclude: true
template:
metadata:
name: '{{`{{path.basename}}`}}'
spec:
project: {{ .Values.project }}
source:
repoURL: {{ .Values.repoURL }}
targetRevision: {{ .Values.targetRevision }}
path: '{{`{{path}}`}}'
helm:
valueFiles:
- values.yaml
values: |
globals:
environment: {{ .Values.globals.environment }}
domain: {{ .Values.globals.domain }}
timezone: {{ .Values.globals.timezone }}
destination:
server: https://kubernetes.default.svc
namespace: prod
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: {{ .Values.project }}
namespace: argocd
spec:
description: "Project for homelab apps"
sourceRepos:
- '*'
destinations:
- namespace: prod
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: '*'
kind: '*'