92 lines
2.4 KiB
YAML
92 lines
2.4 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: cross-seed
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.5.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
dependsOn:
|
|
- name: qbittorrent
|
|
namespace: qbittorrent
|
|
values:
|
|
controllers:
|
|
cross-seed:
|
|
nameOverride: cross-seed
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/cross-seed/cross-seed
|
|
tag: 6.5.1@sha256:0454d949431d01cdf897637bdc4f3ae4ce371a311b30693466272780ea8f09bd
|
|
env:
|
|
TZ: America/Chicago
|
|
args: ["daemon"]
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
readiness:
|
|
enabled: true
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: { drop: ["ALL"] }
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
limits:
|
|
memory: 512Mi
|
|
defaultPodOptions:
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
supplementalGroups: [10000]
|
|
seccompProfile: { type: RuntimeDefault }
|
|
service:
|
|
app:
|
|
controller: cross-seed
|
|
ports:
|
|
http:
|
|
port: 80
|
|
persistence:
|
|
config:
|
|
type: emptyDir
|
|
secret-file:
|
|
type: secret
|
|
name: cross-seed-secret
|
|
globalMounts:
|
|
- path: /config/config.js
|
|
subPath: config.js
|
|
readOnly: true
|
|
qbittorrent:
|
|
existingClaim: qbittorrent
|
|
globalMounts:
|
|
- path: /qbittorrent/qBittorrent/BT_backup
|
|
subPath: qBittorrent/BT_backup
|
|
readOnly: true
|
|
media:
|
|
type: nfs
|
|
server: 10.1.1.61
|
|
path: /eru/media
|
|
globalMounts:
|
|
- path: /data/nas-media
|