question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[cetic/nifi] nifi property settings broken if not using LDAP or OIDC

See original GitHub issue

Describe the bug

NiFi properties cannot be set unless LDAP or OIDC is turned on.

Version of Helm, Kubernetes and the Nifi chart:

First appears in chart version 1.0.2 with pull request #169.

What you expected to happen:

Using this values setting:

properties:
  safetyValve:
    nifi.content.claim.max.appendable.size: "1 B"

…would result in NiFi being configured with that property set.

What happened:

The statefulset and (and therefore pods) had no command: stanza whatsoever, so the NiFi property was not set.

How to reproduce it (as minimally and precisely as possible):

Use the above values.yaml and observe that the server container in the pods do not have a command: stanza, and that NiFi does not end up configured per that setting.

Anything else we need to know:

Commit 0867843cd39d6d1bf4a329969e6956942167589e in templates/statefulset.yaml line 121 disables the command: stanza in the server container.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
wknicklesscommented, Dec 22, 2021

@leshibily A few minutes ago I pushed https://github.com/wknickless/helm-nifi/commit/2abc235c0e77da265f2a2707ae92b6bc006e0387 which restores safetyValve and singleUser to operation. It also defines some tests to hopefully quickly identify regressions.

I don’t know if I’ve broken LDAP or OIDC–or anything else–but at least there are now github actions defined that verify those two things are working.

1reaction
wknicklesscommented, Dec 21, 2021

@leshibily I concur that your #211 is a duplicate of this issue. I’ve just started work this morning and first on my list is to fix both our issues and provide a pull request. I’ll be sure to mention that here and tag you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[cetic/nifi] oidc not working using v0.6.4 #215 - GitHub
Describe the bug. UI is not answering. Version of Helm, Kubernetes and the Nifi chart: Helm: v0.6.4. Kubernetes: v1.20.2. Nifi: 1.12.1.
Read more >
NiFi System Administrator's Guide - Apache NiFi
See the System Properties section of this guide for more information about configuring NiFi repositories and configuration files. Build a Custom Distribution.
Read more >
nifi 0.5.4 · helm/cetic - Artifact Hub
By default, a secure nifi cluster uses certificate based authentication but you can optionally enable ldap or oidc . See the configuration section...
Read more >
Solved: Nifi simple authentication NOT SSL with Openldap
I am trying to configure 2 containers (Openldap and NIFI) but it is impossible to find what the error is because the nifi...
Read more >
Authorizations with LDAP synchronization in Apache NiFi 1.4+
If using the FileAuthorizer, the configuration was looking like (in a ... And we set the corresponding property in the nifi.properties file:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found