FEAT(repo): add config files for apps repo

- Add application.yaml for ArgoCD app-of-apps
- Add kustomization.yaml with all 8 application components
- Add renovate.json for automated updates
This commit is contained in:
2026-01-04 19:54:36 +09:00
parent 2470de07dd
commit ef3409884c
3 changed files with 72 additions and 0 deletions

33
application.yaml Normal file
View File

@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: applications
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/K3S-HOME/applications.git
targetRevision: main
path: .
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10

13
kustomization.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- gitea/argocd.yaml
- homer/argocd.yaml
- docusaurus/argocd.yaml
- code-server/argocd.yaml
- umami/argocd.yaml
- headlamp/argocd.yaml
- immich/argocd.yaml
- crafty/argocd.yaml

26
renovate.json Normal file
View File

@@ -0,0 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["argocd\\.yaml$"],
"matchStrings": [
"repoURL:\\s*(?<registryUrl>ghcr\\.io/[^\\s]+)\\n\\s+chart:\\s*(?<depName>[^\\s]+)\\n\\s+targetRevision:\\s*(?<currentValue>[^\\s]+)"
],
"datasourceTemplate": "helm",
"registryUrlTemplate": "oci://{{registryUrl}}"
}
],
"kubernetes": {
"fileMatch": ["\\.yaml$"]
},
"helmv3": {
"fileMatch": ["helm-values\\.yaml$"]
},
"argocd": {
"fileMatch": ["argocd\\.yaml$"]
}
}