Exposing Apps with Ingress Controller
You must do the following configurations to expose BWCE and Flogo apps with Ingress Controller.
Nginx Ingress Controller
For application public endpoints to work, add use-forwarded-headers: "true"
in the nginx configmap ingress-nginx-controller
under namespace ingress-nginx
.
In the values.yaml
of nginx-ingress
chart, add the following:
controller: allowSnippetAnnotations: true
Traefik Ingress Controller
Before provisioning TIBCO Developer Hub capability, you must add the following in custom-values.yaml
file because TIBCO Developer Hub creates an external name service.
providers: # for external service kubernetesIngress: allowExternalNameServices: true
You can configure Traefik to trust the forwarded headers information (X-Forwarded-*). Add the following in the custom-values.yaml
file:
additionalArguments: - '--serversTransport.insecureSkipVerify=true' - '--entryPoints.websecure.forwardedHeaders.insecure'