The NiFiKop NiFi Kubernetes operator makes it easy to run Apache NiFi on Kubernetes. Apache NiFI is a free, open-source solution that support powerful and scalable directed graphs of data routing, transformation, and system mediation logic.
This change will add the option to include NodePorts from clusters.externalServices with custom hosts list and add them in NifiCluster under webProxyHosts.
Why?
This will help in cases where NiFi's UI and API is accessed over the node port services and NiFi needs the host[:port] entry present in nifi.web.proxy.host in nifi.properties. If the host is not listed in the property, then NiFi will complain about host header:
System Error
The request contained an invalid host header [<host>:<port>] in the request [/nifi/login]. Check for request manipulation or third-party intercept.
Valid host headers are [empty] or:
What's in this PR?
This change will add the option to include NodePorts from
clusters.externalServices
with custom hosts list and add them inNifiCluster
underwebProxyHosts
.Why?
This will help in cases where NiFi's UI and API is accessed over the node port services and NiFi needs the
host[:port]
entry present innifi.web.proxy.host
innifi.properties
. If the host is not listed in the property, then NiFi will complain about host header:Additional context
Checklist