fix deployments

This commit is contained in:
Chris Zhu
2024-11-05 19:56:55 -08:00
parent 8c916bccab
commit e9818a1dbf

View File

@@ -78,7 +78,7 @@ class Projects::DeploymentJob < ApplicationJob
end end
def kill_one_off_containers(project, kubectl) def kill_one_off_containers(project, kubectl)
kubectl.call("-n #{service.project.name} delete pods -l oneoff=true") kubectl.call("-n #{project.name} delete pods -l oneoff=true")
end end
def apply_namespace(project, kubectl) def apply_namespace(project, kubectl)