doqa

by batonogov

Helm chartv0.11.7App 4.3.13-boxVerified publisher

DoQA Test Case Management System (TCMS) self-hosted on Kubernetes

About this chart

doqa

DoQA Test Case Management System (TCMS) self-hosted on Kubernetes

Homepage: https://doqa.app

Community status: this is an unofficial, independently maintained Helm chart. It is used in production by its maintainer, but it is not developed or supported by the DoQA vendor. Application licensing and vendor support remain with DoQA.

Licensing: DoQA box-versions require a vendor license key to activate (super-user creation is gated). This chart deploys the stack but does not bypass licensing — request a key from https://doqa.app.

TL;DR

helm repo add batonogov https://batonogov.github.io/helm-charts
helm install doqa batonogov/doqa -n doqa --create-namespace \
  --set appUrl=doqa.example.com \
  --set ingress.className=traefik \
  --set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt

Prerequisites

  • Kubernetes 1.32+
  • Helm 3.13+ (Helm 4 supported) — templates use only functions available since Helm 3.0 (lookup, required, toYaml, sha256sum, JSON schema validation); no Helm 3.14-only features are required
  • An Ingress controller routable from the public DNS pointing to appUrl
  • For TLS: cert-manager with a working ClusterIssuer (or a pre-provisioned TLS secret)
  • For PostgreSQL via CNPG (default): the CloudNativePG operator already installed in the cluster (typically in cnpg-system)
  • Storage class supporting ReadWriteOnce PVCs

The DoQA application images live at registry.control.doqa.app and pull anonymously — no imagePullSecrets are required by default.

Compatibility and support boundaries

AreaStatusNotes
DoQA BoxSupportedComponent versions are pinned in values.yaml; verified against the vendor archive configs_4_3_13.zip
KubernetesSupported1.32+, as declared by Chart.yaml; manifests use stable Kubernetes APIs
HelmTestedHelm 3.22.1 in CI and Helm 4 locally; Helm 3.13+ is supported
Node platformSupportedlinux/amd64; the current vendor images are single-platform amd64 images
IngressConfigurableStandard networking.k8s.io/v1 Ingress; Traefik is the repository test profile, while other controllers use ingress.className and annotations
Persistent storageConfigurableAny CSI StorageClass supporting ReadWriteOnce; Longhorn is only the repository test profile
PostgreSQLConfigurableCloudNativePG by default, or an external PostgreSQL service
Restricted platformsNot claimedARM, OpenShift, IPv6-only clusters, and enforced Pod Security restricted have not been validated

The default security context drops all capabilities and disables privilege escalation. It deliberately does not force runAsNonRoot, a fixed UID, or a read-only root filesystem because the pinned vendor images have heterogeneous runtime users. Use defaultSecurityContext and per-component overrides only after validating the selected images. The MinIO bucket-init Job uses its own minio.client security contexts plus the configured ServiceAccount, global or client-specific scheduling, labels, and annotations. It does not inherit defaultSecurityContext because the current mc image runs as root.

Architecture

Components mirror the vendor docker-compose for v4.3.13:

  • backend (php-fpm Laravel API), queue (queue:work), cron (schedule:work)
  • autotests-worker (autotests:work, declares the RabbitMQ queues), llm-bulk-queue (queue:work on the long-timeout llm-bulk queue)
  • frontend (Nuxt SPA)
  • autotest-parser (FastAPI, RabbitMQ-driven)
  • statistic, llm, notification (+ Celery worker), telegram-bot (optional)
  • websocket (Soketi, Pusher protocol)
  • nginx (internal router) → exposed via Ingress

The canonical upstream input is the vendor's configs_4_3_13.zip, including .env.install, both Compose files, and nginx configuration. The DoQA application services, environment variables, routes, and application image pins stay aligned with that archive. Kubernetes infrastructure is deliberately adapted: CNPG or an external PostgreSQL replaces the Compose database, in-tree mode consolidates the two Redis services, dependency images are pinned by the chart, TLS terminates at the Ingress, and the MinIO bucket is created by a Helm hook Job.

Stateful dependencies are provisioned by the chart by default and can be swapped to external services with <component>.create=false:

ComponentDefaultExternal alternative
PostgreSQLCNPG Cluster (1 instance)postgresql.cnpg.create=false + postgresql.host
RedisIn-tree Deployment + PVCredis.create=false + redis.host
RabbitMQIn-tree Deployment + PVCrabbitmq.create=false + rabbitmq.host
MinIOIn-tree Deployment + PVC + bucket-init Jobminio.create=false + minio.endpoint

The vendor Compose file runs separate primary and notification Redis services. The chart shares one Redis instance and uses the notification service’s Redis command for both workloads. It mounts a PVC at /data but starts its shared Redis instance with AOF and automatic RDB snapshots disabled. Data written to Redis after startup can therefore be lost on restart even when the PVC survives.

Secrets

By default the chart generates application secrets (secrets.create=true) with stable values via lookup — they survive helm upgrade. Fresh app Secrets contain an APP_KEY whose base64 payload decodes to the 32 bytes required by Laravel AES-256. Explicit secrets.app, secrets.apiKeys, secrets.pusher, secrets.rabbitmq, and secrets.minio names select pre-existing Secrets even when secrets.create=true; the remaining applicable Secrets are still generated. An explicitly named Secret already owned by the current Helm release remains rendered during online upgrades so Helm does not prune it. Set secrets.create=false to plug in pre-existing secrets throughout:

SecretKeys
<release>-app-secretsapp-key, jwt-secret, internal-system-key
<release>-api-keysstatistic-api-key, notification-api-key, llm-api-key
<release>-pusher-secretapp-secret
<release>-rabbitmq-secretpassword, erlang-cookie
<release>-minio-secretsaccess-key, secret-key

The mail and LDAP passwords are always user-provided through secrets.mail and secrets.ldap.

GitOps and offline rendering

Generated secrets remain stable during direct helm upgrade because Helm's lookup function reads the existing release Secrets. Renderers without live cluster access, including helm template and offline GitOps rendering pipelines, cannot perform that lookup and will generate different random values on subsequent renders. For those workflows, set secrets.create=false and provide stable values through pre-created Secrets, External Secrets, Sealed Secrets, or an equivalent secret management system.

Requirements

Kubernetes: >=1.32.0-0

Values

KeyTypeDefaultDescription
affinityobject{}Default affinity applied to all components. Per-component values override this.
apiBaseUrlstring""Optional explicit API base URL (API_BASE_URL). Leave empty to use internal backend service.
appFrontendUrlstring""Frontend URL (defaults to appUrl when empty)
appUrlstring"doqa.example.com"DoQA application URL (host without protocol, e.g. "doqa.example.com")
autoscaling.backend.maxReplicasint5Maximum replicas for backend HPA
autoscaling.backend.minReplicasint2Minimum replicas for backend HPA
autoscaling.backend.targetCPUUtilizationPercentageint80Target CPU utilization percentage for backend HPA
autoscaling.enabledboolfalseEnable HorizontalPodAutoscaler for backend, frontend, and queue Deployments. When enabled, the replicas field is removed from those Deployments (HPA manages replicas)
autoscaling.frontend.maxReplicasint5Maximum replicas for frontend HPA
autoscaling.frontend.minReplicasint2Minimum replicas for frontend HPA
autoscaling.frontend.targetCPUUtilizationPercentageint80Target CPU utilization percentage for frontend HPA
autoscaling.queue.maxReplicasint5Maximum replicas for queue HPA
autoscaling.queue.minReplicasint3Minimum replicas for queue HPA
autoscaling.queue.targetCPUUtilizationPercentageint80Target CPU utilization percentage for queue HPA
autotestParser.affinityobject{}
autotestParser.image.repositorystring"doqa/doqa-parsing-autotests"Autotest parser image repository
autotestParser.image.tagstring"4.3.1-box"Autotest parser image tag
autotestParser.nodeSelectorobject{}
autotestParser.replicasint1Autotest parser replica count
autotestParser.resourcesobject{"limits":{"cpu":"250m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits
autotestParser.tolerationslist[]
autotestsWorker.affinityobject{}
autotestsWorker.nodeSelectorobject{}
autotestsWorker.prefetchint10RabbitMQ prefetch per autotests:work process (vendor AUTOTESTS_PREFETCH)
autotestsWorker.replicasint3Autotests worker replica count (vendor scales it with QUEUE_WORKERS)
autotestsWorker.resourcesobject{"limits":{"cpu":"250m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits
autotestsWorker.tolerationslist[]
autotestsWorker.waitForRabbitmqbooltrueWait for RabbitMQ AMQP readiness before starting the worker. Vendor 4.3.1 gates the autotests service on a healthy broker; the chart mirrors that by probing the broker first.
autotestsWorker.workerProcessesint3Parallel autotests:work processes per pod (vendor AUTOTESTS_WORKER_PROCESSES)
backend.affinityobject{}
backend.cachePrefixstring"laravel_cache:"Laravel cache prefix. Preserve across upgrades and brand changes to retain cache entries and JWT revocations. (CACHE_PREFIX)
backend.containerSecurityContextobject{"capabilities":{"add":["CHOWN","DAC_OVERRIDE","SETUID","SETGID"]}}Capabilities required to start nginx/FPM in the vendor backend. Global chart restrictions remain in effect.
backend.image.repositorystring"doqa/doqa-backend"Backend image repository (relative to image.registry)
backend.image.tagstring"4.3.14-box"Backend image tag
backend.livenessProbeobject{"initialDelaySeconds":60,"periodSeconds":30,"tcpSocket":{"port":"http"},"timeoutSeconds":10}TCP liveness avoids restarting the backend on FPM saturation or database unavailability. null disables the probe.
backend.migrate.waitForRabbitmqbooltrueWait for RabbitMQ AMQP readiness before running migrations. Vendor 4.2.0 added a compose dependency on rabbitmq because some migrations dispatch jobs; the chart mirrors that by probing the broker first.
backend.nodeSelectorobject{}
backend.phpFpm.enabledboolfalseUse the current image configuration with an overridden pool size. Size memory for your workload.
backend.phpFpm.maxChildrenint5Maximum worker count; other pool settings are inherited from the image and validated by the init container.
backend.readinessProbeobject`{"exec":{"command":["sh","-ec","code=$(curl -sS -o /dev/null -w '%{http_code}' --max-time 5 http://127.0.0.1:8080/)\ncase "$code" in 2??3??
backend.redisPrefixstring"laravel_database_"Laravel Redis prefix. Preserve across upgrades and brand changes to retain sessions and other Redis state. (REDIS_PREFIX)
backend.replicasint2Backend replica count
backend.resourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}Resource requests and limits
backend.sessionCookiestring"laravel_session"Laravel session cookie name. Preserve across upgrades and brand changes to keep existing browser sessions. (SESSION_COOKIE)
backend.skipMigrateboolfalseDisable only the migration init container; the vendor image CMD may run migrations independently
backend.tolerationslist[]
cron.affinityobject{}
cron.nodeSelectorobject{}
cron.resourcesobject{"limits":{"cpu":"250m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits
cron.tolerationslist[]
debugboolfalseEnable verbose debug logging
defaultSecurityContext.container.allowPrivilegeEscalationboolfalse
defaultSecurityContext.container.capabilities.drop[0]string"ALL"
defaultSecurityContext.podobject{}
doqaBackendUrlstring""Optional backend URL (DOQA_BACKEND_URL) passed to backend workloads and the autotest-parser. Empty matches the vendor default.
extraAnnotationsobject{}Extra annotations added to every resource. Keys with a checksum/ prefix (e.g. checksum/env, checksum/config) are chart-managed and reserved; any s

Deploy doqa with OpenTenant

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