File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
spawn_monitor/lib/spawn_monitor
spawn_operator/spawn_operator/lib/spawn_operator/k8s/proxy Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ defmodule Spawn.Cluster.ClusterSupervisor do
9797 strategy: Elixir.Cluster.Strategy.Kubernetes.DNS ,
9898 config: [
9999 service: Config . get ( :proxy_headless_service ) ,
100- application_name: Config . get ( :app_name ) ,
100+ application_name: Config . get ( :actor_system_name ) ,
101101 polling_interval: Config . get ( :proxy_cluster_polling_interval )
102102 ]
103103 ]
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ defmodule SpawnMonitor.Cluster do
7272 strategy: Cluster.Strategy.Kubernetes.DNS ,
7373 config: [
7474 service: env ( "PROXY_HEADLESS_SERVICE" , "proxy-headless" ) ,
75- application_name: env ( "PROXY_APP_NAME " , "proxy" ) ,
75+ application_name: env ( "PROXY_ACTOR_SYSTEM_NAME " , "proxy" ) ,
7676 polling_interval: polling_interval
7777 ]
7878 ]
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
66 @ behaviour SpawnOperator.K8s.Manifest
77
88 @ default_actor_host_function_env [
9- % {
10- "name" => "RELEASE_NAME" ,
11- "value" => "proxy"
12- } ,
139 % {
1410 "name" => "NAMESPACE" ,
1511 "valueFrom" => % { "fieldRef" => % { "fieldPath" => "metadata.namespace" } }
@@ -282,6 +278,10 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
282278 updated_default_envs =
283279 @ default_actor_host_function_env ++
284280 [
281+ % {
282+ "name" => "RELEASE_NAME" ,
283+ "value" => system
284+ } ,
285285 % {
286286 "name" => "RELEASE_COOKIE" ,
287287 "valueFrom" => % {
@@ -358,6 +358,10 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
358358 updated_default_envs =
359359 @ default_actor_host_function_env ++
360360 [
361+ % {
362+ "name" => "RELEASE_NAME" ,
363+ "value" => system
364+ } ,
361365 % {
362366 "name" => "RELEASE_COOKIE" ,
363367 "valueFrom" => % {
You can’t perform that action at this time.
0 commit comments