mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
87 lines
2.6 KiB
YAML
87 lines
2.6 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 flood
|
|
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:
|
|
defaultPodOptions:
|
|
securityContext:
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
fsGroup: 1001
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
controllers:
|
|
flood:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: jesec/flood
|
|
tag: master@sha256:2e04adbb9a72d74f3d2f6cd6f27e0932c76122fa1229b360b38d001a16c114c3
|
|
env:
|
|
FLOOD_OPTION_RUNDIR: /data
|
|
FLOOD_OPTION_AUTH: none
|
|
FLOOD_OPTION_QBURL: http://qbittorrent-app.default.svc.cluster.local.:8080
|
|
envFrom:
|
|
- secretRef:
|
|
name: flood-secret
|
|
resources:
|
|
requests:
|
|
memory: 250Mi
|
|
cpu: 15m
|
|
limits:
|
|
memory: 512Mi
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 3000
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/auth-method: GET
|
|
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
|
|
nginx.ingress.kubernetes.io/auth-signin: https://auth.${SECRET_EXTERNAL_DOMAIN}?rm=$request_method
|
|
nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email
|
|
nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Method $request_method;
|
|
hajimari.io/icon: mdi:download
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/group: Media
|
|
gethomepage.dev/name: qBittorrent
|
|
gethomepage.dev/icon: qbittorrent.png
|
|
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: /data
|