convert to app template

This commit is contained in:
2024-06-22 22:29:26 -05:00
parent cb979c1004
commit c851083d67
34 changed files with 1066 additions and 420 deletions

View File

@@ -10,12 +10,13 @@ home: ""
sources:
- https://github.com/Prowlarr/Prowlarr
- https://github.com/onedr0p/containers/pkgs/container/prowlarr
- https://github.com/k8s-home-lab/helm-charts/tree/master/charts/stable/prowlarr
- https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template
maintainers:
- name: alexlebens
dependencies:
- name: prowlarr
version: 5.1.2
repository: https://k8s-home-lab.github.io/helm-charts/
- name: app-template
alias: prowlarr
repository: https://bjw-s.github.io/helm-charts/
version: 3.2.1
icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/prowlarr.png
appVersion: 1.18.0.4543

View File

@@ -1,13 +1,65 @@
prowlarr:
image:
repository: ghcr.io/onedr0p/prowlarr
tag: 1.18.0.4543
env:
TZ: US/Central
lidarr2:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups:
- 44
- 100
- 109
- 65539
containers:
main:
image:
repository: ghcr.io/onedr0p/prowlarr
tag: 1.18.0.4543
pullPolicy: IfNotPresent
env:
- name: TZ
value: US/Central
probes:
liveness:
enabled: true
custom: true
spec:
exec:
command:
- /usr/bin/env
- bash
- -c
- curl --fail localhost:8686/api/v1/system/status?apiKey=`IFS=\> && while
read -d \< E C; do if [[ $E = "ApiKey" ]]; then echo $C; fi; done < /config/config.xml`
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
resources:
requests:
cpu: 100m
memory: 256Mi
serviceAccount:
create: true
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 9696
protocol: HTTP
ingress:
main:
enabled: true
ingressClassName: traefik
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
@@ -17,22 +69,21 @@ prowlarr:
paths:
- path: /
pathType: Prefix
service:
name: prowlarr
port: 80
tls:
- secretName: prowlarr-secret-tls
hosts:
- prowlarr.alexlebens.net
persistence:
config:
enabled: true
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 1Gi
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 2000
fsGroupChangePolicy: OnRootMismatch
supplementalGroups:
- 44
- 100
- 109
- 65539
retain: true
advancedMounts:
main:
main:
- path: /config
readOnly: false