diff --git a/README.md b/README.md index e838050e..fb6cecb5 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,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 58b2e246..a22b8ea4 100644 --- a/values.yaml +++ b/values.yaml @@ -339,6 +339,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