Procedure to change from "simpledemo.onap.org" to a custom domain
Tested with Firefox. Settings for mixed-mode HTTP/HTTPS in chrome seem to be hidden.
Helm charts Approach
Update portal hostname (this affects portal.properties) but portalFEPort should also be the nodeport
~oom/kubernetes/portal/values.yaml: portalHostName: "k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com"
# for single sign on ecomp_redirect_url = http://{{.Values.global.portalHostName}}:{{.Values.global.portalFEPort}}/ONAPPORTAL/login.htm # URL of the ECOMP Portal REST API ecomp_rest_url = http://{{.Values.global.portalHostName}}:{{.Values.global.portalPort}}/ONAPPORTAL/auxapi
Update portal-app system.properties
~oom/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties:#cookie_domain = onap.org ~oom/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties:cookie_domain = azure.com
Kubectl edit config map approach with direct SSL port approach (this is what I did)
kubectl -n onap edit configmap dev-portal-portal-app-onapportal
# for single sign on ecomp_redirect_url = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/login.htm # URL of the ECOMP Portal REST API ecomp_rest_url = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/auxapi frontend_url = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/applicationsHome cookie_domain = azure.com
https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/login.htm can be used to test.
Update the APP onboarding entries as demo user to use the FQDN (and accept the ssl exception for the nodeports where applicable)
sdc: http://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30206/sdc1/portal
vid: https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30200/vid/welcome.htm
https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30200/ to confirm SSL exception
policy: https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30219/onap/policy
https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30219/ to confirm SSL exception
Continue with other applications you need