-
Bug
-
Resolution: Done
-
High
-
Frankfurt Release
-
None
If Portal is used with an k8s ingress e.g. config below, then SDC for example will not launch correctly.
The problem is that Portal adds cookies with underscores "_" e.g. USER_ID=cs0008
These are stripped out by default by the nginx ingress.
This can be overriden by setting
enable-underscores-in-headers: "true"
in the ingress
example of now to change
kubectl -n ingress-nginx get cm nginx-configuration -o yaml > nginx-CM.yaml
add the 2 lines below to nginx-CM.yaml
data:
enable-underscores-in-headers: "true"
kubectl replace -f ./nginx.yaml
sample INGRESS is attached
I think this either needs to be documented on how to set up an ingress for ONAP or I think the usage of underscores should be removed.
- is cloned by
-
PORTAL-811 Could not instantiate id generator [entity-name=org.onap.portalapp.portal.domain.SharedContext]
- Closed