Fix chart rendering when annotations specified

Commit 70b2777edd3b792c30dd025097ee598b64a45efa caused user-provided
annotations to break the `checksum` StatefulSet annotations. The
`{{ with .Values.annotations }}` instruction changes the scope
under which the checksum is calculated when user annotations are present.

This removes the `{{ with .Values.annotations }}` and instead just
writes out the user-provided annotations directly.

I've also added a user-provided annotation to the `values.yaml` used
in the smoke test to verify the fix.

Fixes #37
5 files changed
tree: a0479c3392d80ccc171ae69336ce669fd2927985
  1. .asf.yaml
  2. .github/
  3. .helmignore
  5. Makefile
  7. couchdb/
  8. docs/
  9. test/

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.


Chart versions are immutable. On every version change, make publish should be run to create a new chart bundle and update the repostory metadata.

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.