Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/cloudnative-pg-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cnpg-cluster
description: Create postgres tenant clusters managed by the CNPG Operator
type: application
version: 0.6.0
version: 0.7.0

maintainers:
- name: "cloudymax"
Expand Down
3 changes: 2 additions & 1 deletion charts/cloudnative-pg-cluster/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cnpg-cluster

![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Create postgres tenant clusters managed by the CNPG Operator

Expand All @@ -15,6 +15,7 @@ Create postgres tenant clusters managed by the CNPG Operator

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| annotations | object | `{"cnpg.io/skipEmptyWalArchiveCheck":"enabled"}` | Cluster annotations |
| backup | object | `{}` | if we should backup up this cluster, please see values.yaml for example |
| bootstrap | object | `{}` | boostrap method. see: https://cloudnative-pg.io/documentation/1.23/bootstrap/ |
| certificates.client.clientCASecret | string | `""` | name of existing Kubernetes Secret for the postgresql client Certificate Authority cert, ignored if certificates.generate is true |
Expand Down
4 changes: 4 additions & 0 deletions charts/cloudnative-pg-cluster/templates/cnpg_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ .Values.name }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
# this solves an issue with an old boto version
env:
Expand Down
4 changes: 4 additions & 0 deletions charts/cloudnative-pg-cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "cnpg"

# -- Cluster annotations
annotations:
cnpg.io/skipEmptyWalArchiveCheck: enabled

# -- number of postgres replicas
# minimum 1 required
instances: 3
Expand Down
Loading