Skip to content

Overriding "nifi.web.proxy.host" will fail the CreateReportingTask Job #468

@maltesander

Description

@maltesander

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions