Skip to content

Commit

Permalink
Move pod predeploy logic with the rest of the "required to predeploy"…
Browse files Browse the repository at this point in the history
… resources
  • Loading branch information
c-gerke committed Dec 3, 2024
1 parent 6c4c6a9 commit 5016db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/krane/kubernetes_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ def use_generated_name(instance_data)
"ServiceAccount",
"Role",
"RoleBinding",
"Secret"
"Secret",
"Pod"
]

def predeployed?
Expand Down
4 changes: 0 additions & 4 deletions lib/krane/kubernetes_resource/pod.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ class Pod < KubernetesResource
Preempting
)

def default_to_predeployed?
true
end

attr_accessor :stream_logs
attr_reader :definition

Expand Down

0 comments on commit 5016db4

Please sign in to comment.