feat: allow configure persistentVolumeClaimRetentionPolicy (#136)

Allow to specify a persistentVolumeClaimRetentionPolicy in both the primary and secondary StatefulSet.

This allows for automatic cleanup of PVCs after deletion, etc. An example use case of this is for highly dynamic test environments, where cleaning up the PVCs after deletion of the helm chart is preferred.
5 files changed
tree: a921e1d1204657c7779bc377549d552fb2c2755f
  1. .github/
  2. couchdb/
  3. scripts/
  4. test/
  5. .asf.yaml
  6. .gitignore
  7. .gitmodules
  8. .helmignore
  9. _templates.gotmpl
  11. Makefile
  12. README.md

CouchDB Helm Charts

This repository contains assets related to the CouchDB Helm chart.


  • couchdb: contains the unbundled Helm chart
  • test: containes scripts to test the chart locally using Kind


make test will run an integration test using Kind. This stands up a Kubernetes cluster locally and ensures the chart will deploy using the default options and Helm.

On GitHub, there is a GitHub Action to Lint and Test charts for each PR.


On merge to main, a new release is generated by the Chart Releaser GitHub action.

Feedback / Issues / Contributing

General feedback is welcome at our user or developer mailing lists.

Apache CouchDB has a CONTRIBUTING file with details on how to get started with issue reporting or contributing to the upkeep of this project. In short, use GitHub Issues, do not report anything to the Helm team.

The chart follows the technical guidelines / best practices maintained by the Helm team.