forked from cerc-io/stack-orchestrator
Add Job and secrets support for k8s-kind deployments (#995)
Part of https://plan.wireit.in/deepstack/browse/VUL-315 Reviewed-on: cerc-io/stack-orchestrator#995 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
1 parent
8cc0a9a19a
commit
5af6a83fa2
19 files changed
+468
-93
No files matched your search
@@ -115,6 +115,9 @@ class Spec:
|
||||
def get_configmaps(self):
|
||||
return self.obj.get(constants.configmaps_key, {})
|
||||
|
||||
def get_secrets(self):
|
||||
return self.obj.get(constants.secrets_key, {})
|
||||
|
||||
def get_container_resources(self):
|
||||
return Resources(
|
||||
self.obj.get(constants.resources_key, {}).get("containers", {})
|
||||
|
||||
Reference in new issue
Block a user