Commit Graph

32 Commits

Author SHA1 Message Date
Malthe Borch d9c5a19255
NIFI-13681 Aligned Cluster Docker Environment Variables with Properties (#9199)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-08-27 11:21:17 -05:00
Juldrixx 787c45dd61
NIFI-12590 Added Prefix Properties for Kubernetes Leases and ConfigMaps
This closes #8240

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-17 11:34:52 -06:00
Dominique Jean-Prost 470406c13a
NIFI-12533 Allow usage of NIFI_CLUSTER_LOAD_BALANCE_HOST in Docker
This closes #8177

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-12-22 12:59:11 -06:00
Joe Witt b58f3aee4d
NIFI-12138 added volume for nar extensions (#7804) 2023-09-28 17:30:16 -04:00
Marcelo Vinícius de Sousa Campos acd9b5b10b
NIFI-12135 This closes #7799. Update update_oidc_properties.sh
Update OIDC properties via update_oidc_properties.sh

Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-09-27 16:31:47 -07:00
Joe Witt ff05a5d158
NIFI-12074 updated images to base on Java 21 and added Python3 (#7785)
* NIFI-12074 updated images to base on Java 21 and added Python3

* NIFI-12074 ensure python env included, enable python extension mount
2023-09-26 10:08:32 -04:00
Pierre Villard 43cc5ad122
NIFI-12079 This closes #7750. Remove Variables / Variable Registry
Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-09-25 09:39:53 -07:00
exceptionfactory 512155ba2f
NIFI-10975 Add Kubernetes Leader Election and State Provider (#6779)
* NIFI-10975 Added Kubernetes Leader Election and State Provider
- Added Kubernetes Leader Election Manager based on Kubernetes Leases
- Added Kubernetes State Provider based on Kubernetes ConfigMaps
- Added nifi-kubernetes-client for generalized access to Fabric8 Kubernetes Client
- Added nifi.cluster.leader.election.implementation Property defaulting to CuratorLeaderElectionManager
- Refactored LeaderElectionManager to nifi-framework-api for Extension Discovering Manager
- Refactored shared ZooKeeper configuration to nifi-framework-cluster-zookeeper

* NIFI-10975 Updated Kubernetes Client and StateMap
- Upgraded Kubernetes Client from 6.2.0 to 6.3.0
- Added getStateVersion to StateMap and deprecated getVersion
- Updated Docker start.sh with additional properties

* NIFI-10975 Corrected MockStateManager.assertStateSet()
* NIFI-10975 Upgraded Kubernetes Client from 6.3.0 to 6.3.1
* NIFI-10975 Corrected unregister leader and disabled release on cancel

* NIFI-10975 Corrected findLeader handling of Lease expiration
- Changed LeaderElectionManager.getLeader() return to Optional String

* NIFI-10975 Corrected StandardNiFiServiceFacade handling of Optional Leader
* NIFI-10975 Changed getLeader() to call findLeader() to avoid stale cached values
* NIFI-10975 Updated LeaderElectionCommand to run LeaderElector in loop
* NIFI-10975 Rebased on project version 2.0.0-SNAPSHOT

* NIFI-10975 Corrected Gson and AspectJ versions
- Updated versions to match current main branch and avoid reverting
2023-03-07 14:14:24 -05:00
Dominique Jean-Prost 8198ab5cbd
NIFI-11057 Added Registry NAR Provider Variable for Docker
This closes #6847

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-02-03 16:23:04 -06:00
Justin Rittenhouse de1d26d8bf
NIFI-10799 Add OIDC to Docker images for NiFi and NiFi Registry
This closes #6651

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-01-12 13:17:16 -06:00
Dominique Jean-Prost ce237888e6
NIFI-10978 Added LDAP_REFERRAL_STRATEGY to NiFi Docker
This closes #6796

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2022-12-19 14:06:05 -06:00
markap14 73f88b3239
NIFI-9061: Eliminated the nifi.cluster.node.protocol.threads property in favor of nifi.cluster.node.protocol.max.threads property so that we can properly scale out the number of threads used for HTTP request replication. Implementing a caching mechanism for creating the DateTimeFormatter used by TimeAdapter in order to improve performance when parsing timestamps in web requests. Implementing caching logic for caching the number of characters that can rendered without needing an ellipsis for some components in the UI (#5316)
This closes #5316
2021-09-13 14:36:35 -04:00
exceptionfactory 1d61be776b
NIFI-8943 Corrected Sensitive Props Key handling in Docker
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #5245.
2021-07-26 13:29:02 +02:00
Joey Frazee 871360a5ee
NIFI-8784 Make NIFI_WEB_PROXY_HOST work with single user auth
This closes #5226

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2021-07-22 15:54:42 -05:00
exceptionfactory 1d9ea6d4cf
NIFI-8725 Added Single User Environment Variables for Docker (#5178)
* NIFI-8725 Added Single User Environment Variables for Docker

- Updated Docker README.md with example command and link to Administration Guide section
- Updated Docker integration test to check HTTP response status
- Disabled integration test plugin for dockerhub because it depends on changes on the main branch. Can be re-enabled after 1.14.0 is released.
2021-06-23 12:42:44 -04:00
exceptionfactory db40989b48 NIFI-8516 Enabled HTTPS and Single User Authentication in default configuration
- Set default HTTPS Port to 9443
- Set default authorizer to single-user-authorizer
- Set default login-identity-provider to single-user-provider
- Updated README.md with authentication instructions using generated credentials
- Updated default URL and port information in Administration and User Guides
- Updated Getting Started Guide with authentication and URL changes
- Updated Docker images to set HTTPS as default configuration
- Updated default HTTPS port to 8443
- Set Cluster Protocol secure property in Docker start scripts
- Added set-single-user-credentials command
- Refactored shared classes to nifi-single-user-utils
- Updated Getting Started documentation and logging
- Updated documentation and TLS Toolkit default ports
- Updated Toolkit Guide and Administration Guide
- Updated README.md with HTTPS links
2021-06-11 14:18:53 -04:00
Emilio Setiadarma 8641b54a49
NIFI-6667 Added variable to accept nifi.sensitive.props.key in Dockerfiles
This closes #5128

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2021-06-08 15:46:31 -05:00
Karthick Narendran 3508b5b12f NIFI-7850 Adds nifi.cluster.protocol.is.secure to Docker secure.sh
This closes #4896

Signed-off-by: Joey Frazee <jfrazee@apache.org>
2021-03-19 15:30:23 -07:00
Opher Shachar 99e69f0252
NIFI-7318 - Allow 'docker stop' to gracefully shutdown
As it is issuing 'docker stop' will immediatly exit the container.

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4182.
2020-04-18 16:25:05 +02:00
Matthew Burgess c9f48e3788
NIFI-7354: Allow analytics properties to be set via environment variables in docker scripts
This closes #4203.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
2020-04-13 09:15:05 -04:00
Aldrin Piri c8af8eaa76
NIFI-7080
* Ensure script files in Docker builds are treated as executable.
* Updating git permissions to reflect executable for both secure.sh scripts.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
Signed-off-by: Kevin Doran <kdoran@apache.org>

This closes #4027.

Signed-off-by: Kevin Doran <kdoran@apache.org>
2020-01-31 01:03:32 -05:00
Mike Thomsen 6d4504d662
NIFI-6067 Enabled support for the JVM remote debugger in the Docker container.
This closes #3326.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
2019-02-27 20:15:23 -05:00
Craig Davidson ed21d02fa7 Added ability to configure JVM Memory settings via Docker ENV variables
This closes #3321

Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-02-20 20:46:30 -05:00
Jeff Storck cc47a8c0e1
NIFI-5748 Improved Proxy Header Support
- Fixed proxy header support to use X-Forwarded-Host instead of X-ForwardedServer
- Added support for the context path header used by Traefik when proxying a service (X-Forwarded-Prefix)
- Added tests to ApplicationResourceTest for X-Forwarded-Context and X-Forwarded-Prefix
- Updated administration doc to include X-Forwarded-Prefix
- Added NIFI_WEB_PROXY_CONTEXT_PATH env var to dockerhub and dockermaven start.sh scripts
- Added documentation for NIFI_WEB_PROXY_CONTEXT_PATH to dockerhub README.md
- Updated ApplicationResource to handle a port specified in X-ProxyPort and X-Forwarded-Port headers

This closes #3129.

Signed-off-by: Kevin Doran <kdoran@apache.org>
2018-12-17 17:32:06 -05:00
Matt Gilman 02261311b3 NIFI-5737:
- Removing needClientAuth property since cluster comms now requires two way ssl. Jetty client auth settings are based on configured features.
- Removing dead code.
- Updating documentation.
- Removing references to needClientAuth property in all test resources.
- Removing overloaded util method with strict parameter.

This closes #3102.
2018-10-22 20:02:47 -04:00
pepov b7fe04257d
NIFI-5468 Add toolkit to NiFi docker image and use zip archive
NIFI-5468 add keypasswd with the default of keystorepasswd for bc compatibility
NIFI-5468 Use ARG instead of ENV for PATH variables as those need to be controlled in the build
NIFI-5468 Use BASE_URL for the default case when MIRROR_BASE_URL is not defined (and replace ARCHIVE_BASE_URL)

This closes #2921

Signed-off-by: Andrew I. Christianson <andy@andyic.org>
2018-08-02 09:44:14 -04:00
Mike Thomsen d3222b85ab
NIFI-5195 Added clustering to the docker image and added a docker-compose file that builds a basic 3 node cluster.
This closes #2828.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
2018-07-03 11:40:31 -04:00
Mike Thomsen df49312804 NIFI-5359 Exposed variable registry to docker image.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2829.
2018-07-03 11:42:35 +02:00
Aldrin Piri 7c0ee014d3 NIFI-4788 This closes #2427. Exposing nifi.web.proxy.host configuration for Docker containers.
Signed-off-by: joewitt <joewitt@apache.org>
2018-04-03 07:49:06 -07:00
dchaffey e74c67f779 Corrected Docker tag back to standard format
Modified Docker startup scripts to accept Environment variables if available, or use the usual defaults if not.
Updated readme to reflect changes in allowing environment variables.
Updated readme to correctly reflect the default ports that NiFi will run on.

This closes #2439

Signed-off-by: Jeremy Dyer <jeremydyer@apache.org>
2018-01-31 15:50:42 -05:00
Aldrin Piri f7f001eb9a NIFI-4531: This closes #2372.
Providing support for running NiFi Docker image with LDAP authentication provider.
2018-01-04 12:09:46 -05:00
Aldrin Piri c832a2ed7c NIFI-4530: This closes #2329. Initial support for two-way SSL user authentication in the Docker image.
Signed-off-by: joewitt <joewitt@apache.org>
2018-01-04 10:37:37 -05:00