bazarr.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ---
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: bazarr
  6. namespace: plex
  7. spec:
  8. strategy:
  9. type: Recreate
  10. selector:
  11. matchLabels:
  12. app: bazarr
  13. replicas: 1
  14. template:
  15. metadata:
  16. labels:
  17. app: bazarr
  18. annotations:
  19. backup.velero.io/backup-volumes-excludes: plex
  20. spec:
  21. containers:
  22. - name: bazarr
  23. image: lscr.io/linuxserver/bazarr:development-v1.4.4-beta.24-ls617
  24. ports:
  25. - containerPort: 6767
  26. name: http-web-svc
  27. env:
  28. - name: TZ
  29. value: America/New_York
  30. - name: PUID
  31. value: "1000"
  32. - name: PGID
  33. value: "1000"
  34. volumeMounts:
  35. - mountPath: "/plex"
  36. name: plex
  37. - mountPath: "/config"
  38. name: config
  39. volumes:
  40. - name: plex
  41. persistentVolumeClaim:
  42. claimName: plex-pvc
  43. - name: config
  44. persistentVolumeClaim:
  45. claimName: bazarr-pvc
  46. ---
  47. apiVersion: v1
  48. kind: Service
  49. metadata:
  50. name: bazarr-service
  51. namespace: plex
  52. spec:
  53. selector:
  54. app: bazarr
  55. type: ClusterIP
  56. ports:
  57. - name: bazarr-web-port
  58. protocol: TCP
  59. port: 6767
  60. targetPort: http-web-svc
  61. ---
  62. apiVersion: traefik.containo.us/v1alpha1
  63. kind: IngressRoute
  64. metadata:
  65. name: bazarr
  66. namespace: plex
  67. spec:
  68. entryPoints:
  69. - websecure
  70. routes:
  71. - kind: Rule
  72. match: Host(`bazarr.lan.jibby.org`)
  73. services:
  74. - kind: Service
  75. name: bazarr-service
  76. port: 6767
  77. middlewares:
  78. - name: lanonly
  79. namespace: kube-system