more oops
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 27s
Webapp Test / Run webapp test suite (pull_request) Successful in 2m58s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m45s
Smoke Test / Run basic test suite (pull_request) Successful in 2m36s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m16s

This commit is contained in:
Thomas E Lackey 2024-03-04 23:05:35 -06:00
parent 240db3ca4c
commit 64b395f15a

View File

@ -103,7 +103,7 @@ class Spec:
return self.obj.get(constants.volumes_key, {}) return self.obj.get(constants.volumes_key, {})
def get_configmaps(self): def get_configmaps(self):
return self.obj.get(constants.configmaps_key) return self.obj.get(constants.configmaps_key, {})
def get_container_resources(self): def get_container_resources(self):
return Resources(self.obj.get(constants.resources_key, {}).get("containers", {})) return Resources(self.obj.get(constants.resources_key, {}).get("containers", {}))