Add Argo-managed Immich stack

This commit is contained in:
feedc0de committed 2026-10-22 10:35:11 +02:00
1 parent 0d294321e2
commit adf449d6ba
13 files changed
+391

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: cnpg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-3"
spec:
description: CloudNativePG operator and its required cluster-scoped resources
sourceRepos:
- ghcr.io/cloudnative-pg/charts
destinations:
- namespace: cnpg-system
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
- group: rbac.authorization.k8s.io
kind: ClusterRole
- group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
- group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
namespaceResourceWhitelist:
- group: ""
kind: ConfigMap
- group: ""
kind: Secret
- group: ""
kind: Service
- group: ""
kind: ServiceAccount
- group: apps
kind: Deployment
- group: rbac.authorization.k8s.io
kind: Role
- group: rbac.authorization.k8s.io
kind: RoleBinding
+26
View File
@@ -0,0 +1,26 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-2"
spec:
project: cnpg-operator
source:
repoURL: ghcr.io/cloudnative-pg/charts
chart: cloudnative-pg
targetRevision: 0.29.1
helm:
releaseName: cnpg-operator
destination:
server: https://kubernetes.default.svc
namespace: cnpg-system
syncPolicy:
automated:
enabled: true
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
+23
View File
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: immich-postgresql
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
project: immich
source:
repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
targetRevision: main
path: apps/immich-postgresql
destination:
server: https://kubernetes.default.svc
namespace: immich
syncPolicy:
automated:
enabled: true
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
+37
View File
@@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: immich
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-3"
spec:
description: Immich, its database, and host-local library binding
sourceRepos:
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
- ghcr.io/immich-app/immich-charts
destinations:
- namespace: immich
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ""
kind: PersistentVolume
namespaceResourceWhitelist:
- group: ""
kind: ConfigMap
- group: ""
kind: PersistentVolumeClaim
- group: ""
kind: Service
- group: ""
kind: ServiceAccount
- group: apps
kind: Deployment
- group: networking.k8s.io
kind: Ingress
- group: monitoring.coreos.com
kind: ServiceMonitor
- group: postgresql.cnpg.io
kind: Cluster
- group: traefik.io
kind: IngressRoute
+31
View File
@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: immich
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
project: immich
sources:
- repoURL: ghcr.io/immich-app/immich-charts
chart: immich
targetRevision: 0.13.4
helm:
releaseName: immich
valueFiles:
- $values/apps/immich/values.yaml
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
targetRevision: main
ref: values
path: apps/immich/resources
destination:
server: https://kubernetes.default.svc
namespace: immich
syncPolicy:
automated:
enabled: true
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
+5
View File
@@ -7,6 +7,11 @@ resources:
- grafana-project.yaml
- homeassistant-postgresql-project.yaml
- platform-project.yaml
- cnpg-operator-project.yaml
- cnpg-operator.yaml
- immich-project.yaml
- immich-postgresql.yaml
- immich.yaml
- sealed-secrets.yaml
- immich-sync.yaml
- immichframe.yaml
+1
View File
@@ -7,6 +7,7 @@ spec:
description: Cluster services installed from maintained upstream charts
sourceRepos:
- https://bitnami.github.io/sealed-secrets
- https://cloudnative-pg.github.io/charts
destinations:
- namespace: sealed-secrets
server: https://kubernetes.default.svc