cups

by r2dlan

Helm chartv0.1.0App 2.4.2Apache-2.0Verified publisher

A Helm chart to deploy CUPS (Common UNIX Printing System) as a print server in Kubernetes

About this chart

CUPS Helm Chart

A Helm chart for deploying CUPS (Common UNIX Printing System) as a print server in a Kubernetes cluster.


Features

  • Deploys a standalone CUPS server
  • Exposes the CUPS web interface via Kubernetes Service
  • Persistent storage support
  • Secret-based authentication with optional auto-generation
  • Configurable environment variables

Prerequisites

  • Kubernetes v1.19+
  • Helm v3.0+

Installation

Add your Helm repository (if published):

helm repo add r2dlan https://r2dlan.github.io/helm-charts/
helm repo update

Install the chart:

helm install my-cups r2dlan/cups

Or from local:

helm install my-cups ./charts/cups

Uninstall

helm uninstall my-cups

Configuration

You can override chart settings via --set or values.yaml.

KeyDescriptionDefault
image.repositoryCUPS Docker imageanujdatar/cups
image.tagTag/version of the image25.07.01
service.typeService type (ClusterIP, NodePort, etc)ClusterIP
auth.usernameOptional username for CUPS UIautogenerated
auth.passwordOptional password for CUPS UIautogenerated
extraEnvAdditional environment variables{}

Persistence

KeyDescriptionDefault
persistence.enabledEnable persistent storagefalse
persistence.sizeVolume size200Mi
persistence.accessModeAccess mode (e.g. ReadWriteOnce)ReadWriteOnce
persistence.storageClassNameStorageClass to use(unset = default)

Environment Variables

extraEnv:
  TZ: Europe/Berlin
  CUSTOM_VAR: value123

Secrets & Authentication

If no username/password is provided in values.yaml, random values will be generated and injected via Kubernetes Secret.

Secrets are automatically checksum-hashed into the Deployment to ensure pods are restarted on changes.

Accessing the CUPS Interface

After deployment:

kubectl port-forward svc/my-cups 631:631

License

This chart is licensed under the Apache 2.0 License.

Maintainers

Deploy cups with OpenTenant

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