Stephanie Ambrose created NIFI-11650:
----------------------------------------
Summary: Stateless NiFi does not support ssl properties passed in.
Key: NIFI-11650
URL: https://issues.apache.org/jira/browse/NIFI-11650
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.20.0
Reporter: Stephanie Ambrose
When deploying stateless NiFi in an environment like k8s, we have the
stateless.properties file as a configMap. We need to pass in the keystore
password, retrieved by the k8s secret (or environment variable). According to
the stateless documentation, this should be supported; however, it looks like
the ssl properties specifically don't allow for override. For example, I'm
trying to pass this in when running stateless from my deployment.yaml:
command:
["/bin/sh", "-c", "/opt/nifi/nifi-current/bin/nifi-stateless.sh -c -p
\"nifi.stateless.security.keystorePasswd=${KEYSTORE_PASSWORD}\""]
The expected behavior would be that the nifi.stateless.security.keystorePasswd
property in stateless.properties would be updated.
Documentation referenced here
([https://github.com/apache/nifi/blob/main/nifi-stateless/nifi-stateless-assembly/README.md#passing-parameters)]
Chatted briefly w/ Joe Gresock to verify and requested a ticket be submitted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)