-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
When overriding nifi.web.proxy.host, the allowed host names set by the operator are overriden.
External access via proxy works but the ReportingTaskJob will fail due to the internal access:
The request contained an invalid host header [nifi.default.svc.cluster.local:8443] in the request [/nifi-api/access/token]. Check for request manipulation or third-party intercept.
We should offer a field in the CRD to add other proxy hosts to our existing hosts list instead of just being able to set this field via overrides and completely removing the ones set by the operator.
Quick fix for this would be to override:
nifi.web.proxy.host=myproxy,nifi.default.svc.cluster.local:8443
which only works in this case if the cluster name is nifi and deployed to the default namespace.