mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00

| datasource | package | from | to | | ---------- | ------------------------ | ------- | ------- | | docker | lycheeorg/lychee-laravel | v4.12.0 | v4.13.0 |
91 lines
2.1 KiB
YAML
91 lines
2.1 KiB
YAML
---
|
|
# 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 lychee
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.5.1
|
|
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
|
|
dependsOn:
|
|
- name: lychee-redis
|
|
values:
|
|
initContainers:
|
|
01-init-db:
|
|
image: ghcr.io/auricom/postgres-init:15.4
|
|
imagePullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: &secret lychee-secret
|
|
controller:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
image:
|
|
repository: lycheeorg/lychee-laravel
|
|
tag: v4.13.0
|
|
env:
|
|
TIMEZONE: ${TIMEZONE}
|
|
APP_NAME: Lychee
|
|
DB_CONNECTION: pgsql
|
|
REDIS_HOST: lychee-redis.default.svc.cluster.local.
|
|
REDIS_PORT: 6379
|
|
envFrom:
|
|
- secretRef:
|
|
name: lychee-secret
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 80
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
auth.home.arpa/enabled: "true"
|
|
external-dns.home.arpa/enabled: "true"
|
|
hajimari.io/icon: mdi:camera
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
photo:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/photo
|
|
mountPath: /mnt/storage/photo
|
|
readOnly: true
|
|
files:
|
|
enabled: true
|
|
mountPath: /uploads
|
|
existingClaim: lychee-files
|
|
resources:
|
|
requests:
|
|
cpu: 15m
|
|
memory: 256Mi
|