Get system jobs working under new deployment model (#9221)

This commit is contained in:
Shane McDonald
2021-02-03 15:06:21 -05:00
parent 68f9c5137d
commit 57b317d440
3 changed files with 35 additions and 7 deletions
+3
View File
@@ -255,6 +255,9 @@ class InstanceGroup(HasPolicyEditsMixin, BaseModel, RelatedJobsMixin):
@property
def is_container_group(self):
if settings.IS_K8S:
return True
return bool(self.credential and self.credential.kubernetes)
'''