Helm values reference
Every value of the Spica Helm chart for the application, database, images and ingress, with defaults.
Defaults come from the chart's values.yaml. See Kubernetes with Helm for how to use them.
application
| Value | Default | Description |
|---|---|---|
publicHost | Required. Public origin, such as https://admin.example.com. | |
webBaseUrl | / | Path of the panel. |
apiBaseUrl | /api/ | Path of the API. The API's public URL is publicHost + apiBaseUrl. |
replicas | 1 | API and panel replicas. More than one turns on --replication. |
masterKey | Master key. Required unless every individual secret is set. | |
secret | JWT signing secret (PASSPORT_SECRET). | |
bucketDataHashSecret, bucketDataEncryptionSecret | Secrets for hashed and encrypted bucket properties. | |
secretModuleEncryptionSecret | Encryption of function secrets. | |
userVerificationHashSecret | Hashing of verification codes. | |
userProviderEncryptionSecret, userProviderHashSecret | Protection of users' emails, phones and attributes. | |
refreshTokenHashSecret | Hashing of refresh tokens. | |
twilioAccountSid, twilioAuthToken, twilioFromNumber | Twilio credentials for SMS. | |
defaultPassword | spica | Password of the default identity. Change it. |
args | [] | Extra API options. |
responseHeaders | {} | Headers added to every API response, as a map. |
diskAccessMode | ReadWriteOnce | ReadWriteOnce (StatefulSet and a volume per pod), ReadWriteMany (Deployment and a shared volume) or None (Deployment and emptyDir; requires S3 or GCS strategies). |
storageSize | 2Gi | Size of the /data volume. |
storageClass | Storage class of the /data volume. | |
apiResources, webResources | {} | Resource requests and limits of the API and panel containers. |
serviceAccountName | default | Service account of the pod, for example for IRSA or Workload Identity. |
podAnnotations | {} | Annotations added to the pod. |
apiStartupProbeInitialDelaySeconds | 10 | Startup probe on /status/live. |
apiStartupProbePeriodSeconds, apiStartupProbeTimeoutSeconds, apiStartupProbeFailureThreshold | 5, 3, 24 | |
apiLivenessProbePeriodSeconds, apiLivenessProbeTimeoutSeconds, apiLivenessProbeFailureThreshold | 30, 10, 6 | Liveness probe on /status/live. |
apiReadinessProbePeriodSeconds, apiReadinessProbeTimeoutSeconds, apiReadinessProbeFailureThreshold | 10, 10, 6 | Readiness probe on /status/ready. |
database
| Value | Default | Description |
|---|---|---|
type | mongodb | mongodb or postgresql. Fixed for the life of the instance. |
replicas | 1 | MongoDB replica set members. Ignored for PostgreSQL, which runs one node. |
replicaSetName | rs0 | MongoDB replica set name. |
name | spica | Database name. |
version | 8.0.4 (MongoDB), 18 (PostgreSQL) | Image tag of the database. |
postgresImage | spicaengine/postgres | PostgreSQL image. Must include pg_cron. |
storageSize | 2Gi | Volume size per database node. |
storageClass | Storage class of database volumes. | |
resources | {} | Resource requests and limits. |
spicaUsername, spicaPassword | Credentials the API uses. | |
rootUsername, rootPassword | Administrative credentials. | |
replicaAuthKey | MongoDB keyfile content shared by replica set members. | |
replicationControllerImage | Override of the replication controller image. | |
logLevel | 0 | MongoDB log verbosity. |
profilingLevel | 1 | MongoDB profiler level. 1 records slow operations for the panel's profiler. |
profilingSlowms | 100 | Threshold of slow operations in milliseconds. |
terminationGracePeriodSeconds | 60 | Grace period on shutdown. |
startupProbe*, livenessProbe*, readinessProbe* | See values.yaml | Database probe timings. |
images
| Value | Default |
|---|---|
api | spicaengine/api |
web | spicaengine/panel |
replicationcontroller | spicaengine/mongoreplicationcontroller |
migrate | spicaengine/migrate |
Image tags follow the chart's appVersion.
ingress
| Value | Default | Description |
|---|---|---|
hosts | [] | Hosts with their paths: {name, application, api}, for example {name: admin.example.com, application: /, api: /api}. |
tls | [] | Standard Ingress TLS entries. |
ingressClassName | nginx | Ingress class. |
annotations | ingress-nginx defaults | proxy-body-size: 15M, client-body-buffer-size: 15m, rewrite-target: /$1. |