cups
by r2dlan
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.
| Key | Description | Default |
|---|---|---|
image.repository | CUPS Docker image | anujdatar/cups |
image.tag | Tag/version of the image | 25.07.01 |
service.type | Service type (ClusterIP, NodePort, etc) | ClusterIP |
auth.username | Optional username for CUPS UI | autogenerated |
auth.password | Optional password for CUPS UI | autogenerated |
extraEnv | Additional environment variables | {} |
Persistence
| Key | Description | Default |
|---|---|---|
persistence.enabled | Enable persistent storage | false |
persistence.size | Volume size | 200Mi |
persistence.accessMode | Access mode (e.g. ReadWriteOnce) | ReadWriteOnce |
persistence.storageClassName | StorageClass 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
- Daniel Andres ([email protected])
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcups is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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