fmt
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 30s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m17s
Smoke Test / Run basic test suite (pull_request) Successful in 3m17s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m3s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m30s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 30s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m17s
Smoke Test / Run basic test suite (pull_request) Successful in 3m17s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m3s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m30s
This commit is contained in:
parent
53b29ff69b
commit
3c7ff76a83
@ -121,8 +121,7 @@ class Spec:
|
|||||||
return self.obj.get(constants.labels_key, {})
|
return self.obj.get(constants.labels_key, {})
|
||||||
|
|
||||||
def get_privileged(self):
|
def get_privileged(self):
|
||||||
return "true" == str(self.obj.get(constants.security_key, {})
|
return "true" == str(self.obj.get(constants.security_key, {}).get("privileged", "false")).lower()
|
||||||
.get("privileged", "false")).lower()
|
|
||||||
|
|
||||||
def get_capabilities(self):
|
def get_capabilities(self):
|
||||||
return self.obj.get(constants.security_key, {}).get("capabilities", [])
|
return self.obj.get(constants.security_key, {}).get("capabilities", [])
|
||||||
|
Loading…
Reference in New Issue
Block a user