2 Commits

Author SHA1 Message Date
Renovate Bot
829b2705bc chore(deps): update dependency argoproj/argo-cd to v3.3.4 2026-03-17 00:02:44 +00:00
Daniël Groothuis
62ba062784 feat(manifests): Added Homebox deployments. 2026-03-13 18:59:40 +01:00
11 changed files with 134 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: homebox
spec:
description: Inventory for the home
sourceRepos:
- '*'
sourceNamespaces:
- '*'
destinations:
- namespace: 'homebox'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'

View File

@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: homebox
namespace: homebox
labels:
platform.dgse.cloud/cluster: artemis
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: homebox
source:
repoURL: 'https://git.dgse.cloud/DGSE/kubernetes.git'
path: manifests/artemis/homebox
targetRevision: main
destination:
namespace: homebox
name: in-cluster
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true

View File

@@ -0,0 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app-project.yaml
- application.yaml

View File

@@ -16,4 +16,4 @@ resources:
- penpot - penpot
- immich - immich
- digital-garden - digital-garden
- kaneo - homebox

View File

@@ -5,7 +5,7 @@ metadata:
name: argocd name: argocd
resources: resources:
- github.com/argoproj/argo-cd/manifests/cluster-install?ref=v3.2.6 - github.com/argoproj/argo-cd/manifests/cluster-install?ref=v3.3.4
- ingressRoute.yaml - ingressRoute.yaml
- certificate.yaml - certificate.yaml
- backstage-sa.yaml - backstage-sa.yaml

View File

@@ -0,0 +1,27 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: homebox
spec:
replicas: 1
selector:
matchLabels:
app: homebox
template:
metadata:
labels:
app: homebox
spec:
containers:
- name: homebox
image: ghcr.io/sysadminsmedia/homebox:latest
ports:
- containerPort: 7745
volumeMounts:
- mountPath: /data
name: homebox-data
volumes:
- name: homebox-data
persistentVolumeClaim:
claimName: homebox-pvc

View File

@@ -0,0 +1,23 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: homebox-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt
spec:
rules:
- host: inventory.dgse.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: homebox-svc
port:
number: 7745
tls:
- hosts:
- inventory.dgse.cloud
secretName: letsencrypt

View File

@@ -0,0 +1,9 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- service.yaml
- ingress.yaml
- deployment.yaml
- pvc.yaml

View File

@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: homebox-pvc
spec:
storageClassName: local-path
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 25Gi

View File

@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: Service
metadata:
name: homebox-svc
spec:
selector:
app: homebox
ports:
- protocol: TCP
port: 7745
targetPort: 7745

View File

@@ -10,7 +10,7 @@ resources:
helmCharts: helmCharts:
- name: mailu - name: mailu
repo: https://mailu.github.io/helm-charts/ repo: https://mailu.github.io/helm-charts/
version: 2.6.3 version: 2.1.2
releaseName: mailu releaseName: mailu
namespace: mailu namespace: mailu
valuesFile: values.yaml valuesFile: values.yaml