84 lines
2.0 KiB
YAML
84 lines
2.0 KiB
YAML
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: kapowarr
|
||
|
namespace: download
|
||
|
spec:
|
||
|
interval: 5m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: app-template
|
||
|
version: 3.1.0
|
||
|
sourceRef:
|
||
|
kind: HelmRepository
|
||
|
name: bjws-charts
|
||
|
namespace: flux-system
|
||
|
|
||
|
values:
|
||
|
controllers:
|
||
|
main:
|
||
|
pod:
|
||
|
securityContext:
|
||
|
runAsNonRoot: true
|
||
|
runAsUser: 10000
|
||
|
runAsGroup: 10000
|
||
|
fsGroup: 10000
|
||
|
fsGroupChangePolicy: OnRootMismatch
|
||
|
|
||
|
containers:
|
||
|
main:
|
||
|
image:
|
||
|
repository: mrcas/kapowarr
|
||
|
tag: v1.0.0-beta-4
|
||
|
|
||
|
env:
|
||
|
QBITTORRENT__PORT: 8080
|
||
|
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: qbittorrent-secrets
|
||
|
|
||
|
service:
|
||
|
app:
|
||
|
controller: main
|
||
|
|
||
|
ports:
|
||
|
http:
|
||
|
port: 5656
|
||
|
protocol: HTTP
|
||
|
|
||
|
ingress:
|
||
|
main:
|
||
|
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: &host "kapowarr.${SECRET_NEW_DOMAIN}"
|
||
|
paths:
|
||
|
- path: /
|
||
|
service:
|
||
|
identifier: app
|
||
|
port: http
|
||
|
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- *host
|
||
|
|
||
|
persistence:
|
||
|
storage:
|
||
|
type: hostPath
|
||
|
hostPath: /mnt/MainPool/Media
|
||
|
globalMounts:
|
||
|
- path: /storage
|
||
|
|
||
|
config:
|
||
|
type: persistentVolumeClaim
|
||
|
size: 1Gi
|
||
|
storageClass: openebs-hostpath
|
||
|
accessMode: ReadWriteOnce
|
||
|
nameOverride: kapowarr
|
||
|
globalMounts:
|
||
|
- path: /app/db
|