summaryrefslogtreecommitdiff
path: root/f3s/miniflux/README.md
blob: 8795b457019d71e8f1ad94922887922a9b4f29a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Miniflux Helm Chart

This chart deploys Miniflux.

## Prerequisites

Before installing the chart, you must manually create the following:

1.  **Database Password Secret:**

    Create a secret that contains only the database password. The chart reads
    this value and constructs the Miniflux `DATABASE_URL` internally at runtime:

    ```bash
    kubectl create secret generic miniflux-db-password \
      --from-literal=fluxdb_password='YOUR_PASSWORD' \
      -n services
    ```

    Replace `YOUR_PASSWORD` with your desired database password. You do not
    need to provide a full DSN in the secret; the chart uses the password from
    `fluxdb_password` to build:

    `postgres://miniflux:${POSTGRES_PASSWORD}@miniflux-postgres:5432/miniflux?sslmode=disable`

2.  **Admin Password Secret:**

    Create a secret for the initial Miniflux admin user password. The chart
    reads this secret into the `ADMIN_PASSWORD` environment variable during
    the first startup to create the admin user. The admin username is set
    to `admin` in the deployment template.

    ```bash
    kubectl create secret generic miniflux-admin-password \
      --from-literal=admin_password='YOUR_ADMIN_PASSWORD' \
      -n services
    ```

    Replace `YOUR_ADMIN_PASSWORD` with your desired password. The secret key
    used by the chart is `admin_password`.

3.  **Persistent Volume Directory:**

    You must manually create the directory on your host system to be used by the persistent volume:

    ```bash
    mkdir -p /data/nfs/k3svolumes/miniflux/data
    ```

## Installing the Chart

To install the chart with the release name `miniflux`, run the following command:

```bash
helm install miniflux . --namespace services --create-namespace
```