Compare commits
2 Commits
renovate/m
...
829b2705bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
829b2705bc | ||
|
|
62ba062784 |
17
clusters/artemis/apps/homebox/app-project.yaml
Normal file
17
clusters/artemis/apps/homebox/app-project.yaml
Normal 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: '*'
|
||||||
24
clusters/artemis/apps/homebox/application.yaml
Normal file
24
clusters/artemis/apps/homebox/application.yaml
Normal 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
|
||||||
7
clusters/artemis/apps/homebox/kustomization.yaml
Normal file
7
clusters/artemis/apps/homebox/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- app-project.yaml
|
||||||
|
- application.yaml
|
||||||
@@ -16,4 +16,4 @@ resources:
|
|||||||
- penpot
|
- penpot
|
||||||
- immich
|
- immich
|
||||||
- digital-garden
|
- digital-garden
|
||||||
- kaneo
|
- homebox
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
27
manifests/artemis/homebox/deployment.yaml
Normal file
27
manifests/artemis/homebox/deployment.yaml
Normal 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
|
||||||
23
manifests/artemis/homebox/ingress.yaml
Normal file
23
manifests/artemis/homebox/ingress.yaml
Normal 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
|
||||||
9
manifests/artemis/homebox/kustomization.yaml
Normal file
9
manifests/artemis/homebox/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- service.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- deployment.yaml
|
||||||
|
- pvc.yaml
|
||||||
12
manifests/artemis/homebox/pvc.yaml
Normal file
12
manifests/artemis/homebox/pvc.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: homebox-pvc
|
||||||
|
spec:
|
||||||
|
storageClassName: local-path
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 25Gi
|
||||||
12
manifests/artemis/homebox/service.yaml
Normal file
12
manifests/artemis/homebox/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: homebox-svc
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: homebox
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 7745
|
||||||
|
targetPort: 7745
|
||||||
Reference in New Issue
Block a user