foreman

by Contane

Helm chartv0.6.0App 0.5.2Verified publisher

A web UI for managing Renovate jobs.

About this chart

Helm chart for Foreman

Foreman is a Kubernetes application for managing Renovate jobs, developed by Contane.

Foreman is intended to be deployed together with self-hosted Mend Renovate, either in the same or a secondary Kubernetes cluster. It provides a user interface for monitoring the Renovate CronJob including interactive progress and logs as well as the ability to trigger custom jobs, speeding up the dependency upgrade cycle in the case of many repositories.

Quick Reference

  • Repository and documentation: https://github.com/contane/foreman
  • Helm chart on GitHub: https://github.com/contane/charts/tree/main/charts/foreman
  • Helm chart on Artifact Hub: https://artifacthub.io/packages/helm/contane-github/foreman
  • Container image on Docker Hub: https://hub.docker.com/r/contane/foreman

Installation (see below for values.yaml parameters):

helm install -f my-values.yaml my-foreman \
    oci://ghcr.io/contane/charts/foreman

Parameters

Global configuration options

NameDescriptionValue
global.nameOverrideString to partially override foreman standard name""
global.commonLabelsLabels to add to all deployed objects{}
global.commonAnnotationsAnnotations to add to all deployed objects{}

Image configuration

NameDescriptionValue
image.repositoryDocker image repositorycontane/foreman
image.tagDocker image tag0.5.2
image.pullPolicyDocker image pull policyIfNotPresent
image.pullSecretsDocker registry secret names as an array[]

Common configuration options

NameDescriptionValue
replicaCountNumber of replicas to deploy2
serviceAccountNameService Account Name""

Resource requests and limits

NameDescriptionValue
resources.limits.memoryThe maximum amount of memory that the container can use512Mi
resources.limits.cpuThe maximum amount of CPU that the container can use250m
resources.requests.memoryThe requested memory for the container256Mi
resources.requests.cpuThe requested CPU for the container100m

Ingress configuration

NameDescriptionValue
ingress.classNameIngress class namenginx
ingress.hostIP or hostname to access the serviceforeman.dev.local
ingress.pathPath within the url structure/
ingress.annotationsIngress annotations{}
ingress.tls.secretNameTLS secret nameforeman-ingress-tls

Application runtime configuration

NameDescriptionValue
config.existingSecretName of an existing secret containing the configuration""
config.existingConfigMapName of an existing configmap containing the configuration""
config.cronJob.namespaceNamespace where the CronJob is deployed""
config.cronJob.nameName of the CronJob""
config.cookies.keyKey which is used to encrypt the session cookie""
config.cookies.maxAgeMax age of the session cookie, e.g. "24h" or "7 days"""
config.auth.local.enabledEnable local authenticationfalse
config.auth.local.usernameUsername of the local admin user""
config.auth.local.passwordPassword of the local admin user""
config.auth.oidc.enabledEnable OIDC authenticationfalse
config.auth.oidc.issuerIssuer of the OIDC provider""
config.auth.oidc.clientIdClient ID of the OIDC provider""
config.auth.oidc.clientSecretClient Secret of the OIDC provider""
config.auth.oidc.publicUrlPublic URL of the foreman instance""
config.gitlab.hostOptional: URL of the GitLab instance (if GitLab features should be active)""

Deploy foreman with OpenTenant

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