herlanS_ преди 3 години
родител
ревизия
a79beb80f0
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/IpPhoneBridgeApplication.kt

+ 4 - 2
src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/IpPhoneBridgeApplication.kt

@@ -56,8 +56,10 @@ fun main(args: Array<String>) {
     sApp.setDefaultProperties(properties)
     sApp.run(*args)
     LogManager.getLogger("co.id.datacomsolusindo.ipphonebridge.IpPhoneBridgeApplication").info("Bridge Start")
-    val hostName = System.getenv("HOSTNAME")
-    println("hostname $hostName")
+    println("hostname ${System.getenv("HOSTNAME")}")
+    println("token ${System.getenv("KUBE_TOKEN")}")
+    println("service_host ${System.getenv("KUBERNETES_SERVICE_HOST")}")
+    println("port ${System.getenv("KUBERNETES_PORT_443_TCP_PORT")}")
 }
 
 class Client(