diff --git a/README.md b/README.md index da4287d4..c1854947 100644 --- a/README.md +++ b/README.md @@ -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** | diff --git a/configs/bootstrap.conf b/configs/bootstrap.conf index e6a2444d..a9183e67 100644 --- a/configs/bootstrap.conf +++ b/configs/bootstrap.conf @@ -81,3 +81,8 @@ notification.max.attempts=5 #nifi.dead.notification.services=email-notification +# Extra bootstrap options +{{- range .Values.extraOptions }} +{{ .name }}={{ .value }} +{{- end }} + diff --git a/values.yaml b/values.yaml index a39199df..b9356b4b 100644 --- a/values.yaml +++ b/values.yaml @@ -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