2024-09-05 03:41:16 -05:00
|
|
|
---
|
|
|
|
# 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
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-10 06:01:18 -05:00
|
|
|
version: 3.5.1
|
2024-09-05 03:41:16 -05:00
|
|
|
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:
|
|
|
|
defaultPodOptions:
|
|
|
|
securityContext:
|
|
|
|
fsGroup: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 568
|
|
|
|
seccompProfile:
|
|
|
|
type: RuntimeDefault
|
|
|
|
controllers:
|
|
|
|
flood:
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: jesec/flood
|
2024-11-25 00:03:05 -06:00
|
|
|
tag: master@sha256:04196de98223a193e4913c00e0ab1b48a27a370ef159989e52c29864afc2b2e4
|
2024-09-05 03:41:16 -05:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: flood-secret
|
|
|
|
env:
|
|
|
|
FLOOD_OPTION_RUNDIR: /data
|
|
|
|
FLOOD_OPTION_AUTH: none
|
|
|
|
FLOOD_OPTION_QBURL: http://qbittorrent.qbittorrent.svc.cluster.local
|
|
|
|
# FLOOD_OPTION_QBUSER is required but not used.
|
|
|
|
# FLOOD_OPTION_QBPASS is required but not used.
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 250Mi
|
|
|
|
cpu: 15m
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: *app
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 3000
|
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
className: "internal-nginx"
|
|
|
|
hosts:
|
|
|
|
- host: &host "flood.jahanson.tech"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
existingClaim: *app
|
|
|
|
globalMounts:
|
|
|
|
- path: /data
|