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
- Kubernetes 1.19+
- Helm 3.0+
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
Charts are hosted on AWS S3:
- Bucket:
s3://geosolutions-charts(eu-west-2) - Public URL: https://charts.geosolutionsgroup.com
- Authentication: AWS OIDC
# 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># 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# 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=10GiEach chart has its own values.yaml file with configurable parameters. See individual chart documentation for details:
# 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# Uninstall a release
helm uninstall geoserverWhen you submit a PR, the helm-ci.yaml workflow automatically:
- Lints all charts with
helm lint - Runs unit tests with
helm unittest - Validates Kubernetes manifests with
kubeconform
When changes are merged to main, the release.yaml workflow:
- Packages charts using
helm package - Publishes to S3 bucket registry (geosolutions-charts)
- Triggers GitOps deployment updates
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
gwccacheorwpsPVCs, uncomment the matching mount and claim. -
Choose a
CHART VERSIONwhoseAPP VERSIONis GeoServer 3.x inhelm 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