Add support for annotations and labels in spec. #739

Merged
telackey merged 5 commits from telackey/annotations into main 2024-02-09 00:11:08 +00:00
Showing only changes of commit 640cbbbf39 - Show all commits

View File

@ -117,4 +117,4 @@ class Spec:
return "true" == str(self.obj.get("security", {}).get("privileged", "false")).lower()
def get_capabilities(self):
return self.obj.get("security", {}).get("capabilities", [])
return self.obj.get("security", {}).get("capabilities", [])