Files
auricom-home-cluster/cluster/apps/media/lychee/helm-release.yaml
2021-05-06 10:21:18 +02:00

78 lines
1.8 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: lychee
namespace: media
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: lychee
version: 4.4.0
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: lycheeorg/lychee-laravel
pullPolicy: IfNotPresent
tag: v4.3.0
strategy:
type: Recreate
service:
port:
port: 80
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
forecastle.stakater.com/expose: "true"
forecastle.stakater.com/appName: "Lychee"
forecastle.stakater.com/icon: "https://lycheeorg.github.io/docs/img/logo.png"
hosts:
- host: lychee.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "lychee.${SECRET_CLUSTER_DOMAIN}"
env:
PHP_TZ: Europe/Paris
DB_CONNECTION: pgsql
DB_HOST: postgresql-kube.data.svc.cluster.local.
DB_PORT: 5432
DB_DATABASE: lychee
DB_USERNAME: lychee
DB_PASSWORD: ${SECRET_LYCHEE_DB_PASSWORD}
persistence:
photo:
enabled: true
mountPath: /mnt/storage/photo
existingClaim: nfs-photo-media
readOnly: true
additionalVolumes:
- name: files
persistentVolumeClaim:
claimName: lychee-files
additionalVolumeMounts:
- name: files
mountPath: /uploads
subPath: uploads
- name: files
mountPath: /sym
subPath: sym