Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Sep 21, 2020
1 parent 8d015b9 commit 7c7d7cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions couchdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ CouchDB chart and their default values:
| `couchdbConfig` | Map allowing override elements of server .ini config | *See below* |
| `allowAdminParty` | If enabled, start cluster without admin account | false (requires creating a Secret) |
| `createAdminSecret` | If enabled, create an admin account and cookie secret | true |
| `clusterSetup` | Finalize cluster configuration by calling /_cluster_setup endpoint after installation | false |
| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
| `erlangFlags` | Map of flags supplied to the underlying Erlang VM | name: couchdb, setcookie: monster
| `persistentVolume.enabled` | Boolean determining whether to attach a PV to each node | false
Expand Down
6 changes: 4 additions & 2 deletions couchdb/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ Apache CouchDB is starting. Check the status of the Pods using:

kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "couchdb.name" . }},release={{ .Release.Name }}"

Once all of the Pods are fully Ready, execute the following command to create
Once all of the pods are fully ready, execute the following command to create
some required system databases:

kubectl exec --namespace {{ .Release.Namespace }} {{ if not .Values.allowAdminParty }}-it {{ end }}{{ template "couchdb.fullname" . }}-0 -c couchdb -- \
curl -s \
http://127.0.0.1:5984/_cluster_setup \
-X POST \
-H "Content-Type: application/json" \
{{- if .Values.allowAdminParty }}
-d '{"action": "finish_cluster"}'
Expand All @@ -18,3 +17,6 @@ some required system databases:
{{- end }}

Then it's time to relax.

As of chart version 3.4.0, the helm chart will attempt automatically to complete
cluster setup after installation if the `clusterSetup` value is set to true.

0 comments on commit 7c7d7cf

Please sign in to comment.