miniflux.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ---
  2. apiVersion: v1
  3. kind: Namespace
  4. metadata:
  5. name: miniflux
  6. ---
  7. apiVersion: apps/v1
  8. kind: Deployment
  9. metadata:
  10. name: miniflux
  11. namespace: miniflux
  12. spec:
  13. selector:
  14. matchLabels:
  15. app: miniflux
  16. replicas: 1
  17. template:
  18. metadata:
  19. labels:
  20. app: miniflux
  21. spec:
  22. containers:
  23. - name: miniflux
  24. image: miniflux/miniflux:2.0.39
  25. ports:
  26. - containerPort: 8080
  27. name: http-web-svc
  28. envFrom:
  29. - secretRef:
  30. name: miniflux-db-secret
  31. env:
  32. - name: RUN_MIGRATIONS
  33. value: "1"
  34. livenessProbe:
  35. exec:
  36. command: ["/usr/bin/miniflux", "-healthcheck", "auto"]
  37. initialDelaySeconds: 5
  38. periodSeconds: 5
  39. timeoutSeconds: 5
  40. ---
  41. apiVersion: v1
  42. kind: Service
  43. metadata:
  44. name: miniflux-service
  45. namespace: miniflux
  46. spec:
  47. selector:
  48. app: miniflux
  49. type: ClusterIP
  50. ports:
  51. - name: miniflux-web-port
  52. protocol: TCP
  53. port: 8080
  54. targetPort: http-web-svc
  55. ---
  56. apiVersion: traefik.containo.us/v1alpha1
  57. kind: IngressRoute
  58. metadata:
  59. name: miniflux
  60. namespace: miniflux
  61. spec:
  62. entryPoints:
  63. - websecure
  64. routes:
  65. - kind: Rule
  66. match: Host(`miniflux.jibby.org`)
  67. services:
  68. - kind: Service
  69. name: miniflux-service
  70. port: 8080