Skip to content

Commit 929684e

Browse files
committed
add a NOTES.txt output to mention the auto-generation
1 parent 30e1322 commit 929684e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

couchdb/templates/NOTES.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,14 @@ some required system databases:
1818
{{- end }}
1919

2020
Then it's time to relax.
21+
22+
{{- $erlangCookie := .Values.erlangFlags.setcookie }}
23+
{{- if (empty $erlangCookie) }}
24+
NOTE: You are using an auto-generated value for the Erlang Cookie
25+
- We recommend making this value persistent by setting it in: `erlangFlags.setcookie`
26+
- Changing this value can cause problems for the Couch DB installation (particularly upgrades / config changes)
27+
- You can get the current value with:
28+
```
29+
kubectl -n {{ $.Release.Namespace }} get secret {{ include "couchdb.fullname" . }} --template='{{print "{{" }}index .data "erlangCookie" | base64decode{{ print "}}" }}'
30+
```
31+
{{- end }}

0 commit comments

Comments
 (0)