Files
auricom-home-cluster/kubernetes/apps/default/homebox/app/helmrelease.yaml
2024-02-20 19:48:34 +01:00

79 lines
1.9 KiB
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app homebox
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.6.0
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:
containers:
main:
image:
repository: ghcr.io/hay-kot/homebox
tag: v0.10.3@sha256:b1fbca6fc1ad2bd3634d13056d1bc0242cf92e9bad4ca21ce57589be3fe4987e
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
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
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config