File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
spawn_operator/spawn_operator/lib/spawn_operator Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
195195 }
196196 |> maybe_put_node_selector ( topology )
197197 |> maybe_put_node_tolerations ( topology )
198- |> maybe_put_image_pull_secrets ( topology )
198+ |> maybe_put_image_pull_secrets ( host_params )
199199 |> maybe_put_volumes ( params , erlang_mtls_enabled )
200200 |> maybe_set_termination_period ( params )
201201 }
@@ -457,7 +457,10 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
457457
458458 defp maybe_put_node_tolerations ( spec , _ ) , do: spec
459459
460- defp maybe_put_image_pull_secrets ( spec , % { "imagePullSecrets" => image_pull_secrets } = _topology ) do
460+ defp maybe_put_image_pull_secrets (
461+ spec ,
462+ % { "imagePullSecrets" => image_pull_secrets } = _host_params
463+ ) do
461464 Map . merge ( spec , % { "imagePullSecrets" => image_pull_secrets } )
462465 end
463466
Original file line number Diff line number Diff line change @@ -193,6 +193,13 @@ defmodule SpawnOperator.Versions.Api.V1.ActorHost do
193193 properties:
194194 image:
195195 type: string
196+ imagePullSecrets:
197+ type: array
198+ items:
199+ type: object
200+ properties:
201+ name:
202+ type: string
196203 volumeMounts:
197204 type: array
198205 items:
You can’t perform that action at this time.
0 commit comments