feat: migrate to kah-common helm chart

This commit is contained in:
auricom
2022-07-11 17:08:21 +02:00
parent 02a0c9c652
commit 6e87277ec7
6 changed files with 141 additions and 133 deletions

View File

@@ -2,25 +2,32 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: flood name: &app flood
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: flood version: 1.1.2
version: 6.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: jesec/flood repository: jesec/flood
tag: 4.7.0 tag: 4.7.0
pullPolicy: IfNotPresent
env: env:
FLOOD_OPTION_RUNDIR: /data FLOOD_OPTION_RUNDIR: /data
@@ -38,12 +45,13 @@ spec:
data: data:
enabled: true enabled: true
existingClaim: flood-config existingClaim: flood-config
mountPath: /data
service: service:
main: main:
annotations: ports:
prometheus.io/probe: "true" http:
prometheus.io/protocol: http port: 3000
ingress: ingress:
main: main:
@@ -52,16 +60,14 @@ spec:
annotations: annotations:
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}"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
# traefik.ingress.kubernetes.io/router.middlewares: networking-forward-auth@kubernetescrd
hosts: hosts:
- host: flood.${SECRET_CLUSTER_DOMAIN} - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "flood.${SECRET_CLUSTER_DOMAIN}" - *host
resources: resources:
requests: requests:

View File

@@ -2,25 +2,33 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: lidarr name: &app lidarr
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: lidarr version: 1.1.2
version: 14.1.3
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/lidarr-develop repository: ghcr.io/k8s-at-home/lidarr-develop
tag: v1.0.2.2592 tag: v1.0.2.2592
pullPolicy: IfNotPresent
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
@@ -34,6 +42,7 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: lidarr-config existingClaim: lidarr-config
mountPath: /config
music: music:
enabled: true enabled: true
type: nfs type: nfs
@@ -47,6 +56,12 @@ spec:
path: /mnt/storage/downloads path: /mnt/storage/downloads
mountPath: /mnt/storage/downloads mountPath: /mnt/storage/downloads
service:
main:
ports:
http:
port: 8686
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -57,27 +72,16 @@ spec:
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: | nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Accept-Encoding ""; 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 '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/lidarr/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: "lidarr.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "lidarr.${SECRET_CLUSTER_DOMAIN}" - *host
api:
enabled: true
ingressClassName: "nginx"
hosts:
- host: "lidarr.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /api
pathType: Prefix
tls:
- hosts:
- "lidarr.${SECRET_CLUSTER_DOMAIN}"
resources: resources:
requests: requests:
@@ -85,8 +89,3 @@ spec:
cpu: 500m cpu: 500m
limits: limits:
memory: 1500Mi memory: 1500Mi
metrics:
enabled: true
prometheusRule:
enabled: true

View File

@@ -2,21 +2,30 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: prowlarr name: &app prowlarr
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: prowlarr version: 1.1.2
version: 4.4.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/prowlarr-nightly repository: ghcr.io/k8s-at-home/prowlarr-nightly
tag: v0.4.3.1898 tag: v0.4.3.1898
@@ -29,12 +38,13 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: prowlarr-config existingClaim: prowlarr-config
mountPath: /config
service: service:
main: main:
annotations: ports:
prometheus.io/probe: "true" http:
prometheus.io/protocol: http port: 9696
ingress: ingress:
main: main:
@@ -45,16 +55,16 @@ spec:
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: | nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Accept-Encoding ""; 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 '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/prowlarr/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: "prowlarr.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "prowlarr.${SECRET_CLUSTER_DOMAIN}" - *host
resources: resources:
requests: requests:

View File

@@ -2,26 +2,33 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: radarr name: &app radarr
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: radarr version: 1.1.2
version: 16.2.3
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:
controllerType: deployment global:
nameOverride: *app
image: image:
repository: ghcr.io/k8s-at-home/radarr repository: ghcr.io/k8s-at-home/radarr
tag: v4.1.0.6175 tag: v4.1.0.6175
pullPolicy: IfNotPresent
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
@@ -35,6 +42,7 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: radarr-config existingClaim: radarr-config
mountPath: /config
downloads: downloads:
enabled: true enabled: true
type: nfs type: nfs
@@ -48,6 +56,12 @@ spec:
path: /mnt/storage/video path: /mnt/storage/video
mountPath: /mnt/storage/video mountPath: /mnt/storage/video
service:
main:
ports:
http:
port: 7878
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -58,27 +72,16 @@ spec:
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: | nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Accept-Encoding ""; 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 '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/radarr/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: "radarr.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "radarr.${SECRET_CLUSTER_DOMAIN}" - *host
api:
enabled: true
ingressClassName: "nginx"
hosts:
- host: "radarr.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /api
pathType: Prefix
tls:
- hosts:
- "radarr.${SECRET_CLUSTER_DOMAIN}"
resources: resources:
requests: requests:
@@ -86,8 +89,3 @@ spec:
cpu: 500m cpu: 500m
limits: limits:
memory: 1500Mi memory: 1500Mi
metrics:
enabled: true
prometheusRule:
enabled: true

View File

@@ -2,26 +2,33 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: readarr name: &app readarr
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: readarr version: 1.1.2
version: 6.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:
controllerType: deployment global:
nameOverride: *app
image: image:
repository: ghcr.io/k8s-at-home/readarr repository: ghcr.io/k8s-at-home/readarr
tag: v0.1.1.1352 tag: v0.1.1.1352
pullPolicy: IfNotPresent
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
@@ -30,6 +37,7 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: readarr-config existingClaim: readarr-config
mountPath: /config
books: books:
enabled: true enabled: true
type: nfs type: nfs
@@ -45,9 +53,9 @@ spec:
service: service:
main: main:
annotations: ports:
prometheus.io/probe: "true" http:
prometheus.io/protocol: http port: 8787
ingress: ingress:
main: main:
@@ -58,29 +66,16 @@ spec:
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: | nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Accept-Encoding ""; 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 '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/readarr/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: "readarr.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "readarr.${SECRET_CLUSTER_DOMAIN}" - *host
api:
enabled: true
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts:
- host: "readarr.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /api
pathType: Prefix
tls:
- hosts:
- "readarr.${SECRET_CLUSTER_DOMAIN}"
resources: resources:
requests: requests:

View File

@@ -2,28 +2,37 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: sonarr name: &app sonarr
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: sonarr version: 1.1.2
version: 16.2.3
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:
controllerType: deployment global:
nameOverride: *app
image: image:
repository: ghcr.io/k8s-at-home/sonarr repository: ghcr.io/k8s-at-home/sonarr
tag: v3.0.8.1507 tag: v3.0.8.1507
pullPolicy: IfNotPresent
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
podSecurityContext: podSecurityContext:
runAsUser: 568 runAsUser: 568
runAsGroup: 568 runAsGroup: 568
@@ -33,6 +42,7 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: sonarr-config existingClaim: sonarr-config
mountPath: /config
downloads: downloads:
enabled: true enabled: true
type: nfs type: nfs
@@ -46,6 +56,12 @@ spec:
path: /mnt/storage/video path: /mnt/storage/video
mountPath: /mnt/storage/video mountPath: /mnt/storage/video
service:
main:
ports:
http:
port: 8989
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -56,27 +72,16 @@ spec:
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: | nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Accept-Encoding ""; 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 '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/sonarr/nord.css"></head>';
sub_filter_once on; sub_filter_once on;
hosts: hosts:
- host: "sonarr.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "sonarr.${SECRET_CLUSTER_DOMAIN}" - *host
api:
enabled: true
ingressClassName: "nginx"
hosts:
- host: "sonarr.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /api
pathType: Prefix
tls:
- hosts:
- "sonarr.${SECRET_CLUSTER_DOMAIN}"
resources: resources:
requests: requests:
@@ -84,8 +89,3 @@ spec:
cpu: 500m cpu: 500m
limits: limits:
memory: 1500Mi memory: 1500Mi
metrics:
enabled: true
prometheusRule:
enabled: true