WIP: Support wildcard certs. #776

Closed
telackey wants to merge 12 commits from telackey/wild into main
Showing only changes of commit 3c7ff76a83 - Show all commits

View File

@ -121,8 +121,7 @@ class Spec:
return self.obj.get(constants.labels_key, {})
def get_privileged(self):
return "true" == str(self.obj.get(constants.security_key, {})
.get("privileged", "false")).lower()
return "true" == str(self.obj.get(constants.security_key, {}).get("privileged", "false")).lower()
def get_capabilities(self):
return self.obj.get(constants.security_key, {}).get("capabilities", [])