feat: change sabnzbd chart to kah-common

This commit is contained in:
auricom
2022-07-07 21:55:26 +02:00
parent 2ec910d2ce
commit 32afbad338

View File

@@ -2,21 +2,29 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: sabnzbd name: &app sabnzbd
namespace: media namespace: media
spec: spec:
interval: 5m interval: 15m
chart: chart:
spec: spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/ chart: kah-common-chart
chart: sabnzbd version: 1.1.2
version: 9.3.2
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: k8s-at-home-charts name: k8s-at-home-charts
namespace: flux-system namespace: flux-system
interval: 5m interval: 15m
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values: values:
global:
nameOverride: *app
image: image:
repository: ghcr.io/k8s-at-home/sabnzbd repository: ghcr.io/k8s-at-home/sabnzbd
tag: v3.6.0 tag: v3.6.0
@@ -28,6 +36,7 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: sabnzbd-config existingClaim: sabnzbd-config
mountPath: /config
downloads: downloads:
enabled: true enabled: true
type: nfs type: nfs
@@ -50,49 +59,32 @@ spec:
supplementalGroups: supplementalGroups:
- 100 - 100
# disable service monitoring because of ip blacklist service:
# service: main:
# main: ports:
# annotations: http:
# prometheus.io/probe: "true" port: 8080
# prometheus.io/protocol: http
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: "nginx" ingressClassName: "nginx"
annotations: 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-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}" 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: hosts:
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}" - *host
api:
enabled: true
ingressClassName: "nginx"
nameSuffix: "api"
hosts:
- host: "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /api
pathType: Prefix
tls:
- hosts:
- "sabnzbd.${SECRET_CLUSTER_DOMAIN}"
resources: resources:
requests: requests:
memory: 250Mi
cpu: 500m cpu: 500m
memory: 250Mi
limits: limits:
memory: 7500Mi memory: 7500Mi