freshrss

by christianhuth

Helm chartv3.1.0App 1.31.0Verified publisher

FreshRSS is a free, self-hostable feed aggregator

About this chart

freshrss

FreshRSS is a free, self-hostable feed aggregator

TL;DR;

helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/freshrss

Or install it from the OCI registry:

helm install my-release oci://ghcr.io/christianhuth/helm-charts/freshrss

Introduction

FreshRSS is a self-hosted RSS and Atom feed aggregator.

This chart bootstraps FreshRSS on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.29+
  • The CloudNativePG operator if the bundled PostgreSQL database is used (freshrss.database.type: postgresql and postgresql.enabled: true)

Installing the CloudNativePG operator

The chart bundles a PostgreSQL cluster as a custom resource of the CloudNativePG operator (via the upstream chart cnpg/cluster). The operator itself is not part of this chart, as it is installed once per Kubernetes cluster:

helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm upgrade --install cnpg cnpg/cloudnative-pg --namespace cnpg-system --create-namespace --wait

Installing the Chart

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

helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/freshrss

The chart is also published as an OCI artifact which can be installed like this:

helm install my-release oci://ghcr.io/christianhuth/helm-charts/freshrss

These commands deploy FreshRSS on the Kubernetes cluster in the default configuration. 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.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for pod assignment
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
deploymentStrategyobject{}Update strategy for the deployment. Set type: Recreate if the persistence uses ReadWriteOnce volumes, as a rolling update starts the new Pod before stopping the old one and it can't mount the volume on another node.
externalDatabase.databasestring"freshrss"Name of the database to use
externalDatabase.existingSecretstring""Name of an existing Secret containing the password of the user
externalDatabase.existingSecretPasswordKeystring"password"Key in the existing Secret containing the password
externalDatabase.hostnamestring""Hostname of the external PostgreSQL database. Used if freshrss.database.type is postgresql and postgresql.enabled is false.
externalDatabase.passwordstring""Password of the user. Ignored if externalDatabase.existingSecret is set.
externalDatabase.portint5432Port of the external PostgreSQL database
externalDatabase.usernamestring"freshrss"Name of the user to use
extraEnvlist[]additional environment variables to be added to the pods
freshrss.baseUrlstring""URL under which FreshRSS will be available. Will use the first Ingress host if Ingress is enabled with ingress.enabled.
freshrss.cronjob.minutesstring"1,31"Minutes to run an automatic cronjob to refresh feeds
freshrss.cronjob.typestring"internal"How to run the CronJob to synchronize your Feeds. Supported values are internal and sidecar.
freshrss.database.typestring"sqlite"Database type to use. Supported values are sqlite and postgresql.
freshrss.environmentstring"production"Enables additional development information if set to development (increases the level of logging and ensures that errors are displayed).
freshrss.initialization.admin.apiPasswordstring""API Password of admin user. Will only be used if initialization is activated.
freshrss.initialization.admin.emailstring""Email of admin user. Will only be used if initialization is activated.
freshrss.initialization.admin.passwordstring""Password of admin user. Will only be used if initialization is activated.
freshrss.initialization.admin.usernamestring"admin"Username of admin user. Will only be used if initialization is activated.
freshrss.initialization.apiEnabledbooltrueenable the FreshRSS API. Will only be used if initialization is activated.
freshrss.initialization.enabledbooltrueUse Auto-install for initialization. Make sure to set this to false once the initialization is done.
freshrss.initialization.languagestring"en"Language of the FreshRSS UI. Will only be used if initialization is activated.
freshrss.persistence.annotationsobject{}Add annotations to the different FreshRSS PVCs
freshrss.persistence.data.accessModeslist["ReadWriteOnce"]Access Modes for the PVC for the data folder
freshrss.persistence.data.annotationsobject{}Add annotations to the PVC for the data folder
freshrss.persistence.data.enabledbooltrueEnable persistence for the data folder
freshrss.persistence.data.existingClaimstring""Use an existing claim as PVC for the data folder
freshrss.persistence.data.sizestring"5Gi"Define the size of the PVC for the data folder
freshrss.persistence.data.storageClassstring""Define the storage class of the PVC for the data folder
freshrss.persistence.enabledbooltrueEnable persistence for FreshRSS data
freshrss.persistence.extensions.accessModeslist["ReadWriteOnce"]Access Modes for the PVC for the extensions folder
freshrss.persistence.extensions.annotationsobject{}Add annotations to the PVC for the extensions folder
freshrss.persistence.extensions.enabledbooltrueEnable persistence for the extensions folder
freshrss.persistence.extensions.existingClaimstring""Use an existing claim as PVC for the extensions folder
freshrss.persistence.extensions.sizestring"5Gi"Define the size of the PVC for the extensions folder
freshrss.persistence.extensions.storageClassstring""Define the storage class of the PVC for the extensions folder
freshrss.persistence.storageClassstring""Define the storage class for the different FreshRSS PVCs
freshrss.timezonestring"Europe/Berlin"Timezone
fullnameOverridestring""String to fully override "freshrss.fullname"
image.pullPolicystring"Always"image pull policy
image.registrystring"docker.io"image registry
image.repositorystring"freshrss/freshrss"image repository
image.tagstring"1.31.0"Overrides the image tag
image.typestring"alpine"Define which type of image should be used. Supported values are alpine and debian.
imagePullSecretslist[]If defined, uses a Secret to pull an image from a private Docker registry or repository.
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.ipstring""ip to resolve public uri behind reverse proxy
ingress.tlslist[]
nameOverridestring""Provide a name in place of freshrss
nodeSelectorobject{}Node labels for pod assignment
podAnnotationsobject{}Annotations to be added to exporter pods
podSecurityContextobject{}pod-level security context
postgresql.cluster.imageNamestring"ghcr.io/cloudnative-pg/postgresql:18-standard-trixie"PostgreSQL image. The tag only pins the major version, so restarted instances get the latest minor version.
postgresql.cluster.imagePullPolicystring"Always"Pull the image on every start to get the latest minor version of the major version
postgresql.cluster.initdb.databasestring"freshrss"Name of the database to create
postgresql.cluster.initdb.ownerstring"freshrss"Name of the user owning the database
postgresql.cluster.instancesint3Number of PostgreSQL instances (one primary, the others are replicas)
postgresql.cluster.storage.sizestring"8Gi"Size of the PVC of each instance
postgresql.enabledboolfalseEnable a PostgreSQL cluster managed by the CloudNativePG operator. Requires freshrss.database.type: postgresql and the operator to be installed in the cluster (see README).
postgresql.version.postgresqlstring"18"PostgreSQL major version. Has to match the major version of postgresql.cluster.imageName.
replicaCountint1Number of replicas
resourcesobject{}Resource limits and requests for the freshrss pods.
revisionHistoryLimitint10The number of old ReplicaSets to retain
route.main.additionalRuleslist[]Additional custom rules that can be added to the route
route.main.annotationsobject{}Add annotations to the route
route.main.apiVersionstring"gateway.networking.k8s.io/v1"Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
route.main.enabledboolfalseEnables or disables the route
route.main.filterslist[]Filters define the filters that are applied to requests that match this rule.
route.main.hostnameslist[]Hostnames to be matched
route.main.httpsRedirectboolfalseadds a filter for redirecting to https (HTTP 301 Moved Permanently). To redirect HTTP traffic to HTTPS, you need to have a Gateway with both HTTP and HTTPS listeners. Matches and filters do not take effect if enabled. Ref. https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/
route.main.kindstring"HTTPRoute"Set the route kind Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute
route.main.labelsobject{}Add labels to the route
route.main.matcheslistsee values.yamldefine conditions used for matching the rule against incoming HTTP requests.
route.main.parentRefslist[]Parent references (Gateway)
route.main.timeoutsobject{}defines the timeouts that can be configured for an HTTP request
securityContextobject{}container-level security context
service.portint8080Kubernetes port where service is exposed
service.typestring"ClusterIP"Kubernetes service type
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]Toleration labels for pod assignment

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 christianhuth/freshrss

Configuring the Database

FreshRSS uses SQLite by default. To use PostgreSQL, set freshrss.database.type: postgresql and either enable the bundled PostgreSQL cluster or configure an external database.

Bundled PostgreSQL with an existing Secret (recommended)

Create a Secret of type kubernetes.io/basic-auth containing the credentials of the database owner. The username has to match postgresql.cluster.initdb.owner:

kubectl create secret generic freshrss-database \
  --type=kubernetes.io/basic-auth \
  --from-literal=username=freshrss \
  --from-literal=password='<password>'

Reference the Secret in your values:

freshrss:
  database:
    type: postgresql

postgresql:
  enabled: true
  cluster:
    initdb:
      database: freshrss
      owner: freshrss
      secret:
        name: freshrss-database

If no Secret is referenced, the operator generates a random password and stores the credentials in the Secret <release>-postgresql-app. All other settings of the PostgreSQL cluster (e.g. postgresql.cluster.instances, postgresql.cluster.storage, backups) are passed to the upstream chart. See its values for all options.

The password is passed to the auto-install (see Initialization) through the environment variable FRESHRSS_DB_PASSWORD, which the FreshRSS entrypoint evaluates with the shell. It must therefore not contain spaces, quotes, backslashes, $ or backticks.

External PostgreSQL

freshrss:
  database:
    type: postgresql

externalDatabase:
  hostname: postgresql.example.com
  port: 5432
  database: freshrss
  username: freshrss
  existingSecret: freshrss-database
  existingSecretPasswordKey: password

Instead of externalDatabase.existingSecret you can set externalDatabase.password, which lets the chart create the Se

Deploy freshrss with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has freshrss 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 chartfreshrss is pinned at v3.1.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