Closed shayki5 closed 1 year ago
I fixed it with adding sed -i '1d' ${NIFI_HOME}/conf/authorizers.xml
in the statefulset.yaml here:
{{- if .Values.auth.ldap.enabled }}
cat "${NIFI_HOME}/conf/authorizers.temp" > "${NIFI_HOME}/conf/authorizers.xml"
sed -i '1d' ${NIFI_HOME}/conf/authorizers.xml
cat "${NIFI_HOME}/conf/login-identity-providers-ldap.xml" > "${NIFI_HOME}/conf/login-identity-providers.xml"
Describe the bug When I configured ldap (with
ldap: enable: true
) nifi can't running, in the server logs I can see the following error:When the ldap is false all good. It looks like the ldap make the XML to be with wrong syntax in the first line (an extra space?).
Version of Helm, Kubernetes and the Nifi chart: Helm: 3.9 K8s: 1.24 Nifi chart: 1.1.1
What happened: Nifi can't running.
What you expected to happen: Nifi running.
How to reproduce it (as minimally and precisely as possible): Enable ldap and deploy the chart.
Anything else we need to know:
My relevant values yaml: