Read only configurations
ReadOnlyConfig object specifies the read-only type Nifi config cluster wide, all theses will be merged with node specified readOnly configurations, so it can be overwritten per node.
readOnlyConfig:
# MaximumTimerDrivenThreadCount define the maximum number of threads for timer driven processors available to the system.
maximumTimerDrivenThreadCount: 30
# MaximumEventDrivenThreadCount define the maximum number of threads for event driven processors available to the system.
maximumEventDrivenThreadCount: 10
# Logback configuration that will be applied to the node
logbackConfig:
# logback.xml configuration that will replace the one produced based on template
replaceConfigMap:
# The key of the value,in data content, that we want use.
data: logback.xml
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop
# logback.xml configuration that will replace the one produced based on template and overrideConfigMap
replaceSecretConfig:
# The key of the value,in data content, that we want use.
data: logback.xml
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop
# Authorizer configuration that will be applied to the node
authorizerConfig:
# An authorizers.xml configuration template that will replace the default template seen in authorizers.go
replaceTemplateConfigMap:
# The key of the value, in data content, that we want use.
data: authorizers.xml
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop
# An authorizers.xml configuration template that will replace the default template seen in authorizers.go and the replaceTemplateConfigMap
replaceTemplateSecretConfig:
# The key of the value,in data content, that we want use.
data: authorizers.xml
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop
# NifiProperties configuration that will be applied to the node.
nifiProperties:
# Additionnal nifi.properties configuration that will override the one produced based on template and
# configuration
overrideConfigMap:
# The key of the value,in data content, that we want use.
data: nifi.properties
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop.
# Additionnal nifi.properties configuration that will override the one produced based
# on template, configurations, overrideConfigMap and overrideConfigs.
overrideSecretConfig:
# The key of the value,in data content, that we want use.
data: nifi.properties
# Name of the configmap that we want to refer.
name: raw
# Namespace where is located the secret that we want to refer.
namespace: nifikop
# Additionnal nifi.properties configuration that will override the one produced based
# on template, configurations and overrideConfigMap
overrideConfigs: |
nifi.ui.banner.text=NiFiKop
# A comma separated list of allowed HTTP Host header values to consider when NiFi
# is running securely and will be receiving requests to a different host[:port] than it is bound to.
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#web-properties
# webProxyHosts:
# Nifi security client auth
needClientAuth: false
# Indicates which of the configured authorizers in the authorizers.xml file to use
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#authorizer-configuration
# authorizer:
# ZookeeperProperties configuration that will be applied to the node.
zookeeperProperties:
# # Additionnal zookeeeper.properties configuration that will override the one produced based on template and
# # configuration
# overrideConfigMap:
# # The key of the value,in data content, that we want use.
# data: zookeeeper.properties
# # Name of the configmap that we want to refer.
# name: raw
# # Namespace where is located the secret that we want to refer.
# namespace: nifikop.
# # Additionnal zookeeeper.properties configuration that will override the one produced based
# # on template, configurations, overrideConfigMap and overrideConfigs.
# overrideSecretConfig:
# # The key of the value,in data content, that we want use.
# data: zookeeeper.properties
# # Name of the configmap that we want to refer.
# name: raw
# # Namespace where is located the secret that we want to refer.
# namespace: nifikop
# Additionnal zookeeper.properties configuration that will override the one produced based
# on template and configurations.
overrideConfigs: |
initLimit=15
autopurge.purgeInterval=24
syncLimit=5
tickTime=2000
dataDir=./state/zookeeper
autopurge.snapRetainCount=30
# BootstrapProperties configuration that will be applied to the node.
bootstrapProperties:
# # Additionnal bootstrap.properties configuration that will override the one produced based on template and
# # configuration
# overrideConfigMap:
# # The key of the value,in data content, that we want use.
# data: bootstrap.properties
# # Name of the configmap that we want to refer.
# name: raw
# # Namespace where is located the secret that we want to refer.
# namespace: nifikop.
# # Additionnal bootstrap.properties configuration that will override the one produced based
# # on template, configurations, overrideConfigMap and overrideConfigs.
# overrideSecretConfig:
# # The key of the value,in data content, that we want use.
# data: bootstrap.properties
# # Name of the configmap that we want to refer.
# name: raw
# # Namespace where is located the secret that we want to refer.
# namespace: nifikop
# JVM memory settings
nifiJvmMemory: "512m"
# Additionnal bootstrap.properties configuration that will override the one produced based
# on template and configurations.
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#bootstrap_properties
overrideConfigs: |
# java.arg.4=-Djava.net.preferIPv4Stack=true
ReadOnlyConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
maximumTimerDrivenThreadCount | int32 | define the maximum number of threads for timer driven processors available to the system. | No | 10 |
maximumEventDrivenThreadCount | int32 | define the maximum number of threads for event driven processors available to the system. | No | 1 |
additionalSharedEnvs | [ ]corev1.EnvVar | define a set of additional env variables that will shared between all init containers and containers in the pod. | No | [ ] |
nifiProperties | NifiProperties | nifi.properties configuration that will be applied to the node. | No | nil |
zookeeperProperties | ZookeeperProperties | zookeeper.properties configuration that will be applied to the node. | No | nil |
bootstrapProperties | BootstrapProperties | bootstrap.conf configuration that will be applied to the node. | No | nil |
logbackConfig | LogbackConfig | logback.xml configuration that will be applied to the node. | No | nil |
authorizerConfig | AuthorizerConfig | authorizers.xml configuration template that will be applied to the node. | No | nil |
bootstrapNotificationServicesConfig | BootstrapNotificationServices | bootstrap_notification_services.xml configuration that will be applied to the node. | No | nil |
NifiProperties
Field | Type | Description | Required | Default |
---|---|---|---|---|
overrideConfigMap | ConfigmapReference | Additionnal nifi.properties configuration that will override the one produced based on template and configuration. | No | nil |
overrideConfigs | string | Additionnal nifi.properties configuration that will override the one produced based on template, configurations and overrideConfigMap. | No | "" |
overrideSecretConfig | SecretConfigReference | Additionnal nifi.properties configuration that will override the one produced based on template, configurations, overrideConfigMap and overrideConfigs. | No | nil |
webProxyHosts | [ ]string | A list of allowed HTTP Host header values to consider when NiFi is running securely and will be receiving requests to a different host[:port] than it is bound to. web-properties | No | "" |
needClientAuth | boolean | Nifi security client auth. | No | false |
authorizer | string | Indicates which of the configured authorizers in the authorizers.xml file to use authorizer-configuration | No | "managed-authorizer" |
ZookeeperProperties
Field | Type | Description | Required | Default |
---|---|---|---|---|
overrideConfigMap | ConfigmapReference | Additionnal zookeeper.properties configuration that will override the one produced based on template and configuration. | No | nil |
overrideConfigs | string | Additionnal zookeeper.properties configuration that will override the one produced based on template, configurations and overrideConfigMap. | No | "" |
overrideSecretConfig | SecretConfigReference | Additionnal zookeeper.properties configuration that will override the one produced based on template, configurations, overrideConfigMap and overrideConfigs. | No | nil |
BootstrapProperties
Field | Type | Description | Required | Default |
---|---|---|---|---|
overrideConfigMap | ConfigmapReference | Additionnal bootstrap.properties configuration that will override the one produced based on template and configuration. | No | nil |
overrideConfigs | string | Additionnal bootstrap.properties configuration that will override the one produced based on template, configurations and overrideConfigMap. | No | "" |
overrideSecretConfig | SecretConfigReference | Additionnal bootstrap.properties configuration that will override the one produced based on template, configurations, overrideConfigMap and overrideConfigs. | No | nil |
NifiJvmMemory | string | JVM memory settings. | No | "512m" |
LogbackConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
replaceConfigMap | ConfigmapReference | logback.xml configuration that will replace the one produced based on template. | No | nil |
replaceSecretConfig | SecretConfigReference | logback.xml configuration that will replace the one produced based on template and overrideConfigMap. | No | nil |
AuthorizerConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
replaceTemplateConfigMap | ConfigmapReference | authorizers.xml configuration template that will replace the default template. | No | nil |
replaceTemplateSecretConfig | SecretConfigReference | authorizers.xml configuration that will replace the default template and the replaceTemplateConfigMap. | No | nil |
BootstrapNotificationServicesConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
replaceConfigMap | ConfigmapReference | bootstrap_notifications_services.xml configuration that will replace the one produced based on template. | No | nil |
replaceSecretConfig | SecretConfigReference | bootstrap_notifications_services.xml configuration that will replace the one produced based on template and overrideConfigMap. | No | nil |
ConfigmapReference
Field | Type | Description | Required | Default |
---|---|---|---|---|
name | string | Name of the configmap that we want to refer. | Yes | "" |
namespace | string | Namespace where is located the configmap that we want to refer. | No | "" |
data | string | The key of the value,in data content, that we want use. | Yes | "" |
SecretConfigReference
Field | Type | Description | Required | Default |
---|---|---|---|---|
name | string | Name of the secret that we want to refer. | Yes | "" |
namespace | string | Namespace where is located the secret that we want to refer. | No | "" |
data | string | The key of the value,in data content, that we want use. | Yes | "" |