Skip to content

Commit b8539e0

Browse files
committed
add a NOTES.txt output to mention the auto-generation
1 parent 47f2802 commit b8539e0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

couchdb/templates/NOTES.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,15 @@ 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+
25+
NOTE: You are using an auto-generated value for the Erlang Cookie
26+
- We recommend making this value persistent by setting it in: `erlangFlags.setcookie`
27+
- Changing this value can cause problems for the Couch DB installation (particularly upgrades / config changes)
28+
- You can get the current value with:
29+
```
30+
kubectl -n {{ $.Release.Namespace }} get secret {{ include "couchdb.fullname" . }} --template='{{print "{{" }}index .data "erlangCookie" | base64decode{{ print "}}" }}'
31+
```
32+
{{- end }}

0 commit comments

Comments
 (0)