Skip to content

fix(geoserver, mapstore): correct Tomcat logs access mode and update MapStore persistence - #87

Open
brynsofz wants to merge 4 commits into
mainfrom
fix/chart-persistent-storage
Open

brynsofz wants to merge 4 commits into
mainfrom
fix/chart-persistent-storage

Conversation

@brynsofz

Copy link
Copy Markdown
Contributor

Context

  • GeoServer’s Tomcat logs PVC used the access mode configured for GeoServer logs instead of its own setting.
  • MapStore created a hostPath PersistentVolume tied to a node-local directory and the manual storage class.
  • MapStore always required persistent storage, with no option to run using temporary storage.

Updates

  • Use persistence.tomcatlogs.accessModes for GeoServer’s Tomcat logs PVC.
  • Remove MapStore’s chart-managed hostPath PersistentVolume and support provisioning through a configured storage class.
  • Update MapStore persistence settings to enabled, storageClass, accessMode, and size, defaulting to enabled with ReadWriteOnce and 5Gi.
  • Use the cluster’s default storage class when storageClass is omitted or empty.
  • Use emptyDir for /datadir when persistence is disabled. Data in this mode is lost when the Pod is removed.
  • Add standard chart labels to MapStore’s PVC.

@brynsofz brynsofz changed the title Fix/chart persistent storage fix(geoserver, mapstore): correct Tomcat logs access mode and update MapStore persistence Sep 10, 2026
@brynsofz
brynsofz requested a review from mo3rfan September 14, 2026 05:41
Comment thread mapstore/latest/Chart.yaml Outdated
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For mapstore specifically, let's bump the minor version instead of patch, eg 0.3.0. (Because helm upgrade with the current PV changes fails and requires manual intervention)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants