Index: /branches/master/array-ingress/common/baseclient/baseclient.go
===================================================================
--- /branches/master/array-ingress/common/baseclient/baseclient.go	(revision 20)
+++ /branches/master/array-ingress/common/baseclient/baseclient.go	(working copy)
@@ -178,10 +178,12 @@
 func (b *BaseClient) constructUrl(instType, annotationUrl string) string {
 	apvIP := os.Getenv("APV_IP")
 	asfIP := os.Getenv("ASF_IP")
+	apvPort := os.Getenv("APV_PORT")
+	asfPort := os.Getenv("ASF_PORT")
 
 	baseURLs := map[string]string{
-		"APV": fmt.Sprintf("https://%s:9997/rest/apv/%%s", apvIP),
-		"ASF": fmt.Sprintf("https://%s:9997/rest/asf/%%s", asfIP),
+		"APV": fmt.Sprintf("https://%s:%s/rest/apv/%%s", apvIP,apvPort),
+		"ASF": fmt.Sprintf("https://%s:%s/rest/asf/%%s", asfIP,asfPort),
 	}
 
 	baseURL, exists := baseURLs[instType]
Index: /branches/master/array-ingress/helmchart/array-ingress/templates/deployment.yaml
===================================================================
--- /branches/master/array-ingress/helmchart/array-ingress/templates/deployment.yaml	(revision 20)
+++ /branches/master/array-ingress/helmchart/array-ingress/templates/deployment.yaml	(working copy)
@@ -57,6 +57,8 @@
               value: {{ .Values.apv.password }}
             - name: APV_INSECURE_SKIP
               value: {{ .Values.apv.insecureskip | quote }}
+            - name: APV_PORT
+              value: {{ .Values.apv.port | quote}}
             - name: APV_TIMEOUT
               value: {{ .Values.apv.timeout }}
             {{- else if .Values.asf.enabled }}
@@ -68,6 +70,8 @@
               value: {{ .Values.asf.password }}
             - name: ASF_INSECURE_SKIP
               value: {{ .Values.asf.insecureskip | quote }}
+            - name: ASF_PORT
+              value: {{ .Values.asf.port | quote }}
             - name: ASF_TIMEOUT
               value: {{ .Values.asf.timeout }}
             {{- end }}
Index: /branches/master/array-ingress/helmchart/array-ingress/values.yaml
===================================================================
--- /branches/master/array-ingress/helmchart/array-ingress/values.yaml	(revision 20)
+++ /branches/master/array-ingress/helmchart/array-ingress/values.yaml	(working copy)
@@ -50,6 +50,7 @@
   password: "some_passowrd"
   insecureskip: "true"
   timeout: "5s"
+  port: 9997
   enabled: true
 
 asf:
@@ -58,6 +59,7 @@
   password: "some_passowrd"
   insecureskip: "true"
   timeout: "5s"
+  port: 9997
   enabled: true
 
 email:
