Merge "Change voltctl configuration file for k8s ingress"
diff --git a/jjb/pipeline/voltha/physical-build.groovy b/jjb/pipeline/voltha/physical-build.groovy
index 9dfb588..17d48b3 100755
--- a/jjb/pipeline/voltha/physical-build.groovy
+++ b/jjb/pipeline/voltha/physical-build.groovy
@@ -16,7 +16,6 @@
 
 // NOTE we are importing the library even if it's global so that it's
 // easier to change the keywords during a replay
-
 library identifier: 'cord-jenkins-libraries@master',
     retriever: modernSCM([
       $class: 'GitSCMSource',
diff --git a/vars/installVoltctl.groovy b/vars/installVoltctl.groovy
index 61370e6..cddb0c5 100644
--- a/vars/installVoltctl.groovy
+++ b/vars/installVoltctl.groovy
@@ -165,7 +165,11 @@
 
     mkdir -p "/home/jenkins/.volt"
     rm -f "/home/jenkins/.volt/config"
-    "\${bin_voltctl}" config > "/home/jenkins/.volt/config"
+    "\${bin_voltctl}" config | \
+      sed -e "s/server: .*/server: voltha.voltha.local:443/" \
+          -e "s/kvstore: .*/kvstore: voltha-infra.local:443/" \
+          -e "s/useTLS: .*/useTLS: true/" | \
+      tee "/home/jenkins/.volt/config"
 """)
 
     leave('process')