Helm chart values
Every value of the dropshelf Helm chart, with its type and default, and example values files for common installs.
The dropshelf chart installs the server on Kubernetes. This page lists every value it takes, and example values files for the installs most teams start from.
The chart is published at oci://ghcr.io/dropshelf/charts/dropshelf, at the same version as the
image. It ships a values.schema.json, so helm install and helm upgrade refuse a misspelled key
or a value of the wrong type before anything reaches the cluster.
The config value is the server's configuration file, rendered as it is. Its keys are in the
configuration reference.
Example values files
Each file sets only what differs from the defaults. Combine them with several -f flags: a later
file wins.
The values every install sets
Your two addresses, your bucket, your identity provider and the first admin. The chart's defaults cover the rest: two replicas, an Ingress, and a wildcard certificate from a cert-manager ClusterIssuer named letsencrypt-dns that solves DNS-01. Create the Secret dropshelf-secrets first, with DROPSHELF_DATABASE_URL, DROPSHELF_AUTH_OIDC_CLIENT_SECRET and DROPSHELF_AUTH_SESSION_SECRETS.
# The values every install sets.
# Your two addresses, your bucket, your identity provider and the first admin. The chart's defaults
# cover the rest: two replicas, an Ingress, and a wildcard certificate from a cert-manager
# ClusterIssuer named letsencrypt-dns that solves DNS-01. Create the Secret dropshelf-secrets first,
# with DROPSHELF_DATABASE_URL, DROPSHELF_AUTH_OIDC_CLIENT_SECRET and DROPSHELF_AUTH_SESSION_SECRETS.
config:
server:
baseDomain: drop.example.com
publicBaseURL: https://drop.example.com
trustedProxies: ["10.0.0.0/8"]
storage:
driver: s3
s3:
bucket: example-dropshelf
region: eu-north-1
auth:
provider: oidc
oidc:
issuer: https://example.eu.auth0.com/
clientId: <client-id>
admins:
emails: [admin@example.com]helm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f minimal.yamlAzure Kubernetes Service with Workload Identity
The pods reach the Blob container as a user-assigned managed identity with a federated credential for the ServiceAccount dropshelf. Give the identity Storage Blob Data Contributor on the container.
# Azure Kubernetes Service with Workload Identity.
# The pods reach the Blob container as a user-assigned managed identity with a federated credential
# for the ServiceAccount dropshelf. Give the identity Storage Blob Data Contributor on the container.
serviceAccount:
annotations:
azure.workload.identity/client-id: <client-id>
podLabels:
azure.workload.identity/use: "true"
config:
storage:
driver: azure
azure:
account: exampledropshelf
container: dropshelm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f aks.yamlEvery optional feature on
Drop data with live sync, file uploads from a drop's visitors, and connectors to company databases. Add DROPSHELF_CONNECTORS_SECRETS to the Secret, at least 32 bytes, and let the pods reach the databases admins connect. Uploads wait on the spool volume before they are stored, so it grows with them.
# Every optional feature on.
# Drop data with live sync, file uploads from a drop's visitors, and connectors to company
# databases. Add DROPSHELF_CONNECTORS_SECRETS to the Secret, at least 32 bytes, and let the pods reach
# the databases admins connect. Uploads wait on the spool volume before they are stored, so it grows
# with them.
config:
platform:
db:
enabled: true
assets:
enabled: true
maxFileBytes: 25MB
maxBytesPerDrop: 500MB
connectors:
enabled: true
volumes:
spool:
sizeLimit: 4Gi
resources:
requests:
cpu: 250m
memory: 256Mi
ephemeral-storage: 14Gi
limits:
memory: 512Mihelm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f all-features.yamlAmazon EKS with IRSA
The pods reach the S3 bucket as an IAM role, through IAM Roles for Service Accounts, so no access key is stored. The role needs s3:ListBucket on the bucket and s3:GetObject, s3:PutObject and s3:DeleteObject on its objects.
# Amazon EKS with IRSA.
# The pods reach the S3 bucket as an IAM role, through IAM Roles for Service Accounts, so no access
# key is stored. The role needs s3:ListBucket on the bucket and s3:GetObject, s3:PutObject and
# s3:DeleteObject on its objects.
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::<account-id>:role/dropshelf
config:
storage:
driver: s3
s3:
bucket: example-dropshelf
region: eu-north-1helm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f aws-eks.yamlYour own wildcard certificate
Use a certificate from your own PKI instead of cert-manager. The Secret must be of type kubernetes.io/tls and cover drop.example.com and *.drop.example.com. With existingSecret set, the chart renders no Certificate.
# Your own wildcard certificate.
# Use a certificate from your own PKI instead of cert-manager. The Secret must be of type
# kubernetes.io/tls and cover drop.example.com and *.drop.example.com. With existingSecret set, the
# chart renders no Certificate.
ingress:
className: nginx
tls:
existingSecret: drop-example-com-wildcardhelm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f existing-certificate.yamlGoogle Kubernetes Engine with Workload Identity
The pods reach the Cloud Storage bucket as a Google service account. Allow the Kubernetes ServiceAccount dropshelf to act as it (roles/iam.workloadIdentityUser), and grant it roles/storage.objectAdmin on the bucket.
# Google Kubernetes Engine with Workload Identity.
# The pods reach the Cloud Storage bucket as a Google service account. Allow the Kubernetes
# ServiceAccount dropshelf to act as it (roles/iam.workloadIdentityUser), and grant it
# roles/storage.objectAdmin on the bucket.
serviceAccount:
annotations:
iam.gke.io/gcp-service-account: dropshelf@<project>.iam.gserviceaccount.com
config:
storage:
driver: gcs
gcs:
bucket: example-dropshelfhelm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f gke.yamlA larger production install
Migrations run once per upgrade as a hook Job instead of in every starting pod, an autoscaler replaces the fixed replica count, and prometheus-operator scrapes the metrics. Pods spread across zones, so losing one zone keeps the service up.
# A larger production install.
# Migrations run once per upgrade as a hook Job instead of in every starting pod, an autoscaler
# replaces the fixed replica count, and prometheus-operator scrapes the metrics. Pods spread across
# zones, so losing one zone keeps the service up.
migrations:
mode: job
autoscaling:
enabled: true
minReplicas: 3
maxReplicas: 10
metrics:
serviceMonitor:
enabled: true
labels:
release: prometheus
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app.kubernetes.io/name: dropshelfhelm install dropshelf oci://ghcr.io/dropshelf/charts/dropshelf -n dropshelf -f production.yamlimage
| Value | Type | Default | Description |
|---|---|---|---|
image.repository | string | ghcr.io/dropshelf/dropshelf | The container image, without a tag. |
image.tag | string | empty | The image tag. Empty means the chart's appVersion, the release it was packaged with. Floating tags (latest, dev, edge, stable, main, master, nightly) are refused at render time. |
image.digest | string | empty | An image digest, sha256:.... Pins harder than a tag and wins over it when set. |
image.pullPolicy | string | IfNotPresent | The pull policy for the server, migration and demo containers. |
Pods and scheduling
| Value | Type | Default | Description |
|---|---|---|---|
replicaCount | integer | 2 | How many server pods run, behind a RollingUpdate. Ignored when autoscaling is on. |
podLabels | object | empty | Extra labels on the pods. AKS Workload Identity needs azure.workload.identity/use: "true" here. |
resources | object | below | The server container's requests and limits. Keep requests.ephemeral-storage at the sum of the two volumes size limits. Only memory is limited, so deploys are never CPU-throttled. |
terminationGracePeriodSeconds | integer | 60 | Seconds Kubernetes waits after SIGTERM. Must exceed config.server.timeouts.shutdown, the time an in-flight deploy gets before it is cancelled. |
nodeSelector | object | empty | Node labels the pods must run on. |
tolerations | array | empty | Tolerations for the pods. |
affinity | object | empty | Affinity rules for the pods. |
topologySpreadConstraints | array | empty | Topology spread constraints for the pods. |
The default of resources:
resources:
limits:
memory: 512Mi
requests:
cpu: 250m
ephemeral-storage: 12Gi
memory: 256Miconfig
| Value | Type | Default | Description |
|---|---|---|---|
config | object | below | The server's configuration file, rendered as it is into a ConfigMap as config.yaml. Every key is in the configuration reference. Secrets never go here: they come from secrets.existingSecret. |
The default of config:
config:
auth:
admins:
emails:
- you@example.com
oidc:
assumeEmailVerified: false
clientId: your-client-id
issuer: https://your-tenant.eu.auth0.com/
requireVerifiedEmail: true
provider: oidc
cache:
maxBytes: 8GB
database:
autoMigrate: true
driver: postgres
url: ${DROPSHELF_DATABASE_URL}
log:
format: json
level: info
server:
baseDomain: drop.example.com
publicBaseURL: https://drop.example.com
timeouts:
shutdown: 50s
trustedProxies:
- 10.0.0.0/8
storage:
driver: s3
s3:
bucket: dropshelf
region: eu-north-1secrets
| Value | Type | Default | Description |
|---|---|---|---|
secrets.existingSecret | string | dropshelf-secrets | The Secret, created outside the chart, whose every key becomes an environment variable: the database URL, the OIDC client secret, the session secrets and any other secret setting. Empty renders no envFrom. After rotating a value, run kubectl rollout restart deployment/dropshelf. |
volumes
| Value | Type | Default | Description |
|---|---|---|---|
volumes.spool.sizeLimit | string | 2Gi | The size limit of the spool emptyDir, server.spoolDir, where uploads wait until they are stored. Emptied at every startup. |
volumes.cache.sizeLimit | string | 10Gi | The size limit of the object cache emptyDir, cache.dir, refilled from the bucket by use. Keep it above config.cache.maxBytes. |
ingress
| Value | Type | Default | Description |
|---|---|---|---|
ingress.enabled | boolean | true | Render an Ingress for the dashboard address and the wildcard drop address. |
ingress.className | string | empty | The IngressClass. nginx also sets the body size and timeouts from ingress.nginx. |
ingress.annotations | object | empty | Annotations added to the Ingress. With className nginx, the proxy body size and timeout annotations come from ingress.nginx instead. cert-manager.io/cluster-issuer, cert-manager.io/issuer and kubernetes.io/tls-acme fail the render. |
ingress.nginx.proxyBodySize | string | 110m | The largest request body nginx accepts. Must exceed config.deploy.maxZipBytes, 100 MiB by default. Applied only when className is nginx. |
ingress.nginx.proxyReadTimeout | string | 900 | Seconds nginx waits to read from the server. Must cover config.server.timeouts.upload, 15 minutes by default. |
ingress.nginx.proxySendTimeout | string | 900 | Seconds nginx waits to send to the server. Must cover config.server.timeouts.upload. |
ingress.tls.certManager.enabled | boolean | true | Render a cert-manager Certificate for the wildcard, requested through DNS-01, into the Secret dropshelf-tls. |
ingress.tls.certManager.issuerRef.name | string | letsencrypt-dns | The issuer that signs the certificate. It must solve DNS-01: a wildcard cannot be issued through HTTP-01. |
ingress.tls.certManager.issuerRef.kind | string | ClusterIssuer | ClusterIssuer or Issuer. |
ingress.tls.existingSecret | string | empty | A Secret holding your own wildcard certificate. Set, it wins over certManager.enabled and no Certificate is rendered. |
serviceAccount
| Value | Type | Default | Description |
|---|---|---|---|
serviceAccount.create | boolean | true | Create the ServiceAccount the pods run as. |
serviceAccount.annotations | object | empty | Annotations on the ServiceAccount, for the pods' cloud identity: eks.amazonaws.com/role-arn for IRSA, iam.gke.io/gcp-service-account for GKE Workload Identity, azure.workload.identity/client-id for AKS Workload Identity. |
autoscaling
| Value | Type | Default | Description |
|---|---|---|---|
autoscaling.enabled | boolean | false | Render a HorizontalPodAutoscaler instead of a fixed replicaCount. |
autoscaling.minReplicas | integer | 2 | The fewest pods the autoscaler keeps. |
autoscaling.maxReplicas | integer | 6 | The most pods the autoscaler runs. |
autoscaling.targetCPUUtilizationPercentage | integer | 70 | The average CPU use, in percent of the request, the autoscaler aims for. CPU is its only signal. |
podDisruptionBudget
| Value | Type | Default | Description |
|---|---|---|---|
podDisruptionBudget.enabled | boolean | true | Render a PodDisruptionBudget, so node drains keep a pod serving. |
podDisruptionBudget.minAvailable | integer or string | 1 | Pods that must stay up during a voluntary disruption, as a count or a percentage. |
metrics
| Value | Type | Default | Description |
|---|---|---|---|
metrics.serviceMonitor.enabled | boolean | false | Render a ServiceMonitor for prometheus-operator. It adds a metrics port to the Service. Without it, the pods' prometheus.io annotations serve a Prometheus that discovers pods itself. |
metrics.serviceMonitor.labels | object | empty | Labels on the ServiceMonitor, such as the one your Prometheus selects on. |
metrics.serviceMonitor.interval | string | 30s | How often Prometheus scrapes /metrics. |
migrations
| Value | Type | Default | Description |
|---|---|---|---|
migrations.mode | string | startup | startup: every replica migrates the database at startup, under an advisory lock. job: dropshelf-server migrate runs as a pre-install and pre-upgrade hook, and the servers do not migrate, so schema changes stay out of the serving path. |
demo
| Value | Type | Default | Description |
|---|---|---|---|
demo.install | boolean | false | Install two public demo drops, kept forever, on the first install: a welcome page and, with config.platform.db.enabled, a live all-hands Q&A board. Needs an object store, not fs. |
demo.warehouseURL | string | empty | A Postgres URL without its password, for the demo sales dashboard when config.connectors.enabled is true. The password is DROPSHELF_CONNECTOR_DEMO in secrets.existingSecret. Empty skips that demo. |
Last updated .