testlink

by joaquinito2051

Helm chartv10.0.13App 1.9.20

TestLink is test management software that facilitates software quality assurance. It suppors test cases, test suites, test plans, test projects and user management, and stats reporting.

About this chart

TestLink packaged by Bitnami

TestLink is test management software that facilitates software quality assurance. It suppors test cases, test suites, test plans, test projects and user management, and stats reporting.

Overview of TestLink

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/testlink

Introduction

This chart bootstraps a TestLink deployment on a Kubernetes cluster using the Helm package manager.

TestLink 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.

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.19+
  • Helm 3.2.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-azure/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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override testlink.fullname template (will maintain the release name)""
fullnameOverrideString to fully override testlink.fullname template""
commonAnnotationsCommon annotations to add to all TestLink resources (sub-charts are not considered). Evaluated as a template{}
commonLabelsCommon labels to add to all TestLink resources (sub-charts are not considered). Evaluated as a template{}
extraDeployArray with extra yaml to deploy with the chart. Evaluated as a template[]

TestLink parameters

NameDescriptionValue
image.registryTestLink image registrydocker.io
image.repositoryTestLink image repositorybitnami/testlink
image.tagTestLink Image tag (immutable tags are recommended)1.9.20-debian-10-r607
image.pullPolicyTestLink image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSpecify if debug logs should be enabledfalse
replicaCountNumber of replicas (requires ReadWriteMany PVC support)1
hostAliasesDeployment pod host aliases[]
testlinkSkipInstallSkip TestLink installation wizard. Useful for migrations and restoring from SQL dumpfalse
testlinkUsernameUser of the applicationuser
testlinkPasswordApplication password""
testlinkEmailAdmin email[email protected]
testlinkLanguageDefault languageen_US
allowEmptyPasswordAllow DB blank passwordstrue
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
updateStrategy.typeUpdate strategy - only really applicable for deployments with RWO PVs attachedRollingUpdate
extraEnvVarsAn array to add extra environment variables[]
extraEnvVarsCMConfigMap containing extra environment variables""
extraEnvVarsSecretSecret containing extra environment variables""
extraVolumesExtra volumes to add to the deployment. Requires setting extraVolumeMounts[]
extraVolumeMountsExtra volume mounts to add to the container. Normally used with extraVolumes[]
initContainersExtra init containers to add to the deployment[]
sidecarsExtra sidecar containers to add to the deployment[]
tolerationsTolerations for pod assignment. Evaluated as a template.[]
priorityClassNameTestLink pods' priorityClassName""
schedulerNameName of the k8s scheduler (other than default)""
topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
existingSecretUse existing secret for the application password""
smtpHostSMTP host""
smtpPortSMTP port""
smtpUserSMTP user""
smtpPasswordSMTP password""
smtpProtocolSMTP Protocol (options: ssl, tls, nil)""
containerPortsContainer ports{}
sessionAffinityControl where client requests go, to the same pod or round-robinNone
persistence.enabledEnable persistence using PVCtrue
persistence.storageClassTestLink Data Persistent Volume Storage Class""
persistence.accessModesPVC Access Mode for TestLink volume["ReadWriteOnce"]
persistence.sizePVC Storage Request for TestLink volume8Gi
persistence.existingClaimAn Existing PVC name""
persistence.hostPathHost mount path for TestLink volume""
persistence.annotationsPersistent Volume Claim annotations{}
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match Ignored if affinity is set.""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set.[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment. Evaluated as a template.{}
resources.requestsThe requested resources for the container{}
resources.limitsThe resources limits for the container{}
podSecurityContext.enabledEnable TestLink pods' Security Contexttrue
podSecurityContext.fsGroupTestLink pods' group ID1001
containerSecurityContext.enabledEnable TestLink containers' Security Contexttrue
containerSecurityContext.runAsUserTestLink containers' Security Context runAsUser1001
containerSecurityContext.runAsNonRootTestLink containers' Security Context runAsNonRoottrue
startupProbe.enabledEnable startupPro

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttestlink is pinned at v10.0.13 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