Add e2e test for infrastructure roles secrets

This commit is contained in:
Dmitrii Dolgov 2020-07-31 11:43:55 +02:00
parent 53e049af9a
commit 52e05697bb
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ class EndToEndTestCase(unittest.TestCase):
# operator configuration via API # operator configuration via API
operator_pod = k8s.get_operator_pod() operator_pod = k8s.get_operator_pod()
get_config_cmd = "wget --quiet -O - localhost:8080/config" 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) roles_dict = (json.loads(result.stdout)
.get("controller", {}) .get("controller", {})
.get("InfrastructureRoles")) .get("InfrastructureRoles"))