AppManager: Actually pass service port to the auth-proxy
Change-Id: I836ba0c4feefad29022f6fef611c9dfd4c998d23
diff --git a/core/installer/app_configs/app_global_env.cue b/core/installer/app_configs/app_global_env.cue
index c813736..6f23961 100644
--- a/core/installer/app_configs/app_global_env.cue
+++ b/core/installer/app_configs/app_global_env.cue
@@ -98,7 +98,7 @@
tag: images.authProxy.tag
pullPolicy: images.authProxy.pullPolicy
}
- upstream: "\(service.name).\(release.namespace).svc.cluster.local"
+ upstream: "\(service.name).\(release.namespace).svc.cluster.local:\(service.port)"
whoAmIAddr: "https://accounts.\(g.domain)/sessions/whoami"
loginAddr: "https://accounts-ui.\(g.domain)/login"
membershipAddr: "http://memberships-api.\(g.namespacePrefix)core-auth-memberships.svc.cluster.local/api/user"