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

Commit

Permalink
Add bootstrap options
Browse files Browse the repository at this point in the history
Signed-off-by: joseph.ybh <[email protected]>
  • Loading branch information
josephybh committed Aug 10, 2023
1 parent f296a8e commit 4bb7517
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ The following table lists the configurable parameters of the nifi chart and the
| **env** |
| `env` | Additional environment variables for the nifi-container (see [spec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core) for details) | `[]` |
| `envFrom` | Additional environment variables for the nifi-container from config-maps or secrets (see [spec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envfromsource-v1-core) for details) | `[]` |
| **extraOptions** |
| `extraOptions` | Additional bootstrap.conf properties (see [properties](https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#bootstrap_properties) for details) | `[]` |
| **extraContainers** |
| `extraContainers` | Additional container-specifications that should run within the pod (see [spec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core) for details) | `[]` |
| **extraLabels** |
Expand Down
5 changes: 5 additions & 0 deletions configs/bootstrap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,8 @@ notification.max.attempts=5
#nifi.dead.notification.services=email-notification


# Extra bootstrap options
{{- range .Values.extraOptions }}
{{ .name }}={{ .value }}
{{- end }}

3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ env: []
## Extra environment variables from secrets and config maps
envFrom: []

## Extra options to add to the bootstrap.conf file
extraOptions: []

# envFrom:
# - configMapRef:
# name: config-name
Expand Down

0 comments on commit 4bb7517

Please sign in to comment.