Skip to content
geosolutions-itPublic

About

HELM Charts by GeoSolutions

Resources

Security policy

Stars

5 stars

Watchers

9 watching

Forks

Latest commit

 

History

91 Commits

Folders and files

Repository files navigation

GeoSolutions Helm Charts

Overview

This repository contains Helm charts for:

  • GeoServer - Open-source geospatial server for sharing, processing, and editing geospatial data
  • MapStore - Web mapping framework for creating, managing, and sharing maps and mashups

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+

Repository Structure

charts/
├── .github/workflows/     # CI/CD pipelines
│   ├── helm-ci.yaml      # Validation and testing
│   └── release.yaml      # Automated releases to S3
├── geoserver/latest/     # GeoServer Helm chart
└── mapstore/latest/      # MapStore Helm chart

Chart Registry

Charts are hosted on AWS S3:

Quick Start

Adding the Helm Repository

# Add the GeoSolutions chart repository
helm repo add charts https://charts.geosolutionsgroup.com/charts

# Update your local chart repository cache
helm repo update

# List available GeoServer and MapStore chart versions
helm search repo charts/geoserver --versions
helm search repo charts/mapstore --versions

# To use GeoServer app version 3.0.2, select the CHART VERSION from its row
helm install geoserver charts/geoserver --version <chart-version>
helm upgrade geoserver charts/geoserver --version <chart-version>

Installing Charts

GeoServer

# Install with default values
helm install geoserver charts/geoserver

# Install with custom values
helm install geoserver charts/geoserver \
  --set admin_password=MySecurePassword \
  --set persistence.datadir.size=10Gi

MapStore

# Install with default values
helm install mapstore charts/mapstore

# Install with custom values
helm install mapstore charts/mapstore \
  --set ingress.host=mapstore.example.com \
  --set persistence.size=10Gi

Configuration

Each chart has its own values.yaml file with configurable parameters. See individual chart documentation for details:

Upgrading

# Update repository cache
helm repo update

# List available chart versions
helm search repo charts/geoserver --versions
helm search repo charts/mapstore --versions

# Upgrade to a specific chart version
helm upgrade geoserver charts/geoserver --version <chart-version> -f my-values.yaml
helm upgrade mapstore charts/mapstore --version <chart-version> -f my-values.yaml

# View upgrade history
helm history geoserver

# Rollback to previous version
helm rollback geoserver

Uninstalling

# Uninstall a release
helm uninstall geoserver

CI/CD Workflows

Pull Request Validation

When you submit a PR, the helm-ci.yaml workflow automatically:

  1. Lints all charts with helm lint
  2. Runs unit tests with helm unittest
  3. Validates Kubernetes manifests with kubeconform

Automated Releases

When changes are merged to main, the release.yaml workflow:

  1. Packages charts using helm package
  2. Publishes to S3 bucket registry (geosolutions-charts)
  3. Triggers GitOps deployment updates

Migrating GeoServer from 2.27.x or 2.28.x to 3.0.x

Starting with GeoServer 3.0.x, the container runs as UID/GID 20000:20000. When upgrading from 2.27.x or 2.28.x, migrate the ownership of existing GeoServer PVC contents so the new container can read and write them.

  • Back up the GeoServer PVCs and database before changing file ownership.

  • In the ownership Job, verify the PVC claim names. For enabled gwccache or wps PVCs, uncomment the matching mount and claim.

  • Choose a CHART VERSION whose APP VERSION is GeoServer 3.x in helm search repo charts/geoserver --versions.

  • Stop the old pod, run the Job to change PVC ownership to 20000:20000, then delete the completed Job before upgrading.

    kubectl scale statefulset/geoserver -n default --replicas=0
    kubectl wait -n default --for=delete pod/geoserver-0 --timeout=180s
    kubectl apply -n default -f geoserver/latest/pvc-ownership-20000-job.yaml
    kubectl wait -n default --for=condition=complete job/geoserver-pvc-ownership-20000 --timeout=30m
    kubectl delete -n default job/geoserver-pvc-ownership-20000 --cascade=foreground --wait=true
    helm upgrade geoserver charts/geoserver --version <chart-version> -n default --wait --timeout 3m

About

HELM Charts by GeoSolutions

Resources

Security policy

Stars

5 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages