Initial checkin
This commit is contained in:
commit
e2b3ad25f0
|
@ -0,0 +1 @@
|
||||||
|
flexget_secret.yml
|
|
@ -0,0 +1,6 @@
|
||||||
|
# flexget k8s manifests
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
This deploys a flexget server.
|
||||||
|
|
|
@ -0,0 +1,63 @@
|
||||||
|
---
|
||||||
|
tasks:
|
||||||
|
series:
|
||||||
|
rss: https://eztv.ag/ezrss.xml
|
||||||
|
series:
|
||||||
|
- Archer
|
||||||
|
- Back
|
||||||
|
- Better Call Saul
|
||||||
|
- Brooklyn Nine-Nine
|
||||||
|
- Death in Paradise
|
||||||
|
- Devs
|
||||||
|
- Family Guy
|
||||||
|
- Halt and Catch Fire
|
||||||
|
- Kims Convenience
|
||||||
|
- Last Week Tonight
|
||||||
|
- Letterkenny
|
||||||
|
- Magnum P.I.
|
||||||
|
- Mr Robot
|
||||||
|
- Murdoch Mysteries
|
||||||
|
- Nature of Things
|
||||||
|
- Outlander
|
||||||
|
- Preacher
|
||||||
|
- Red Dwarf
|
||||||
|
- Rick and Morty
|
||||||
|
- Robot Chicken
|
||||||
|
- Seal Team
|
||||||
|
- South Park
|
||||||
|
- Stan Against Evil
|
||||||
|
- Star Trek Lower Decks
|
||||||
|
- Star Trek Discovery
|
||||||
|
- Star Trek Picard
|
||||||
|
- The Beaverton
|
||||||
|
- The Conners
|
||||||
|
- The Expanse
|
||||||
|
- The IT Crowd
|
||||||
|
- The Mandalorian
|
||||||
|
- The Orville
|
||||||
|
- The Rookie
|
||||||
|
- The Shannara Chronicles
|
||||||
|
- The Simpsons
|
||||||
|
- Vikings
|
||||||
|
- Watchmen
|
||||||
|
- Westworld
|
||||||
|
- Whose Line is it Anyway
|
||||||
|
- Young Sheldon
|
||||||
|
content_filter:
|
||||||
|
reject: '*.wmv'
|
||||||
|
transmission:
|
||||||
|
host: 192.168.7.21
|
||||||
|
port: 9091
|
||||||
|
username: transmission
|
||||||
|
password: transmission
|
||||||
|
ratio: 1.0
|
||||||
|
add_paused: true
|
||||||
|
schedules:
|
||||||
|
- tasks: [series]
|
||||||
|
interval:
|
||||||
|
minutes: 5
|
||||||
|
web_server:
|
||||||
|
bind: 0.0.0.0
|
||||||
|
port: 5050
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,61 @@
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: flexget
|
||||||
|
labels:
|
||||||
|
app: flexget
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: flexget
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: flexget
|
||||||
|
spec:
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: beta.kubernetes.io/arch
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- arm64
|
||||||
|
containers:
|
||||||
|
- name: flexget
|
||||||
|
image: wiserain/flexget
|
||||||
|
env:
|
||||||
|
- name: FG_WEBUI_PASSWD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: flexget-pass
|
||||||
|
key: FG_WEBUI_PASSWD
|
||||||
|
- name: FG_LOG_LEVEL
|
||||||
|
value: "info"
|
||||||
|
- name: PUID
|
||||||
|
value: "65534"
|
||||||
|
- name: PgID
|
||||||
|
value: "65534"
|
||||||
|
- name: TZ
|
||||||
|
value: "EST5EDT"
|
||||||
|
ports:
|
||||||
|
- containerPort: 5050
|
||||||
|
volumeMounts:
|
||||||
|
- name : flexget-data
|
||||||
|
mountPath: /data
|
||||||
|
- name: flexget-config
|
||||||
|
mountPath: /config
|
||||||
|
volumes:
|
||||||
|
- name: flexget-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: flexget-data-pvc
|
||||||
|
- name: flexget-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: flexget-config-pvc
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,41 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: flexget-data-pv
|
||||||
|
labels:
|
||||||
|
name: flexget-data-pv
|
||||||
|
spec:
|
||||||
|
storageClassName: manual
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
mountOptions:
|
||||||
|
- hard
|
||||||
|
- nfsvers=4.0
|
||||||
|
nfs:
|
||||||
|
server: 192.168.7.11
|
||||||
|
path: "/volume1/k8s-storage/flexget-data"
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: flexget-config-pv
|
||||||
|
labels:
|
||||||
|
name: flexget-config-pv
|
||||||
|
spec:
|
||||||
|
storageClassName: manual
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
mountOptions:
|
||||||
|
- hard
|
||||||
|
- nfsvers=4.0
|
||||||
|
nfs:
|
||||||
|
server: 192.168.7.11
|
||||||
|
path: "/volume1/k8s-storage/flexget-config"
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,36 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: flexget-data-pvc
|
||||||
|
labels:
|
||||||
|
app: flexget
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: "manual"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
name: flexget-data-pv
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: flexget-config-pvc
|
||||||
|
labels:
|
||||||
|
app: flexget
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: "manual"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
name: flexget-config-pv
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
#############################################
|
||||||
|
# - creds for flexget webui
|
||||||
|
# - generate value using;
|
||||||
|
# echo -n '<text>' | base64
|
||||||
|
#############################################
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: flexget-pass
|
||||||
|
namespace: k8stv
|
||||||
|
data:
|
||||||
|
FG_WEBUI_PASSWD: xxxxxxxxxx
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: flexget
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: flexget
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 5050
|
||||||
|
targetPort: 5050
|
||||||
|
type: LoadBalancer
|
||||||
|
|
||||||
|
# EOF
|
Loading…
Reference in New Issue