From 00e85b46535ea7272301abfe1e639124ac9133a8 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Tue, 25 May 2021 16:11:55 -0500 Subject: [PATCH] fix: Set Erlang cluster cookie --- infrastructure/kube.yaml | 2 ++ infrastructure_templates/kube.yaml.dot | 2 ++ 2 files changed, 4 insertions(+) diff --git a/infrastructure/kube.yaml b/infrastructure/kube.yaml index cda1ebe8..f46c1801 100644 --- a/infrastructure/kube.yaml +++ b/infrastructure/kube.yaml @@ -25,6 +25,8 @@ spec: args: - "--name" - "$(NAME)@$(POD_IP)" + - "--cookie" + - "$(SECRET_KEY_BASE)" - "-S" - "mix" - "phx.server" diff --git a/infrastructure_templates/kube.yaml.dot b/infrastructure_templates/kube.yaml.dot index 50c256d3..efb2898b 100644 --- a/infrastructure_templates/kube.yaml.dot +++ b/infrastructure_templates/kube.yaml.dot @@ -25,6 +25,8 @@ spec: args: - "--name" - "$(NAME)@$(POD_IP)" + - "--cookie" + - "$(SECRET_KEY_BASE)" - "-S" - "mix" - "phx.server"