Skip to content

Commit

Permalink
Merge pull request #5 from small-hack/add-comments-and-notes
Browse files Browse the repository at this point in the history
Update README.md and values.yaml comments
  • Loading branch information
cloudymax authored Nov 3, 2023
2 parents 7dd9905 + a0e2ec3 commit ef17758
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# CloudNativePG Tenant Chart

https://small-hack.github.io/cloudnative-pg-tenant-chart/

## TLDR

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

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

# install the chart
helm install cnpg cnpg/cnpg-tenant --values values.yaml
```
8 changes: 6 additions & 2 deletions charts/cloudnative-pg-tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ superuserSecret:

bootstrap:
initdb:
# -- initial database to create
database: app
# -- owner of the initial database that is created above
owner: app
secret:
name: app-secret
# -- list of SQL commands to run as part of the init scripts
postInitSQL:
- CREATE ROLE friend

backup:
destinationPath: "backups"
# -- how long to keep backups for
retentionPolicy: "30d"
s3Credentials:
accessKeyId:
Expand All @@ -38,9 +42,9 @@ monitoring:
enablePodMonitor: true

postgresql:
pg_hba:
pg_hba:
- hostnossl all all 0.0.0.0/0 reject
- hostssl all all 0.0.0.0/0 cert clientcert=verify-full

storage:
storage:
size: 1Gi

0 comments on commit ef17758

Please sign in to comment.