k3s-cluster/kubernetes/main/apps/download/lazy-librarian/app/helm-release.yaml

79 lines
2.3 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: lazy-librarian
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.5.1
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
lazy-librarian:
containers:
app:
image:
repository: lscr.io/linuxserver/lazylibrarian
tag: 9c0f8c51-ls108
env:
TZ: America/New_York
PUID: 10000
PGID: 10000
DOCKER_MODS: linuxserver/mods:lazylibrarian-ffmpeg
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /home
port: &port 5299
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 10
readiness: *probes
# securityContext:
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# capabilities: { drop: ["ALL"] }
# resources:
# requests:
# memory: 100Mi
# limits:
# memory: 4Gi
service:
app:
controller: lazy-librarian
ports:
http:
port: *port
ingress:
app:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
hosts:
- host: "lazylib.${SECRET_NEW_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
existingClaim: lazy-librarian
globalMounts:
- path: /config
storage:
type: hostPath
hostPath: /mnt/MainPool/Media
globalMounts:
- path: /storage