mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
feat: change sabnzbd chart to kah-common
This commit is contained in:
@@ -2,21 +2,29 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: sabnzbd
|
||||
name: &app sabnzbd
|
||||
namespace: media
|
||||
spec:
|
||||
interval: 5m
|
||||
interval: 15m
|
||||
chart:
|
||||
spec:
|
||||
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
||||
chart: sabnzbd
|
||||
version: 9.3.2
|
||||
chart: kah-common-chart
|
||||
version: 1.1.2
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: k8s-at-home-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
interval: 15m
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
retries: 5
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 5
|
||||
values:
|
||||
global:
|
||||
nameOverride: *app
|
||||
image:
|
||||
repository: ghcr.io/k8s-at-home/sabnzbd
|
||||
tag: v3.6.0
|
||||
@@ -28,6 +36,7 @@ spec:
|
||||
config:
|
||||
enabled: true
|
||||
existingClaim: sabnzbd-config
|
||||
mountPath: /config
|
||||
downloads:
|
||||
enabled: true
|
||||
type: nfs
|
||||
@@ -50,49 +59,32 @@ spec:
|
||||
supplementalGroups:
|
||||
- 100
|
||||
|
||||
# disable service monitoring because of ip blacklist
|
||||
# service:
|
||||
# main:
|
||||
# annotations:
|
||||
# prometheus.io/probe: "true"
|
||||
# prometheus.io/protocol: http
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
port: 8080
|
||||
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
|
||||
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/sabnzbd/nord.css"></head>';
|
||||
sub_filter_once on;
|
||||
|
||||
hosts:
|
||||
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
api:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
nameSuffix: "api"
|
||||
hosts:
|
||||
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
|
||||
- *host
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: 250Mi
|
||||
cpu: 500m
|
||||
memory: 250Mi
|
||||
limits:
|
||||
memory: 7500Mi
|
||||
|
Reference in New Issue
Block a user