Add radarr
This commit is contained in:
parent
c49b85045c
commit
06ed73297e
|
@ -3,3 +3,4 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./sonarr
|
||||
- ./radarr
|
|
@ -0,0 +1,42 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: radarr
|
||||
namespace: media
|
||||
|
||||
labels:
|
||||
app: radarr
|
||||
kubernetes.io/name: "radarr"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: radarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: radarr
|
||||
spec:
|
||||
containers:
|
||||
- name: radarr
|
||||
image: linuxserver/radarr
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 7878
|
||||
env:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
volumeMounts:
|
||||
- name: radarr
|
||||
mountPath: /config
|
||||
- name: radarr-media-storage
|
||||
mountPath: /storage
|
||||
volumes:
|
||||
- name: radarr
|
||||
hostPath:
|
||||
path: /mnt/MainPool/Kubernetes/radarr
|
||||
- name: radarr-media-storage
|
||||
hostPath:
|
||||
path: /mnt/MainPool/Media
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: radarr-ingress
|
||||
namespace: media
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
spec:
|
||||
rules:
|
||||
- host: "k3srad.***REMOVED***"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: radarr
|
||||
port:
|
||||
name: radarr
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./deployment.yaml
|
||||
- ./ingress.yaml
|
||||
- ./service.yaml
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: radarr
|
||||
namespace: media
|
||||
|
||||
labels:
|
||||
app: radarr
|
||||
kubernetes.io/name: "radarr"
|
||||
spec:
|
||||
selector:
|
||||
app: radarr
|
||||
ports:
|
||||
- name: radarr
|
||||
port: 7878
|
||||
targetPort: 7878
|
|
@ -1,32 +0,0 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: aste88-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
url: https://aste88.github.io/helm-charts/
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: sonarr
|
||||
namespace: media
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: sonarr
|
||||
version: '17.x.x'
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: aste88-charts
|
||||
namespace: flux-system
|
||||
interval: 1m
|
||||
values:
|
||||
env:
|
||||
TZ: America/New_York
|
||||
metrics:
|
||||
enabled: false
|
||||
|
||||
# metrics.enabled: true
|
Loading…
Reference in New Issue