https://github.com/cloudnative-pg/charts
CloudNativePG Helm Charts
https://github.com/cloudnative-pg/charts
Last synced: 5 months ago
JSON representation
CloudNativePG Helm Charts
- Host: GitHub
- URL: https://github.com/cloudnative-pg/charts
- Owner: cloudnative-pg
- License: apache-2.0
- Created: 2022-04-21T17:10:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T18:08:40.000Z (12 months ago)
- Last Synced: 2025-04-11T03:47:33.745Z (12 months ago)
- Language: Smarty
- Size: 11.5 MB
- Stars: 268
- Watchers: 9
- Forks: 128
- Open Issues: 87
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# CloudNativePG Helm Charts
[][stackoverflow]
[][license]
[](https://github.com/cloudnative-pg/charts/tree/main/charts/cloudnative-pg)
[](https://github.com/cloudnative-pg/charts/tree/main/charts/cluster)
## Operator chart
Helm chart to install the
[CloudNativePG operator](https://cloudnative-pg.io), originally created and sponsored by
[EDB](https://www.enterprisedb.com/) to manage PostgreSQL workloads on any supported Kubernetes cluster
running in private, public, or hybrid cloud environments.
**NOTE**: supports only the latest point release of the CloudNativePG operator.
```console
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm upgrade --install cnpg \
--namespace cnpg-system \
--create-namespace \
cnpg/cloudnative-pg
```
#### Single namespace installation
It is possible to limit the operator's capabilities to solely the namespace in
which it has been installed. With this restriction, the cluster-level
permissions required by the operator will be substantially reduced, and
the security profile of the installation will be enhanced.
You can install the operator in single-namespace mode by setting the
`config.clusterWide` flag to false, as in the following example:
```console
helm upgrade --install cnpg \
--namespace cnpg-system \
--create-namespace \
--set config.clusterWide=false \
cnpg/cloudnative-pg
```
**IMPORTANT**: the single-namespace installation mode can't coexist
with the cluster-wide operator. Otherwise there would be collisions when
managing the resources in the namespace watched by the single-namespace
operator.
It is up to the user to ensure there is no collision between operators.
Refer to the [Operator Chart documentation](charts/cloudnative-pg/README.md) for advanced configuration and monitoring.
## Cluster chart
Helm chart to install a CloudNativePG database cluster.
```console
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm upgrade --install database \
--namespace database \
--create-namespace \
cnpg/cluster
```
Refer to the [Cluster Chart documentation](charts/cluster/README.md) for advanced configuration options.
## Contributing
Please read the [code of conduct](CODE-OF-CONDUCT.md) and the
[guidelines](CONTRIBUTING.md) to contribute to the project.
## Copyright
Helm charts for CloudNativePG are distributed under [Apache License 2.0](LICENSE).
[stackoverflow]: https://stackoverflow.com/questions/tagged/cloudnative-pg
[license]: https://github.com/cloudnative-pg/charts?tab=Apache-2.0-1-ov-file