This commit is contained in:
Martyn 2023-12-05 11:52:59 +00:00
parent 0b9e79a4db
commit 9cf0f28038
5 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,49 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: bazarr
name: bazarr
spec:
replicas: 1
selector:
matchLabels:
app: bazarr
template:
metadata:
creationTimestamp: null
labels:
app: bazarr
spec:
containers:
- image: hotio/bazarr:release
name: bazarr
ports:
- name: http
containerPort: 6767
protocol: TCP
volumeMounts:
- name: config
mountPath: /config
- name: data
mountPath: /data
- name: series
mountPath: /series
- name: oldseries
mountPath: /oldseries
- name: films
mountPath: /films
volumes:
- name: config
persistentVolumeClaim:
claimName: bazarr-config-data
- name: series
persistentVolumeClaim:
claimName: smb-series
- name: oldseries
persistentVolumeClaim:
claimName: smb-oldseries
- name: films
persistentVolumeClaim:
claimName: smb-films

View File

@ -0,0 +1,35 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-series
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-series
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-oldseries
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-oldseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-films
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-films

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: bazarr-config-data
spec:
storageClassName: rook-ceph-block-ssd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: bazarr
name: bazarr
spec:
type: LoadBalancer
ports:
- port: 6767
selector:
app: bazarr

View File

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bazarr
namespace: argocd
spec:
destination:
namespace: bazarr
server: https://kubernetes.default.svc
project: default
source:
path: apps-kustomized/bazarr
repoURL: https://git.martyn.berlin/martyn/infra4talos.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true