Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Add custom lib path configuration option #86

Merged
merged 4 commits into from
Sep 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The following table lists the configurable parameters of the nifi chart and the
| `properties.siteToSite.port` | Site to Site properties Secure port | `10000` |
| `properties.siteToSite.authorizer` | | `managed-authorizer` |
| `properties.safetyValve` | Map of explicit 'property: value' pairs that overwrite other configuration | `nil` |
| `properties.customLibPath` | Path of the custom libraries folder | `nil` |
| **nifi user authentication** |
| `auth.admin` | Default admin identity | ` CN=admin, OU=NIFI` |
| `auth.ldap.enabled` | Enable User auth via ldap | `false` |
Expand Down
1 change: 1 addition & 0 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ nifi.templates.directory=../data/templates
nifi.ui.banner.text=
nifi.ui.autorefresh.interval=30 sec
nifi.nar.library.directory=./lib
nifi.nar.library.directory.custom={{.Values.properties.customLibPath}}
nifi.nar.working.directory=./work/nar/
nifi.documentation.working.directory=./work/docs/components

Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ properties:
# listen to loopback interface so "kubectl port-forward ..." works
nifi.web.http.network.interface.lo: lo

## Include aditional processors
# customLibPath: "/opt/configuration_resources/custom_lib"

## Include additional libraries in the Nifi containers by using the postStart handler
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
# postStart: /opt/nifi/psql; wget -P /opt/nifi/psql https://jdbc.postgresql.org/download/postgresql-42.2.6.jar
Expand Down