Environment configuration for Bohrdatenmanagementsystem (BDMS) | Read-only mirror of https://github.com/swisstopo/swissgeol-boreholes-config — Bundesamt für Landestopografie swisstopo. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-27 10:04:54 +01:00
.github/workflows Add Helm Chart 2024-04-12 09:28:50 +02:00
charts Update appVersion 2026-01-23 14:50:08 +01:00
.editorconfig Initial commit 2022-09-21 10:50:54 +02:00
.gitattributes Initial commit 2022-09-21 10:50:54 +02:00
LICENSE Apply new ci/cd guidelines 2025-03-07 16:34:13 +01:00
README.md Remove obsolete Docker Compose configuration 2024-06-18 09:23:38 +02:00

Helm Chart

Helm package for swissgeol-boreholes

swissgeol-boreholes is a web application which allows to easily manage structured data about boreholes. The source code is available at swisstopo/swissgeol-boreholes-suite.

TL;DR

# Add the swissgeol-boreholes Helm repository
helm repo add swissgeol-boreholes https://swisstopo.github.io/swissgeol-boreholes-config/

# Update the Helm repositories
helm repo update

# Install the swissgeol-boreholes Helm chart
helm install swissgeol-boreholes swissgeol-boreholes/swissgeol-boreholes \
  --namespace 'swissgeol-boreholes' \
  --create-namespace

Introduction

This chart bootstraps the swissgeol-boreholes web application as also the required services and deployments in a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.8.0+

Installing the Chart

To install the chart with the release name swissgeol-boreholes:

helm install swissgeol-boreholes swissgeol-boreholes/swissgeol-boreholes

Configuring the Chart

The following table lists the configurable parameters of the swissgeol-boreholes chart and their default values.

Parameter Description Default
replicaCount Number of replicas 1
app.domain Base domain name boreholes.swissgeol.ch
app.version Docker image tag latest
dataextraction.version Data extraction API version latest
auth.authority Issuer URL ""
auth.audience Client id ""
auth.anonymousModeEnabled Enable anonymous mode false
database.host Database host ""
database.name Database name ""
database.username Database username ""
database.password Database password ""
s3.endpoint S3 endpoint ""
s3.bucket S3 bucket name ""
s3.photosBucket S3 photos bucket name ""
s3.logFilesBucket S3 log files bucket name ""
s3.accessKey S3 access key ""
s3.secretKey S3 secret key ""
ocr.version OCR API version latest
ocr.confidenceThreshold OCR confidence score threshold 0.45
ocr.useAggressiveStrategy OCR processing strategy true
ocr.awsRoleArn OCR API AWS role ARN ""
googleAnalytics.trackingId Google Analytics Tracking ID ""

Specify each parameter using the --set key=value argument to helm install. For example,

helm install swissgeol-boreholes swissgeol-boreholes/swissgeol-boreholes \
  --namespace 'swissgeol-boreholes' \
  --create-namespace \
  --set app.domain="dev-boreholes.swissgeol.ch" \
  --set app.version="edge"

For a full list of values, you can check the values.yaml file or use the helm show values swissgeol-boreholes/swissgeol-boreholes command. Refer to the corresponding Helm documentation for more information on how to override settings in a YAML formated file.

Additional commands

Refer to the Helm documentation for more information on how to install, upgrade, or delete a Helm chart.

Automated updates using Keel (optional)

This chart is configured to work with Keel, a tool that scans Kubernetes and Helm releases for outdated images and performs automated updates according the specified app.version setting. To enable Keel, you need to deploy it in your cluster using kubectl or Helm. Refer to the Keel documentation for more information on how to do that.

Validating the Chart

Validate with

helm lint charts/swissgeol-boreholes

or pretend to install the chart to the cluster and if there is some issue it will show the error.

helm install --dry-run swissgeol-boreholes charts/swissgeol-boreholes

License

This project is licensed under the MIT License - see the LICENSE file for details.