Skip to content

small-hack/cloudnative-pg-cluster-chart

Repository files navigation

CloudNativePG Cluster Chart

This helm chart is intended to be the Cluster helm chart component to the CloudNativePG operator helm chart.

Docs autogeneratated from the values.yaml are slowly being put together in the chart directory's README.md.

TLDR

# add the helm repo locally
helm repo add cnpg https://small-hack.github.io/cloudnative-pg-cluster-chart

# get the values and edit them if needed
helm show values cnpg/cnpg-cluster > values.yaml

# install the chart
helm install cnpg cnpg/cnpg-cluster --values values.yaml

Notes

You must specify a bootstrap section

To use this chart you have to specify either bootstrap.initdb.database/bootstrap.initdb.owner OR bootstrap.recovery.source in your helm parameters or values.yaml but you can't do both.

You can see checkout the CloudNativePG docs for more info on the bootstrap section.