Every value of the chart at oci://ghcr.io/drusitehq/charts/drusite, from
deploy/helm/drusite/values.yaml.
CI checks this page against that file: a value added to the chart and not explained here fails
the build. Kubernetes with Helm shows them in use.
The server
| Value |
Default |
What it does |
image.repository |
ghcr.io/drusitehq/drusite-server |
The server’s image. |
image.tag |
"" |
The image tag. Empty means the chart’s appVersion, which is the release the chart came with. |
image.digest |
"" |
A digest (sha256:…) to pin the image to, added after the tag. Recommended in production. |
image.pullPolicy |
IfNotPresent |
The pod’s image pull policy. |
replicaCount |
1 |
How many server pods. The server keeps no state of its own, so more than one can run; each opens up to [database] max_connections to PostgreSQL. |
config |
a minimal config |
The server’s config file, TOML, mounted at /etc/drusite/drusite.toml. Any key from the configuration reference. Keep secrets out of it: use *_file keys that read from secret. Changing it rolls the pods. |
secret.name |
"" |
A Secret you create outside the chart, whose keys are mounted as files under /run/secrets/drusite/. The default config reads database-url, s3-secret-access-key and master-key from it. |
env |
[] |
More environment variables for the server container, as a list of {name, value} or valueFrom. DRUSITE__SECTION__KEY overrides the config; OTEL_* configures telemetry. |
envFrom |
[] |
Whole ConfigMaps or Secrets as environment variables. |
resources.requests.cpu |
50m |
The server’s CPU request. |
resources.requests.memory |
64Mi |
The server’s memory request. |
resources.limits.memory |
512Mi |
The server’s memory limit. |
podAnnotations |
{} |
Annotations on the server’s pods. |
podLabels |
{} |
Labels on the server’s pods. |
nodeSelector |
{} |
The server pods’ node selector. |
tolerations |
[] |
The server pods’ tolerations. |
affinity |
{} |
The server pods’ affinity. |
The chart always sets these on the server container, so don’t set them in config:
DRUSITE_CONFIG, DRUSITE__SERVER__LISTEN (0.0.0.0:8080), DRUSITE__WEB__ENABLED (from
web.enabled) and, with publish.enabled, DRUSITE__PUBLISH__LISTEN and
DRUSITE__PUBLISH__PUBLIC_URL. Its probes are /healthz (startup and liveness) and /readyz
(readiness). The pod runs as user 65532 with a read-only root filesystem and no capabilities.
Reaching it
| Value |
Default |
What it does |
service.type |
ClusterIP |
The Service’s type. |
service.port |
8080 |
The Service’s port for the app, the API and sync. |
ingress.enabled |
false |
Make an Ingress for the server. |
ingress.className |
"" |
Its ingress class. |
ingress.annotations |
{} |
Its annotations: a body size limit for attachments, WebSocket timeouts, a cert-manager issuer. Reverse proxies says what the server needs. |
ingress.host |
notes.example.com |
The host it routes. It should be public_url’s. |
ingress.tls |
[] |
Its TLS section, as in any Ingress: [{hosts: [notes.example.com], secretName: notes-tls}]. |
web.enabled |
true |
Serve the web app at public_url. Off, the server serves no app at /. |
Publish to web on a host of its own
| Value |
Default |
What it does |
publish.enabled |
false |
Serve published pages on a listener of their own, which serves nothing else. Adds a public port to the pod and the Service. |
publish.host |
pages.example.com |
The published pages’ host. The chart sets [publish] public_url to https:// and this. |
publish.port |
8443 |
The port that listener uses, in the pod and on the Service. |
publish.ingress.enabled |
false |
Make a second Ingress, for publish.host alone, to the public port. |
publish.ingress.className |
"" |
Its ingress class: say, an internet-facing one while the app’s Ingress stays internal. |
publish.ingress.annotations |
{} |
Its annotations. |
publish.ingress.tls |
[] |
Its TLS section. |