miniflux

by hajowieland

Helm chartv1.0.0App 2.2.8Verified publisher

A Helm chart for the miniflux feed reader

About this chart

miniflux

A Helm chart for the miniflux feed reader

TL;DR;

helm repo add hajowieland https://charts.wieland.tech
helm repo update
helm install my-release hajowieland/miniflux

Introduction

This chart deploys the minimalist and opionated feed reader miniflux.

Prerequisites

You can reference the CNPG Cluster's app Secret in .postgresSecret.secretName.

Installing the Chart

To install the chart with the release name my-release:

helm repo add hajowieland https://charts.wieland.tech
helm repo update
helm install my-release hajowieland/miniflux

The Values section lists the values that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the my-release deployment:

helm uninstall my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

All Miniflux configuration settings can be found here: https://miniflux.app/docs/configuration.html

Just add the Environment Variable in the .env section.

Admin Password

Credentials for the admin password can be provided via an external Secret and referenced in the values section like this for example:

adminSecret:
  enabled: true
  secretName: "my-external-secret"
  secretKey: "keyInSecretForAdminPassword"

Alternatively set the Environment Variable ADMIN_PASSWORD in the .env section.

Observability

You can enable metrics via .metrics.enabled which sets the Environment Variables METRICS_ALLOWED_NETWORKS: 0.0.0.0/0 and METRICS_COLLECTOR: 1.

If you are using Prometheus Operator (or compatible alternatives like VictoriaMetrics), then you can also deploy a ServiceMonitor via:

metrics:
  enabled: true
  serviceMonitor:
    enabled: true

A Grafana dashboard visualizing those metrics is also included and can be automatically provisioned to Grafana with its grafana-sc-dashboard sidecar:

metrics:
  enabled: true
  dashboard:
    enabled: true
    grafana_label: grafana_dashboard

Values

KeyTypeDefaultDescription
adminSecretobject{"enabled":false,"secretKey":"","secretName":""}Sets ADMIN_PASSWORD
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
env.ADMIN_USERNAMEstring"admin"
env.CREATE_ADMINstring"1"
env.POLLING_PARSING_ERROR_LIMITstring"0"
env.RUN_MIGRATIONSstring"1"
env.WORKER_POOL_SIZEstring"10"
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/miniflux/miniflux"
image.tagstring"2.2.8"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
livenessProbe.httpGet.pathstring"/"
livenessProbe.httpGet.portstring"http"
logging.formatstring"json"
logging.levelstring"info"
metrics.dashboardobject{"enabled":false,"grafana_label":"grafana_dashboard","grafana_label_key":"1"}deploy Grafana dashboard
metrics.enabledboolfalsesets envvars METRICS_ALLOWED_NETWORKS to 0.0.0.0/0 and METRICS_COLLECTOR to 1
metrics.serviceMonitor.enabledboolfalse
metrics.serviceMonitor.intervalstring"30s"
metrics.serviceMonitor.scrapeTimeoutstring"30s"
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
postgresSecretobject{"enabled":false,"secretName":"","uriKey":"uri"}Sets DATABASE_URL
postgresSecret.uriKeystring"uri"Can be used for the "-app" Secret created by a CNPG cluster
readinessProbe.httpGet.pathstring"/"
readinessProbe.httpGet.portstring"http"
replicaCountint1
resourcesobject{}
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65534
service.portint8080
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]
volumeMountslist[]
volumeslist[]

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml hajowieland/miniflux

Deploy miniflux with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has miniflux on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartminiflux is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply