mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
---
|
|
# 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 homebox
|
|
spec:
|
|
interval: 1h
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: app-template
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
homebox:
|
|
containers:
|
|
app:
|
|
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:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 7745
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
annotations:
|
|
hajimari.io/enable: "true"
|
|
hajimari.io/appName: *app
|
|
hajimari.io/info: Inventory management system
|
|
hajimari.io/icon: devices
|
|
hajimari.io/targetBlank: "true"
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: Homebox
|
|
gethomepage.dev/description: Inventory and organization system built for the Home User
|
|
gethomepage.dev/group: Applications
|
|
gethomepage.dev/icon: homebox.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
homebox
|
|
)
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: *app
|
|
globalMounts:
|
|
- path: /config
|