Fix configmaps constant.

This commit is contained in:
Thomas E Lackey 2024-03-04 22:01:01 +00:00
parent 14ee4da1fc
commit 4ec0e38b77

View File

@ -97,7 +97,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.configmap) 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, {}) return Resources(self.obj.get(constants.resources_key, {})