diff --git a/apps-kustomized/bazarr/deploy.yaml b/apps-kustomized/bazarr/deploy.yaml new file mode 100644 index 0000000..859dd39 --- /dev/null +++ b/apps-kustomized/bazarr/deploy.yaml @@ -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 + diff --git a/apps-kustomized/bazarr/pvc-smb.yaml b/apps-kustomized/bazarr/pvc-smb.yaml new file mode 100644 index 0000000..b4044af --- /dev/null +++ b/apps-kustomized/bazarr/pvc-smb.yaml @@ -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 \ No newline at end of file diff --git a/apps-kustomized/bazarr/pvc.yaml b/apps-kustomized/bazarr/pvc.yaml new file mode 100644 index 0000000..094b906 --- /dev/null +++ b/apps-kustomized/bazarr/pvc.yaml @@ -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 diff --git a/apps-kustomized/bazarr/service.yaml b/apps-kustomized/bazarr/service.yaml new file mode 100644 index 0000000..1c7bcbb --- /dev/null +++ b/apps-kustomized/bazarr/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: bazarr + name: bazarr +spec: + type: LoadBalancer + ports: + - port: 6767 + selector: + app: bazarr diff --git a/everything-app/bazarr.yaml b/everything-app/bazarr.yaml new file mode 100644 index 0000000..f5369d5 --- /dev/null +++ b/everything-app/bazarr.yaml @@ -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