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

Commit

Permalink
Allow to customize flow storage settings (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthier FRIDIERE authored Jan 19, 2024
1 parent ada0baf commit 5ca6739
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: nifi
version: 1.2.0
version: 1.2.1
appVersion: 1.23.2
description: Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.
keywords:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ The following table lists the configurable parameters of the nifi chart and the
| `properties.archiveMaxUsagePercentage` | nifi content repository archive max usage | `85%` |
| `properties.provenanceStorage` | nifi provenance repository max storage size | `8 GB` |
| `properties.provenanceMaxStorageTime` | nifi provenance repository max storage time | `10 days` |
| `properties.flowArchiveMaxTime` | nifi flow archive max time | `30 days` |
| `properties.flowArchiveMaxStorage` | nifi flow archive max storage | `500 MB` |
| `properties.siteToSite.secure` | Site to Site properties Secure mode | `false` |
| `properties.siteToSite.port` | Site to Site properties Secure port | `10000` |
| `properties.safetyValve` | Map of explicit 'property: value' pairs that overwrite other configuration | `nil` |
Expand Down
4 changes: 2 additions & 2 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
nifi.flow.configuration.file=../data/flow.xml.gz
nifi.flow.configuration.archive.enabled=true
nifi.flow.configuration.archive.dir=../data/archive/
nifi.flow.configuration.archive.max.time=30 days
nifi.flow.configuration.archive.max.storage=500 MB
nifi.flow.configuration.archive.max.time={{.Values.properties.flowArchiveMaxTime}}
nifi.flow.configuration.archive.max.storage={{.Values.properties.flowArchiveMaxStorage}}
nifi.flow.configuration.archive.max.count=
nifi.flowcontroller.autoResumeState=true
nifi.flowcontroller.graceful.shutdown.period=10 sec
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ properties:
archiveMaxUsagePercentage: "85%"
provenanceStorage: "8 GB"
provenanceMaxStorageTime: "10 days"
flowArchiveMaxTime: "30 days"
flowArchiveMaxStorage: "500 MB"
siteToSite:
port: 10000
# use properties.safetyValve to pass explicit 'key: value' pairs that overwrite other configuration
Expand Down

0 comments on commit 5ca6739

Please sign in to comment.