Add e2e test for infrastructure roles secrets
This commit is contained in:
		
							parent
							
								
									53e049af9a
								
							
						
					
					
						commit
						52e05697bb
					
				| 
						 | 
					@ -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"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue