Skip to content

Generate a unique Erlang cookie by default#68

Merged
kocolosk merged 1 commit intomainfrom
generate-erlang-cookie
Feb 26, 2022
Merged

Generate a unique Erlang cookie by default#68
kocolosk merged 1 commit intomainfrom
generate-erlang-cookie

Conversation

@kocolosk
Copy link
Copy Markdown
Member

What this PR does / why we need it:

This relies on new support for the COUCHDB_ERLANG_COOKIE env to generate a Secret that is written down into ~/.erlang.cookie instead of passing the cookie in the ERL_FLAGS. I suppose it would be possible to merge the generated cookie into ERL_FLAGS, but this approach seemed cleaner, more secure, and more maintainable going forward.

Special notes for your reviewer:

Will publish the update chart separately, right now I'd like to merge this in part to test a fix for #67 and see if we can get versions up through 3.6.0 published.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.

  • Chart Version bumped
  • e2e tests pass
  • Variables are documented in the README.md
  • Chart tgz added to /docs and index updated

This relies on new support for the COUCHDB_ERLANG_COOKIE env to
generate a Secret that is written down into ~/.erlang.cookie instead
of passing the cookie in the ERL_FLAGS. I suppose it would be possible
to merge the generated cookie into ERL_FLAGS, but this approach seemed
cleaner and more maintainable going forward.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant