mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
Compare commits
2 Commits
renovate/d
...
renovate/d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a30a5fd80b | ||
![]() |
7eee0a57b4 |
176
kubernetes/apps/default/filebrowser/app/helmrelease.yaml
Normal file
176
kubernetes/apps/default/filebrowser/app/helmrelease.yaml
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: &app filebrowser
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
chartRef:
|
||||||
|
kind: OCIRepository
|
||||||
|
name: app-template
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
cleanupOnFail: true
|
||||||
|
remediation:
|
||||||
|
strategy: rollback
|
||||||
|
retries: 3
|
||||||
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
controllers:
|
||||||
|
flood:
|
||||||
|
annotations:
|
||||||
|
reloader.stakater.com/auto: "true"
|
||||||
|
containers:
|
||||||
|
app:
|
||||||
|
image:
|
||||||
|
repository: docker.io/filebrowser/filebrowser
|
||||||
|
tag: v2.43.0@sha256:1d0bcba4bd7d8886cc6f77c791694d69f9c7c78e889c4ed3a5734529daed9fa1
|
||||||
|
env:
|
||||||
|
FB_DATABASE: /config/filebrowser.db
|
||||||
|
FB_ROOT: /var/mnt
|
||||||
|
FB_LOG: stdout
|
||||||
|
FB_PORT: &port 7000
|
||||||
|
probes:
|
||||||
|
liveness: &probes
|
||||||
|
enabled: true
|
||||||
|
custom: true
|
||||||
|
spec:
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: *port
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
readiness: *probes
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
service:
|
||||||
|
app:
|
||||||
|
controller: *app
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: *port
|
||||||
|
route:
|
||||||
|
app:
|
||||||
|
hostnames: ["{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"]
|
||||||
|
parentRefs:
|
||||||
|
- name: internal
|
||||||
|
namespace: network
|
||||||
|
sectionName: https
|
||||||
|
rules:
|
||||||
|
- backendRefs:
|
||||||
|
- name: *app
|
||||||
|
port: *port
|
||||||
|
persistence:
|
||||||
|
calibre:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/apps/calibre
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/apps/calibre
|
||||||
|
frigate:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/apps/frigate
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/apps/frigate
|
||||||
|
sharry:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/apps/sharry
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/apps/sharry
|
||||||
|
downloads:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/downloads
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/downloads
|
||||||
|
claude:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/home/claude
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/home/claude
|
||||||
|
helene:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/home/helene
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/home/helene
|
||||||
|
music:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/music
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/music
|
||||||
|
music_transcoded:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/music_transcoded
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/music_transcoded
|
||||||
|
photo:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/photo
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/photo
|
||||||
|
piracy:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/piracy
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/piracy
|
||||||
|
shared-documents:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/shared-documents
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/shared-documents
|
||||||
|
video:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol1/video
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol1/video
|
||||||
|
minio:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: 192.168.9.10
|
||||||
|
path: /var/mnt/vol2/apps/minio
|
||||||
|
globalMounts:
|
||||||
|
- path: /var/mnt/vol2/apps/minio
|
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./helmrelease.yaml
|
32
kubernetes/apps/default/filebrowser/ks.yaml
Normal file
32
kubernetes/apps/default/filebrowser/ks.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app filebrowser
|
||||||
|
namespace: &namespace default
|
||||||
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
dependsOn:
|
||||||
|
- name: volsync
|
||||||
|
namespace: volsync
|
||||||
|
components:
|
||||||
|
- ../../../../components/gatus/guarded
|
||||||
|
- ../../../../components/volsync
|
||||||
|
interval: 1h
|
||||||
|
path: ./kubernetes/apps/default/filebrowser/app
|
||||||
|
postBuild:
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 2Gi
|
||||||
|
prune: true
|
||||||
|
retryInterval: 2m
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
namespace: flux-system
|
||||||
|
targetNamespace: *namespace
|
||||||
|
timeout: 5m
|
||||||
|
wait: false
|
@@ -11,6 +11,7 @@ resources:
|
|||||||
- ./bazarr/ks.yaml
|
- ./bazarr/ks.yaml
|
||||||
- ./calibre/ks.yaml
|
- ./calibre/ks.yaml
|
||||||
- ./exercisediary/ks.yaml
|
- ./exercisediary/ks.yaml
|
||||||
|
- ./filebrowser/ks.yaml
|
||||||
- ./flaresolverr/ks.yaml
|
- ./flaresolverr/ks.yaml
|
||||||
- ./flood/ks.yaml
|
- ./flood/ks.yaml
|
||||||
- ./freshrss/ks.yaml
|
- ./freshrss/ks.yaml
|
||||||
|
Reference in New Issue
Block a user