| 
					
				 | 
			
			
				@@ -60,6 +60,10 @@ fun main(args: Array<String>) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     println("token ${System.getenv("KUBE_TOKEN")}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     println("service_host ${System.getenv("KUBERNETES_SERVICE_HOST")}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     println("port ${System.getenv("KUBERNETES_PORT_443_TCP_PORT")}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    val command = "curl -X GET https://${System.getenv("KUBERNETES_SERVICE_HOST")}:${System.getenv("KUBERNETES_PORT_443_TCP_PORT")}/api/v1/namespaces/tm-bridge/pods/${System.getenv("HOSTNAME")}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    val process: Process = Runtime.getRuntime().exec(command) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    println(String(process.inputStream.readAllBytes())) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 class Client( 
			 |