testlink
by [riftbit]
Web-based test management system that facilitates software quality assurance.
About this chart
TestLink
TestLink is a web-based test management system that facilitates software quality assurance. It is developed and maintained by Teamtest. The platform offers support for test cases, test suites, test plans, test projects and user management, as well as various reports and statistics.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/testlink
Introduction
This chart bootstraps a TestLink deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MariaDB chart which is required for bootstrapping a MariaDB deployment for the database requirements of the TestLink application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami/testlink
The command deploys TestLink on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override testlink.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override testlink.fullname template | "" |
commonAnnotations | Common annotations to add to all TestLink resources (sub-charts are not considered). Evaluated as a template | {} |
commonLabels | Common labels to add to all TestLink resources (sub-charts are not considered). Evaluated as a template | {} |
extraDeploy | Array with extra yaml to deploy with the chart. Evaluated as a template | [] |
TestLink parameters
| Name | Description | Value |
|---|---|---|
image.registry | TestLink image registry | docker.io |
image.repository | TestLink image repository | bitnami/testlink |
image.tag | TestLink Image tag (immutable tags are recommended) | 1.9.20-debian-10-r505 |
image.pullPolicy | TestLink image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
replicaCount | Number of replicas (requires ReadWriteMany PVC support) | 1 |
hostAliases | Deployment pod host aliases | [] |
testlinkSkipInstall | Skip TestLink installation wizard. Useful for migrations and restoring from SQL dump | false |
testlinkUsername | User of the application | user |
testlinkPassword | Application password | "" |
testlinkEmail | Admin email | [email protected] |
testlinkLanguage | Default language | en_US |
allowEmptyPassword | Allow DB blank passwords | true |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
updateStrategy.type | Update strategy - only really applicable for deployments with RWO PVs attached | RollingUpdate |
extraEnvVars | An array to add extra environment variables | [] |
extraEnvVarsCM | ConfigMap containing extra environment variables | "" |
extraEnvVarsSecret | Secret containing extra environment variables | "" |
extraVolumes | Extra volumes to add to the deployment. Requires setting extraVolumeMounts | [] |
extraVolumeMounts | Extra volume mounts to add to the container. Normally used with extraVolumes | [] |
initContainers | Extra init containers to add to the deployment | [] |
sidecars | Extra sidecar containers to add to the deployment | [] |
tolerations | Tolerations for pod assignment. Evaluated as a template. | [] |
existingSecret | Use existing secret for the application password | "" |
smtpHost | SMTP host | "" |
smtpPort | SMTP port | "" |
smtpUser | SMTP user | "" |
smtpPassword | SMTP password | "" |
smtpProtocol | SMTP Protocol (options: ssl, tls, nil) | "" |
containerPorts | Container ports | {} |
sessionAffinity | Control where client requests go, to the same pod or round-robin | None |
persistence.enabled | Enable persistence using PVC | true |
persistence.storageClass | TestLink Data Persistent Volume Storage Class | "" |
persistence.accessMode | PVC Access Mode for TestLink volume | ReadWriteOnce |
persistence.size | PVC Storage Request for TestLink volume | 8Gi |
persistence.existingClaim | An Existing PVC name | "" |
persistence.hostPath | Host mount path for TestLink volume | "" |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment. Evaluated as a template. | {} |
resources.requests | The requested resources for the container | {} |
podSecurityContext.enabled | Enable TestLink pods' Security Context | true |
podSecurityContext.fsGroup | TestLink pods' group ID | 1001 |
containerSecurityContext.enabled | Enable TestLink containers' Security Context | true |
containerSecurityContext.runAsUser | TestLink containers' Security Context | 1001 |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.path | Request path for livenessProbe | /login.php |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 120 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.path | Request path for readinessProbe | /login.php |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 30 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 5 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 3 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe |
Deploy testlink with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has testlink 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 charttestlink is pinned at v9.2.21 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