mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-03 09:09:01 +02:00
🚀 homebox
This commit is contained in:
81
kubernetes/apps/default/homebox/app/helmrelease.yaml
Normal file
81
kubernetes/apps/default/homebox/app/helmrelease.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: &app homebox
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 2.0.3
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
namespace: flux-system
|
||||
maxHistory: 2
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
controllers:
|
||||
main:
|
||||
type: statefulset
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/hay-kot/homebox
|
||||
tag: v0.10.1
|
||||
env:
|
||||
TZ: "${TIMEZONE}"
|
||||
HBOX_LOG_LEVEL: info
|
||||
HBOX_LOG_FORMAT: text
|
||||
HBOX_MEB_MAX_UPLOAD_SIZE: 10
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 52M
|
||||
limits:
|
||||
memory: 256M
|
||||
statefulset:
|
||||
volumeClaimTemplates:
|
||||
- name: config
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
storageClass: rook-ceph-block
|
||||
globalMounts:
|
||||
- path: /config
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
port: 7745
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
className: nginx
|
||||
annotations:
|
||||
hajimari.io/enable: "true"
|
||||
hajimari.io/appName: *app
|
||||
hajimari.io/info: "Inventory management system"
|
||||
hajimari.io/icon: "devices"
|
||||
hajimari.io/targetBlank: "true"
|
||||
hosts:
|
||||
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: "/"
|
||||
pathType: "Prefix"
|
||||
service:
|
||||
name: main
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
Reference in New Issue
Block a user