visual-regression-tracker

by Kokuwa.io

Helm chartv5.1.0App 5.0.11

Backend and Frontend application for tracking differences via image comparison

About this chart

Visual Regression Tracker

Visual Regression Tracker is a backend and frontend application for tracking differences via image comparison. This Helm chart installs a Kubernetes statefulset containing the UI and API components.

If you want to run this chart with more than 1 replica, get sure you can use a ReadWriteMany PVC, as the pods needs to share the imageUploads volume.

Add Helm Repository

helm repo add kokuwa https://kokuwaio.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Install Chart

helm install vrt kokuwa/visual-regression-tracker

See configuration below.

See helm install for command documentation.

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:

helm show values kokuwa/visual-regression-tracker

Uninstall Chart

helm uninstall vrt

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading the Helm Chart

helm upgrade vrt kokuwa/visual-regression-tracker

See helm upgrade for command documentation.

From 4.0.x to 5.0.0

Auth proxy was removed as it does nto work as expected.

The reactAppApi.protocol & reactAppApi.url have been removed and reactAppApiUrl is used again.

From 3.0.x to 4.0.0

This version adds a proxy in fornt of the API server which protects it via basic auth. The configuration can be done via authProxy.basicAuth.username, authProxy.basicAuth.password. The password can also be populated by predefined secret via secrets.authProxy.

The secrets.apiUrl secrets has been removed.

The reactAppApiUrl variables has been split up into reactAppApi.protocol & reactAppApi.url.

The vrtComponents.api.ingress config has been moved to authProxy.ingress.

From 2.0.x to 3.0.0

This updates Visual Regression Tracker to 5.0.3. Please follow the official migration steps:

The postgres dependency chart has also been updated to version 13.2.23. This major version changes the default PostgreSQL image from 15.x to 16.x. Follow the official instructions to upgrade to 16.x.

From 1.0.x to 2.0.0

Renamed migration securityContext var from .Values.vrtComponents.migration.initSecurityContext to .Values.vrtComponents.migration.securityContext Fixed securityContext config for API and UI containers, where the configvalues were ignored. Added seccompProfile with default of type: RuntimeDefault to podSecurityContext. readOnlyRootFilesystem setting was removed.

From 0.x.0 to 1.0.0

Container config has been moved from .Values.ui, .Values.api, & .Values.migration to .Values.vrtComponents.ui, .Values.vrtComponents.api, & .Values.vrtComponents.migration.

Default securityContexts and podSecurityContexts have been set.

PostgreSQL dependency has beend updated to 12.1.2 which changes the default PostgreSQL image from 14.x to 15.x. Follow the official instructions to upgrade.

Deploy visual-regression-tracker with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has visual-regression-tracker 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 chartvisual-regression-tracker is pinned at v5.1.0 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