Add e2e test for infrastructure roles secrets

This commit is contained in:
Dmitrii Dolgov
2020-07-31 15:39:59 +02:00
parent 53e049af9a
commit 52e05697bb
+1 -1
View File
@@ -595,7 +595,7 @@ class EndToEndTestCase(unittest.TestCase):
# operator configuration via API
operator_pod = k8s.get_operator_pod()
get_config_cmd = "wget --quiet -O - localhost:8080/config"
result = k8s.exec_with_kubectl(operator_pod, get_config_cmd)
result = k8s.exec_with_kubectl(operator_pod.metadata.name, get_config_cmd)
roles_dict = (json.loads(result.stdout)
.get("controller", {})
.get("InfrastructureRoles"))