add prowlarr
This commit is contained in:
22
clusters/cl01tl/applications/prowlarr/Chart.yaml
Normal file
22
clusters/cl01tl/applications/prowlarr/Chart.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: prowlarr
|
||||||
|
version: 1.0.0
|
||||||
|
description: Prowlarr
|
||||||
|
keywords:
|
||||||
|
- prowlarr
|
||||||
|
- servarr
|
||||||
|
- trackers
|
||||||
|
home: https://wiki.alexlebens.dev/doc/prowlarr-ERparmlGES
|
||||||
|
sources:
|
||||||
|
- https://github.com/Prowlarr/Prowlarr
|
||||||
|
- https://github.com/onedr0p/containers/pkgs/container/prowlarr
|
||||||
|
- https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
dependencies:
|
||||||
|
- name: app-template
|
||||||
|
alias: prowlarr
|
||||||
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
|
version: 3.6.1
|
||||||
|
icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/prowlarr.png
|
||||||
|
appVersion: 1.28.2.4885
|
@@ -0,0 +1,57 @@
|
|||||||
|
# apiVersion: external-secrets.io/v1beta1
|
||||||
|
# kind: ExternalSecret
|
||||||
|
# metadata:
|
||||||
|
# name: prowlarr-config-backup-secret
|
||||||
|
# namespace: {{ .Release.Namespace }}
|
||||||
|
# labels:
|
||||||
|
# app.kubernetes.io/name: prowlarr-config-backup-secret
|
||||||
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
# app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
# app.kubernetes.io/component: backup
|
||||||
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
# spec:
|
||||||
|
# secretStoreRef:
|
||||||
|
# kind: ClusterSecretStore
|
||||||
|
# name: vault
|
||||||
|
# target:
|
||||||
|
# template:
|
||||||
|
# mergePolicy: Merge
|
||||||
|
# engineVersion: v2
|
||||||
|
# data:
|
||||||
|
# RESTIC_REPOSITORY: "{{ `{{ .BUCKET_ENDPOINT }}` }}/prowlarr/prowlarr-config"
|
||||||
|
# data:
|
||||||
|
# - secretKey: BUCKET_ENDPOINT
|
||||||
|
# remoteRef:
|
||||||
|
# conversionStrategy: Default
|
||||||
|
# decodingStrategy: None
|
||||||
|
# key: /cl01tl/volsync/restic/config
|
||||||
|
# metadataPolicy: None
|
||||||
|
# property: S3_BUCKET_ENDPOINT
|
||||||
|
# - secretKey: RESTIC_PASSWORD
|
||||||
|
# remoteRef:
|
||||||
|
# conversionStrategy: Default
|
||||||
|
# decodingStrategy: None
|
||||||
|
# key: /cl01tl/volsync/restic/config
|
||||||
|
# metadataPolicy: None
|
||||||
|
# property: RESTIC_PASSWORD
|
||||||
|
# - secretKey: AWS_DEFAULT_REGION
|
||||||
|
# remoteRef:
|
||||||
|
# conversionStrategy: Default
|
||||||
|
# decodingStrategy: None
|
||||||
|
# key: /cl01tl/volsync/restic/config
|
||||||
|
# metadataPolicy: None
|
||||||
|
# property: AWS_DEFAULT_REGION
|
||||||
|
# - secretKey: AWS_ACCESS_KEY_ID
|
||||||
|
# remoteRef:
|
||||||
|
# conversionStrategy: Default
|
||||||
|
# decodingStrategy: None
|
||||||
|
# key: /digital-ocean/home-infra/volsync-backups
|
||||||
|
# metadataPolicy: None
|
||||||
|
# property: access_key
|
||||||
|
# - secretKey: AWS_SECRET_ACCESS_KEY
|
||||||
|
# remoteRef:
|
||||||
|
# conversionStrategy: Default
|
||||||
|
# decodingStrategy: None
|
||||||
|
# key: /digital-ocean/home-infra/volsync-backups
|
||||||
|
# metadataPolicy: None
|
||||||
|
# property: secret_key
|
@@ -0,0 +1,37 @@
|
|||||||
|
# apiVersion: volsync.backube/v1alpha1
|
||||||
|
# kind: ReplicationSource
|
||||||
|
# metadata:
|
||||||
|
# name: prowlarr-config-backup-source
|
||||||
|
# namespace: {{ .Release.Namespace }}
|
||||||
|
# labels:
|
||||||
|
# app.kubernetes.io/name: prowlarr-config-backup-source
|
||||||
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
# app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
# app.kubernetes.io/component: backup
|
||||||
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
# spec:
|
||||||
|
# sourcePVC: prowlarr-config
|
||||||
|
# trigger:
|
||||||
|
# schedule: 0 0 */3 * *
|
||||||
|
# restic:
|
||||||
|
# pruneIntervalDays: 14
|
||||||
|
# repository: prowlarr-config-backup-secret
|
||||||
|
# retain:
|
||||||
|
# hourly: 1
|
||||||
|
# daily: 1
|
||||||
|
# weekly: 1
|
||||||
|
# monthly: 2
|
||||||
|
# yearly: 4
|
||||||
|
# moverSecurityContext:
|
||||||
|
# runAsUser: 568
|
||||||
|
# runAsGroup: 568
|
||||||
|
# fsGroup: 568
|
||||||
|
# fsGroupChangePolicy: OnRootMismatch
|
||||||
|
# supplementalGroups:
|
||||||
|
# - 44
|
||||||
|
# - 100
|
||||||
|
# - 109
|
||||||
|
# - 65539
|
||||||
|
# copyMethod: Snapshot
|
||||||
|
# storageClassName: ceph-block-delete
|
||||||
|
# volumeSnapshotClassName: ceph-blockpool-snapshot
|
84
clusters/cl01tl/applications/prowlarr/values.yaml
Normal file
84
clusters/cl01tl/applications/prowlarr/values.yaml
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
prowlarr:
|
||||||
|
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.30.2.4939
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: US/Central
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: false
|
||||||
|
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: 10m
|
||||||
|
memory: 256Mi
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
controller: main
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
targetPort: 9696
|
||||||
|
protocol: HTTP
|
||||||
|
ingress:
|
||||||
|
tailscale:
|
||||||
|
enabled: true
|
||||||
|
className: tailscale
|
||||||
|
hosts:
|
||||||
|
- host: prowlarr-cl01tl
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
service:
|
||||||
|
name: prowlarr
|
||||||
|
port: 80
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- prowlarr-cl01tl
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
storageClass: ceph-block
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 1Gi
|
||||||
|
retain: true
|
||||||
|
advancedMounts:
|
||||||
|
main:
|
||||||
|
main:
|
||||||
|
- path: /config
|
||||||
|
readOnly: false
|
Reference in New Issue
Block a user