Add miniflux helm deployment
parent
4e8b8cf50f
commit
5d81c974b2
@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: miniflux
|
||||
metadata:
|
||||
name: miniflux
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/miniflux-sealedsecret.yaml
|
||||
- app/postgres.yaml
|
||||
- app/repository.yaml
|
||||
- app/release.yaml
|
||||
- app/route.yaml
|
@ -0,0 +1,18 @@
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: miniflux-secret
|
||||
namespace: miniflux
|
||||
spec:
|
||||
encryptedData:
|
||||
postgres-password: AgCDmnhV7iONi7rE2nixJed7g9acU/99AdJ0hg3H+tmpXQknUyIIkKY/DhL6sNOIfli0r9VsfU/c9guGAFx8VKhXOsl8t43K9j+2maowCackFv/Ok0N13qhd8sQd5wRcrT8eADUe+a0E4F7EHqWRV+EYtxtl2UXgD1MTDpaR15xQiKxgQXkVv1rnLH6NHjRrLQ0nKpeaoZdEHEch/Nh1OS5TGVzPRq0K8aI8HSIHGWn097wXLxHNjynYSOTayBncpJPSGMVt27t6UXhDni94DhO04UsbDJPUimdjmLQ5toC+qTo1q6wdQjX79u+S/9E7Qy3Driwk1OjGzNFSF7yy7jhWDrK5UlbG1qwSQjbXLwOgQWjJEJun+FPG90G+NxjkBtACdp4nhde+i2VShuf6lBgA/TXs+2YQL5QDiaWhhte0AdNQYDgZeQoOUQyxN1ecBD7vXYC+nWBkP7wLXZ9GB35p8/OupevWBwgaN6nd0G1/1BKJpUHXmnv8WdpzSMN0A8fbQRElyZr5I+PcAtFF6etH2/EYBxyWtAZSmhKidDySVlAnrYR19F1xM1t8iZXDbcpO9+CWr2vonara3/5mH3A8HYuUYY9heYSybZ51fRLv6F/K/bzkz2t7FQrfDXLbR76XR2ftumUPBbtIWoqP0uTVun/G7fxk+Ouj4q7VpgpCSL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OL72c7sfJUpQQD2vKzUfuXnnkNytmrMCleer7a18Typ67V3iPGr+ewfxHNmp7HcTy2L1glTBNcaDxr0qDvnqHEQexSnlkXB5qTV6hlaPLWmAELFpGQKY06GPQ/Uw9EnTDj0e0/Vq3r8cAZorElCai48A3w9klTi7s+XpgMXLBcmh7ZM2095Of9KeupzXCBxXmxLsgb0wEgOgC7fFdXvz0rN02PKQa9ETWLd8Sft2TKY6PsDRwbLDd2NAeHZt6BqAfWFYLXm0stw8Bivxc1R28DIgTGiP6msgUSOTPfpcW2QzG2hRx5LfgDdqlNXavgj2gMyRMngTQ5MCdu1Cq/kIGhsLNFiV0Kv5SKw3uJZ4V3G1wbAf994cwlSqywgxT+4oIZRwmADPT6R3p+fklbls1DI8leLniUvS5il5Zzhl9nW443YVtzStMKbHUUhf5ACRj1+fNyRV78Iz60RDJGuJl+f87GDQCqk7iNsRfESxEaiUMNakZpy1kdC10j2q23tE5y6FROrwcTIAAxvbZIollDXdZG154Xv4YOeIZSiL4YJ/ePg9WexvDSKKf+ywEpbYpQBxVF6OPA5ikoLXLcEP/my4jbrCyhE=
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: miniflux-secret
|
||||
namespace: miniflux
|
||||
type: Opaque
|
||||
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: miniflux
|
||||
labels:
|
||||
name: miniflux
|
@ -0,0 +1,22 @@
|
||||
apiVersion: kubegres.reactive-tech.io/v1
|
||||
kind: Kubegres
|
||||
metadata:
|
||||
name: miniflux-db
|
||||
namespace: miniflux
|
||||
spec:
|
||||
replicas: 2
|
||||
image: postgres:16-alpine
|
||||
database:
|
||||
size: 2Gi
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: miniflux-secret
|
||||
key: postgres-password
|
||||
|
||||
- name: POSTGRES_REPLICATION_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: miniflux-secret
|
||||
key: replication-password
|
@ -0,0 +1,24 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: miniflux
|
||||
spec:
|
||||
releaseName: miniflux
|
||||
chart:
|
||||
spec:
|
||||
chart: miniflux
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: miniflux
|
||||
interval: 50m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
postgresql:
|
||||
enabled: false
|
||||
valuesFrom:
|
||||
- kind: Secret
|
||||
name: miniflux-secret
|
||||
valuesKey: values
|
@ -0,0 +1,9 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: miniflux
|
||||
spec:
|
||||
type: oci
|
||||
interval: 5m
|
||||
url: oci://ghcr.io/gabe565/charts
|
@ -0,0 +1,14 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: miniflux-route
|
||||
namespace: miniflux
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`miniflux.trivernis.dev`) || Host(`miniflux.trivernis.net`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: miniflux
|
||||
port: 8080
|
Loading…
Reference in New Issue