1# This file has been modified by Chainguard, Inc.
3# Copyright Chainguard, Inc. All Rights Reserved.
4# Chainguard, Inc. modifications are subject to the license
5# available at: https://www.chainguard.dev/legal/software-license-agreement
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
10## @section Global parameters
11## Global Docker image parameters
12## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
16## @param global.imageRegistry Global Docker image registry
17## @param global.imagePullSecrets Global Docker registry secret names as an array
18## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
19## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
25 ## - myRegistryKeySecretName
28 defaultStorageClass: ""
30 ## Security parameters
33 ## @param global.security.allowInsecureImages Allows skipping image verification
34 allowInsecureImages: false
35 ## Compatibility adaptations for Kubernetes platforms
38 ## Compatibility adaptations for Openshift
41 ## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
43 adaptSecurityContext: auto
45## @section Common parameters
48## @param kubeVersion Override Kubernetes version
51## @param apiVersions Override Kubernetes API versions reported by .Capabilities
54## @param nameOverride String to partially override common.names.fullname
57## @param fullnameOverride String to fully override common.names.fullname
60## @param clusterDomain Default Kubernetes cluster domain
62clusterDomain: cluster.local
63## @param commonLabels Labels to add to all deployed objects
66## @param commonAnnotations Annotations to add to all deployed objects
69## @param extraDeploy Array of extra objects to deploy with the release
72## @param serviceBindings.enabled Create secret for service binding (Experimental)
73## Ref: https://servicebinding.io/service-provider/
77## Enable diagnostic mode in the statefulset
80 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
83 ## @param diagnosticMode.command Command to override all containers in the statefulset
87 ## @param diagnosticMode.args Args to override all containers in the statefulset
91## @section Kafka parameters
94## Iamguarded Kafka image version
95## @param image.registry [default: REGISTRY_NAME] Kafka image registry
96## @param image.repository [default: REPOSITORY_NAME/kafka] Kafka image repository
97## @skip image.tag Kafka image tag (immutable tags are recommended)
98## @param image.digest Kafka image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
99## @param image.pullPolicy Kafka image pull policy
100## @param image.pullSecrets Specify docker-registry secret names as an array
101## @param image.debug Specify if debug values should be set
104 registry: chainreg.biz
105 repository: chainguard-private/kafka-iamguarded
107 digest: sha256:86daa57bec2938c36b3b8caf0d24fa78044657a8fe3b1bec87069bd1660a44db
108 ## Specify a imagePullPolicy
109 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
111 pullPolicy: IfNotPresent
112 ## Optionally specify an array of imagePullSecrets.
113 ## Secrets must be manually created in the namespace.
114 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
117 ## - myRegistryKeySecretName
120 ## Set to true if you would like to see extra information on logs
123## @param extraInit Additional content for the kafka init script, rendered as a template.
126## @param config Configuration file for Kafka, rendered as a template. Auto-generated based on chart values when not specified.
127## @param existingConfigmap ConfigMap with Kafka Configuration
128## NOTE: This will override the configuration based on values, please act carefully
129## If both are set, the existingConfigMap will be used.
133## @param extraConfig Additional configuration to be appended at the end of the generated Kafka configuration file.
136## @param extraConfigYaml Additional configuration in yaml format to be appended at the end of the generated Kafka configuration file.
140## default.replication.factor: 3
143## @param secretConfig Additional configuration to be appended at the end of the generated Kafka configuration file.
144## This value will be stored in a secret.
147## @param existingSecretConfig Secret with additonal configuration that will be appended to the end of the generated Kafka configuration file
148## The key for the configuration should be: server-secret.properties
149## NOTE: This will override secretConfig value
151existingSecretConfig: ""
152## @param log4j An optional log4j.properties file to overwrite the default of the Kafka brokers
153## An optional log4j.properties file to overwrite the default of the Kafka brokers
154## ref: https://github.com/apache/kafka/blob/trunk/config/log4j.properties
157## @param existingLog4jConfigMap The name of an existing ConfigMap containing a log4j.properties file
158## The name of an existing ConfigMap containing a log4j.properties file
159## NOTE: this will override `log4j`
161existingLog4jConfigMap: ""
162## @param heapOpts Kafka Java Heap configuration
164heapOpts: -XX:InitialRAMPercentage=75 -XX:MaxRAMPercentage=75
165## @param brokerRackAssignment Set Broker Assignment for multi tenant environment Allowed values: `aws-az`, `azure`
166## ref: https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica
168brokerRackAssignment: ""
169## @param brokerRackAssignmentApiVersion Set Broker Assignment API version when brokerRackAssignment set to : `azure`
170brokerRackAssignmentApiVersion: "2023-11-15"
171## @param interBrokerProtocolVersion Override the setting 'inter.broker.protocol.version' during the ZK migration.
172## Ref. https://docs.confluent.io/platform/current/installation/migrate-zk-kraft.html
174interBrokerProtocolVersion: ""
175## Kafka listeners configuration
178 ## @param listeners.client.name Name for the Kafka client listener
179 ## @param listeners.client.containerPort Port for the Kafka client listener
180 ## @param listeners.client.protocol Security protocol for the Kafka client listener. Allowed values are 'PLAINTEXT', 'SASL_PLAINTEXT', 'SASL_SSL' and 'SSL'
181 ## @param listeners.client.sslClientAuth Optional. If SASL_SSL is enabled, configure mTLS TLS authentication type. If SSL protocol is enabled, overrides tls.authType for this listener. Allowed values are 'none', 'requested' and 'required'
184 protocol: SASL_PLAINTEXT
187 ## @param listeners.controller.name Name for the Kafka controller listener
188 ## @param listeners.controller.containerPort Port for the Kafka controller listener
189 ## @param listeners.controller.protocol Security protocol for the Kafka controller listener. Allowed values are 'PLAINTEXT', 'SASL_PLAINTEXT', 'SASL_SSL' and 'SSL'
190 ## @param listeners.controller.sslClientAuth Optional. If SASL_SSL is enabled, configure mTLS TLS authentication type. If SSL protocol is enabled, overrides tls.authType for this listener. Allowed values are 'none', 'requested' and 'required'
191 ## Ref: https://cwiki.apache.org/confluence/display/KAFKA/KIP-684+-+Support+mutual+TLS+authentication+on+SASL_SSL+listeners
195 protocol: SASL_PLAINTEXT
197 ## @param listeners.interbroker.name Name for the Kafka inter-broker listener
198 ## @param listeners.interbroker.containerPort Port for the Kafka inter-broker listener
199 ## @param listeners.interbroker.protocol Security protocol for the Kafka inter-broker listener. Allowed values are 'PLAINTEXT', 'SASL_PLAINTEXT', 'SASL_SSL' and 'SSL'
200 ## @param listeners.interbroker.sslClientAuth Optional. If SASL_SSL is enabled, configure mTLS TLS authentication type. If SSL protocol is enabled, overrides tls.authType for this listener. Allowed values are 'none', 'requested' and 'required'
203 protocol: SASL_PLAINTEXT
206 ## @param listeners.external.containerPort Port for the Kafka external listener
207 ## @param listeners.external.protocol Security protocol for the Kafka external listener. . Allowed values are 'PLAINTEXT', 'SASL_PLAINTEXT', 'SASL_SSL' and 'SSL'
208 ## @param listeners.external.name Name for the Kafka external listener
209 ## @param listeners.external.sslClientAuth Optional. If SASL_SSL is enabled, configure mTLS TLS authentication type. If SSL protocol is enabled, overrides tls.sslClientAuth for this listener. Allowed values are 'none', 'requested' and 'required'
212 protocol: SASL_PLAINTEXT
215 ## @param listeners.extraListeners Array of listener objects to be appended to already existing listeners
219 ## containerPort: 9097
220 ## protocol: SASL_PLAINTEXT
224 ## NOTE: If set, below values will override configuration set using the above values (extraListeners.*, controller.*, interbroker.*, client.* and external.*)
225 ## @param listeners.overrideListeners Overrides the Kafka 'listeners' configuration setting.
226 ## @param listeners.advertisedListeners Overrides the Kafka 'advertised.listener' configuration setting.
227 ## @param listeners.securityProtocolMap Overrides the Kafka 'security.protocol.map' configuration setting.
228 overrideListeners: ""
229 advertisedListeners: ""
230 securityProtocolMap: ""
231## @section Kafka SASL parameters
232## Kafka SASL settings for authentication, required if SASL_PLAINTEXT or SASL_SSL listeners are configured
235 ## @param sasl.enabledMechanisms Comma-separated list of allowed SASL mechanisms when SASL listeners are configured. Allowed types: `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, `OAUTHBEARER`
236 ## NOTE: At the moment, Kafka Raft mode does not support SCRAM, that is why only PLAIN is configured.
238 enabledMechanisms: PLAIN,SCRAM-SHA-256,SCRAM-SHA-512
239 ## @param sasl.interBrokerMechanism SASL mechanism for inter broker communication.
241 interBrokerMechanism: PLAIN
242 ## @param sasl.controllerMechanism SASL mechanism for controller communications.
244 controllerMechanism: PLAIN
245 ## Settings for oauthbearer mechanism
246 ## @param sasl.oauthbearer.tokenEndpointUrl The URL for the OAuth/OIDC identity provider
247 ## @param sasl.oauthbearer.jwksEndpointUrl The OAuth/OIDC provider URL from which the provider's JWKS (JSON Web Key Set) can be retrieved
248 ## @param sasl.oauthbearer.expectedAudience The comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences
249 ## @param sasl.oauthbearer.subClaimName The OAuth claim name for the subject.
256 ## Credentials for inter-broker communications.
257 ## @param sasl.interbroker.user Username for inter-broker communications when SASL is enabled
258 ## @param sasl.interbroker.password Password for inter-broker communications when SASL is enabled. If not set and SASL is enabled for the controller listener, a random password will be generated.
259 ## @param sasl.interbroker.clientId Client ID for inter-broker communications when SASL is enabled with mechanism OAUTHBEARER
260 ## @param sasl.interbroker.clientSecret Client Secret for inter-broker communications when SASL is enabled with mechanism OAUTHBEARER. If not set and SASL is enabled for the controller listener, a random secret will be generated.
263 user: inter_broker_user
265 clientId: inter_broker_client
267 ## Credentials for controller communications.
268 ## @param sasl.controller.user Username for controller communications when SASL is enabled
269 ## @param sasl.controller.password Password for controller communications when SASL is enabled. If not set and SASL is enabled for the inter-broker listener, a random password will be generated.
270 ## @param sasl.controller.clientId Client ID for controller communications when SASL is enabled with mechanism OAUTHBEARER
271 ## @param sasl.controller.clientSecret Client Secret for controller communications when SASL is enabled with mechanism OAUTHBEARER. If not set and SASL is enabled for the inter-broker listener, a random secret will be generated.
274 user: controller_user
276 clientId: controller_broker_client
278 ## Credentials for client communications.
279 ## @param sasl.client.users Comma-separated list of usernames for client communications when SASL is enabled
280 ## @param sasl.client.passwords Comma-separated list of passwords for client communications when SASL is enabled, must match the number of client.users
286 ## Credentials for Zookeeper communications.
287 ## @param sasl.zookeeper.user Username for zookeeper communications when SASL is enabled.
288 ## @param sasl.zookeeper.password Password for zookeeper communications when SASL is enabled.
293 ## @param sasl.existingSecret Name of the existing secret containing credentials for clientUsers, interBrokerUser, controllerUser and zookeeperUser
294 ## Create this secret running the command below where SECRET_NAME is the name of the secret you want to create:
295 ## kubectl create secret generic SECRET_NAME --from-literal=client-passwords=CLIENT_PASSWORD1,CLIENT_PASSWORD2 --from-literal=inter-broker-password=INTER_BROKER_PASSWORD --from-literal=inter-broker-client-secret=INTER_BROKER_CLIENT_SECRET --from-literal=controller-password=CONTROLLER_PASSWORD --from-literal=controller-client-secret=CONTROLLER_CLIENT_SECRET --from-literal=zookeeper-password=ZOOKEEPER_PASSWORD
296 ## The client secrets are only required when using oauthbearer as sasl mechanism.
297 ## Client, interbroker and controller passwords are only required if the sasl mechanism includes something other than oauthbearer.
300## @section Kafka TLS parameters
301## Kafka TLS settings, required if SSL or SASL_SSL listeners are configured
304 ## @param tls.type Format to use for TLS certificates. Allowed types: `JKS` and `PEM`
307 ## @param tls.pemChainIncluded Flag to denote that the Certificate Authority (CA) certificates are bundled with the endpoint cert.
308 ## Certificates must be in proper order, where the top certificate is the leaf and the bottom certificate is the top-most intermediate CA.
310 pemChainIncluded: false
311 ## @param tls.existingSecret Name of the existing secret containing the TLS certificates for the Kafka nodes.
312 ## When using 'jks' format for certificates, each secret should contain a truststore and a keystore.
313 ## Create these secrets following the steps below:
314 ## 1) Generate your truststore and keystore files. Helpful script: https://raw.githubusercontent.com/confluentinc/confluent-platform-security-tools/master/kafka-generate-ssl.sh
315 ## 2) Rename your truststore to `kafka.truststore.jks`.
316 ## 3) Rename your keystores to `kafka-<role>-X.keystore.jks` where X is the replica number of the .
317 ## 4) Run the command below one time per broker to create its associated secret (SECRET_NAME_X is the name of the secret you want to create):
318 ## kubectl create secret generic SECRET_NAME_0 --from-file=kafka.truststore.jks=./kafka.truststore.jks \
319 ## --from-file=kafka-controller-0.keystore.jks=./kafka-controller-0.keystore.jks --from-file=kafka-broker-0.keystore.jks=./kafka-broker-0.keystore.jks ...
321 ## NOTE: Alternatively, a single keystore can be provided for all nodes under the key 'kafka.keystore.jks', this keystore will be used by all nodes unless overridden by the 'kafka-<role>-X.keystore.jks' file
323 ## When using 'pem' format for certificates, each secret should contain a public CA certificate, a public certificate and one private key.
324 ## Create these secrets following the steps below:
325 ## 1) Create a certificate key and signing request per Kafka broker, and sign the signing request with your CA
326 ## 2) Rename your CA file to `kafka-ca.crt`.
327 ## 3) Rename your certificates to `kafka-X.tls.crt` where X is the ID of each Kafka broker.
328 ## 3) Rename your keys to `kafka-X.tls.key` where X is the ID of each Kafka broker.
329 ## 4) Run the command below one time per broker to create its associated secret (SECRET_NAME_X is the name of the secret you want to create):
330 ## kubectl create secret generic SECRET_NAME_0 --from-file=kafka-ca.crt=./kafka-ca.crt --from-file=kafka-controller-0.crt=./kafka-controller-0.crt --from-file=kafka-controller-0.key=./kafka-controller-0.key \
331 ## --from-file=kafka-broker-0.crt=./kafka-broker-0.crt --from-file=kafka-broker-0.key=./kafka-broker-0.key ...
333 ## NOTE: Alternatively, a single key and certificate can be provided for all nodes under the keys 'kafka.crt' and 'kafka.key'. These certificates will be used by all nodes unless overridden by the 'kafka-<role>-X.key' and 'kafka-<role>-X.crt' files
334 ## NOTE: Alternatively, a single key and certificate can be provided for all nodes under the keys 'tls.crt' and 'tls.key'. These certificates will be used by all nodes unless overridden by the 'kafka-<role>-X.key' and 'kafka-<role>-X.crt' files
337 ## @param tls.autoGenerated Generate automatically self-signed TLS certificates for Kafka brokers. Currently only supported if `tls.type` is `PEM`
338 ## Note: ignored when using 'jks' format or `tls.existingSecret` is not empty
341 ## @param tls.customAltNames Optionally specify extra list of additional subject alternative names (SANs) for the automatically generated TLS certificates.
344 ## @param tls.passwordsSecret Name of the secret containing the password to access the JKS files or PEM key when they are password-protected. (`key`: `password`)
347 ## @param tls.passwordsSecretKeystoreKey The secret key from the tls.passwordsSecret containing the password for the Keystore.
349 passwordsSecretKeystoreKey: keystore-password
350 ## @param tls.passwordsSecretTruststoreKey The secret key from the tls.passwordsSecret containing the password for the Truststore.
352 passwordsSecretTruststoreKey: truststore-password
353 ## @param tls.passwordsSecretPemPasswordKey The secret key from the tls.passwordsSecret containing the password for the PEM key inside 'tls.passwordsSecret'.
355 passwordsSecretPemPasswordKey: ""
356 ## @param tls.keystorePassword Password to access the JKS keystore when it is password-protected. Ignored when 'tls.passwordsSecret' is provided.
357 ## When using tls.type=PEM, the generated keystore will use this password or randomly generate one.
360 ## @param tls.truststorePassword Password to access the JKS truststore when it is password-protected. Ignored when 'tls.passwordsSecret' is provided.
361 ## When using tls.type=PEM, the generated keystore will use this password or randomly generate one.
363 truststorePassword: ""
364 ## @param tls.keyPassword Password to access the PEM key when it is password-protected.
365 ## Note: ignored when using 'tls.passwordsSecret'
368 ## @param tls.jksKeystoreKey The secret key from the `tls.existingSecret` containing the keystore
369 ## Note: ignored when using 'pem' format for certificates.
372 ## @param tls.jksTruststoreSecret Name of the existing secret containing your truststore if truststore not existing or different from the one in the `tls.existingSecret`
373 ## Note: ignored when using 'pem' format for certificates.
375 jksTruststoreSecret: ""
376 ## @param tls.jksTruststoreKey The secret key from the `tls.existingSecret` or `tls.jksTruststoreSecret` containing the truststore
377 ## Note: ignored when using 'pem' format for certificates.
380 ## @param tls.endpointIdentificationAlgorithm The endpoint identification algorithm to validate server hostname using server certificate
381 ## Disable server host name verification by setting it to an empty string.
382 ## ref: https://docs.confluent.io/current/kafka/authentication_ssl.html#optional-settings
384 endpointIdentificationAlgorithm: https
385 ## @param tls.sslClientAuth Sets the default value for the ssl.client.auth Kafka setting.
386 ## ref: https://docs.confluent.io/current/kafka/authentication_ssl.html#optional-settings
388 sslClientAuth: "required"
389 ## Zookeeper TLS connection configuration for Kafka
392 ## @param tls.zookeeper.enabled Enable TLS for Zookeeper client connections.
395 ## @param tls.zookeeper.verifyHostname Hostname validation.
398 ## @param tls.zookeeper.existingSecret Name of the existing secret containing the TLS certificates for ZooKeeper client communications.
401 ## @param tls.zookeeper.existingSecretKeystoreKey The secret key from the tls.zookeeper.existingSecret containing the Keystore.
403 existingSecretKeystoreKey: zookeeper.keystore.jks
404 ## @param tls.zookeeper.existingSecretTruststoreKey The secret key from the tls.zookeeper.existingSecret containing the Truststore.
406 existingSecretTruststoreKey: zookeeper.truststore.jks
407 ## @param tls.zookeeper.passwordsSecret Existing secret containing Keystore and Truststore passwords.
410 ## @param tls.zookeeper.passwordsSecretKeystoreKey The secret key from the tls.zookeeper.passwordsSecret containing the password for the Keystore.
411 ## If no keystore password is included in the passwords secret, set this value to an empty string.
413 passwordsSecretKeystoreKey: keystore-password
414 ## @param tls.zookeeper.passwordsSecretTruststoreKey The secret key from the tls.zookeeper.passwordsSecret containing the password for the Truststore.
415 ## If no truststore password is included in the passwords secret, set this value to an empty string.
417 passwordsSecretTruststoreKey: truststore-password
418 ## @param tls.zookeeper.keystorePassword Password to access the JKS keystore when it is password-protected. Ignored when 'tls.passwordsSecret' is provided.
419 ## When using tls.type=PEM, the generated keystore will use this password or randomly generate one.
422 ## @param tls.zookeeper.truststorePassword Password to access the JKS truststore when it is password-protected. Ignored when 'tls.passwordsSecret' is provided.
423 ## When using tls.type=PEM, the generated keystore will use this password or randomly generate one.
425 truststorePassword: ""
426## @param extraEnvVars Extra environment variables to add to Kafka pods
429## - name: KAFKA_CFG_BACKGROUND_THREADS
433## @param extraEnvVarsCM ConfigMap with extra environment variables
436## @param extraEnvVarsSecret Secret with extra environment variables
438extraEnvVarsSecret: ""
439## @param extraVolumes Optionally specify extra list of additional volumes for the Kafka pod(s)
444## secretName: kafka-jaas
447## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Kafka container(s)
450## mountPath: /iamguarded/kafka/config/kafka_jaas.conf
451## subPath: kafka_jaas.conf
454## @param sidecars Add additional sidecar containers to the Kafka pod(s)
457## - name: your-image-name
459## imagePullPolicy: Always
462## containerPort: 1234
465## @param initContainers Add additional Add init containers to the Kafka pod(s)
468## - name: your-image-name
470## imagePullPolicy: Always
473## containerPort: 1234
477## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
478## @param dnsPolicy Specifies the DNS policy for the zookeeper pods
479## DNS policies can be set on a per-Pod basis. Currently Kubernetes supports the following Pod-specific DNS policies.
480## Available options: Default, ClusterFirst, ClusterFirstWithHostNet, None
481## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
483## @param dnsConfig allows users more control on the DNS settings for a Pod. Required if `dnsPolicy` is set to `None`
484## The dnsConfig field is optional and it can work with any dnsPolicy settings.
485## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
489## - 192.0.2.1 # this is an example
491## - ns1.svc.cluster-domain.example
492## - my.dns.search.suffix
498## @section Controller-eligible statefulset parameters
501 ## @param controller.replicaCount Number of Kafka controller-eligible nodes
502 ## Ignore this section if running in Zookeeper mode.
505 ## @param controller.controllerOnly If set to true, controller nodes will be deployed as dedicated controllers, instead of controller+broker processes.
507 controllerOnly: false
508 ## @param controller.minId Minimal node.id values for controller-eligible nodes. Do not change after first initialization.
509 ## Broker-only id increment their ID starting at this minimal value.
510 ## We recommend setting this this value high enough, as IDs under this value will be used by controller-elegible nodes
513 ## @param controller.zookeeperMigrationMode Set to true to deploy cluster controller quorum
514 ## This allows configuring both kraft and zookeeper modes simultaneously in order to perform the migration of the Kafka metadata.
515 ## Ref. https://docs.confluent.io/platform/current/installation/migrate-zk-kraft.html
517 zookeeperMigrationMode: false
518 ## @param controller.config Configuration file for Kafka controller-eligible nodes, rendered as a template. Auto-generated based on chart values when not specified.
519 ## @param controller.existingConfigmap ConfigMap with Kafka Configuration for controller-eligible nodes.
520 ## NOTE: This will override the configuration based on values, please act carefully
521 ## If both are set, the existingConfigMap will be used.
524 existingConfigmap: ""
525 ## @param controller.extraConfig Additional configuration to be appended at the end of the generated Kafka controller-eligible nodes configuration file.
528 ## @param controller.extraConfigYaml Additional configuration in yaml format to be appended at the end of the generated Kafka controller-eligible nodes configuration file.
529 ## If keys of extraConfigYaml are duplicated here, the value from controller.extraConfigYaml is taken.
532 ## @param controller.secretConfig Additional configuration to be appended at the end of the generated Kafka controller-eligible nodes configuration file.
533 ## This value will be stored in a secret.
536 ## @param controller.existingSecretConfig Secret with additonal configuration that will be appended to the end of the generated Kafka controller-eligible nodes configuration file
537 ## The key for the configuration should be: server-secret.properties
538 ## NOTE: This will override controller.secretConfig value
540 existingSecretConfig: ""
541 ## @param controller.heapOpts Kafka Java Heap size for controller-eligible nodes
543 heapOpts: -Xmx1024m -Xms1024m
544 ## @param controller.command Override Kafka container command
547 ## @param controller.args Override Kafka container arguments
550 ## @param controller.extraEnvVars Extra environment variables to add to Kafka pods
553 ## - name: KAFKA_CFG_BACKGROUND_THREADS
557 ## @param controller.extraEnvVarsCM ConfigMap with extra environment variables
560 ## @param controller.extraEnvVarsSecret Secret with extra environment variables
562 extraEnvVarsSecret: ""
563 ## @param controller.extraContainerPorts Kafka controller-eligible extra containerPorts.
565 extraContainerPorts: []
566 ## Configure extra options for Kafka containers' liveness, readiness and startup probes
567 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
568 ## @param controller.livenessProbe.enabled Enable livenessProbe on Kafka containers
569 ## @param controller.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
570 ## @param controller.livenessProbe.periodSeconds Period seconds for livenessProbe
571 ## @param controller.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
572 ## @param controller.livenessProbe.failureThreshold Failure threshold for livenessProbe
573 ## @param controller.livenessProbe.successThreshold Success threshold for livenessProbe
577 initialDelaySeconds: 10
582 ## @param controller.readinessProbe.enabled Enable readinessProbe on Kafka containers
583 ## @param controller.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
584 ## @param controller.readinessProbe.periodSeconds Period seconds for readinessProbe
585 ## @param controller.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
586 ## @param controller.readinessProbe.failureThreshold Failure threshold for readinessProbe
587 ## @param controller.readinessProbe.successThreshold Success threshold for readinessProbe
591 initialDelaySeconds: 5
596 ## @param controller.startupProbe.enabled Enable startupProbe on Kafka containers
597 ## @param controller.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
598 ## @param controller.startupProbe.periodSeconds Period seconds for startupProbe
599 ## @param controller.startupProbe.timeoutSeconds Timeout seconds for startupProbe
600 ## @param controller.startupProbe.failureThreshold Failure threshold for startupProbe
601 ## @param controller.startupProbe.successThreshold Success threshold for startupProbe
605 initialDelaySeconds: 30
610 ## @param controller.customLivenessProbe Custom livenessProbe that overrides the default one
612 customLivenessProbe: {}
613 ## @param controller.customReadinessProbe Custom readinessProbe that overrides the default one
615 customReadinessProbe: {}
616 ## @param controller.customStartupProbe Custom startupProbe that overrides the default one
618 customStartupProbe: {}
619 ## @param controller.lifecycleHooks lifecycleHooks for the Kafka container to automate configuration before or after startup
622 ## Kafka init container resource requests and limits
623 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
624 ## @param controller.initContainerResources.limits The resources limits for the init container
625 ## @param controller.initContainerResources.requests The requested resources for the init container
627 initContainerResources:
630 ## Kafka resource requests and limits
631 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
632 ## @param controller.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if controller.resources is set (controller.resources is recommended for production).
634 resourcesPreset: "small"
635 ## @param controller.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
646 ## Kafka pods' Security Context
647 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
648 ## @param controller.podSecurityContext.enabled Enable security context for the pods
649 ## @param controller.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
650 ## @param controller.podSecurityContext.sysctls Set kernel settings using the sysctl interface
651 ## @param controller.podSecurityContext.supplementalGroups Set filesystem extra groups
652 ## @param controller.podSecurityContext.fsGroup Set Kafka pod's Security Context fsGroup
653 ## @param controller.podSecurityContext.seccompProfile.type Set Kafka pods's Security Context seccomp profile
657 fsGroupChangePolicy: Always
659 supplementalGroups: []
662 type: "RuntimeDefault"
663 ## Kafka containers' Security Context
664 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
665 ## @param controller.containerSecurityContext.enabled Enable Kafka containers' Security Context
666 ## @param controller.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
667 ## @param controller.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
668 ## @param controller.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
669 ## @param controller.containerSecurityContext.runAsGroup Set Kafka containers' Security Context runAsGroup
670 ## @param controller.containerSecurityContext.runAsNonRoot Set Kafka containers' Security Context runAsNonRoot
671 ## @param controller.containerSecurityContext.allowPrivilegeEscalation Force the child process to be run as non-privileged
672 ## @param controller.containerSecurityContext.readOnlyRootFilesystem Allows the pod to mount the RootFS as ReadOnly only
673 ## @param controller.containerSecurityContext.capabilities.drop Set Kafka containers' server Security Context capabilities to be dropped
675 ## containerSecurityContext:
679 ## readOnlyRootFilesystem: true
681 containerSecurityContext:
687 allowPrivilegeEscalation: false
688 readOnlyRootFilesystem: true
691 ## @param controller.automountServiceAccountToken Mount Service Account token in pod
693 automountServiceAccountToken: false
694 ## @param controller.hostAliases Kafka pods host aliases
695 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
698 ## @param controller.hostNetwork Specify if host network should be enabled for Kafka pods
701 ## @param controller.hostIPC Specify if host IPC should be enabled for Kafka pods
704 ## @param controller.podLabels Extra labels for Kafka pods
705 ## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
708 ## @param controller.podAnnotations Extra annotations for Kafka pods
709 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
712 ## @param controller.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
713 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
715 podAffinityPreset: ""
716 ## @param controller.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
717 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
719 podAntiAffinityPreset: soft
720 ## Node affinity preset
721 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
724 ## @param controller.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
727 ## @param controller.nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
729 ## key: "kubernetes.io/e2e-az-name"
732 ## @param controller.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
739 ## @param controller.affinity Affinity for pod assignment
740 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
741 ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
744 ## @param controller.nodeSelector Node labels for pod assignment
745 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
748 ## @param controller.tolerations Tolerations for pod assignment
749 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
752 ## @param controller.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
753 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
755 topologySpreadConstraints: []
756 ## @param controller.terminationGracePeriodSeconds Seconds the pod needs to gracefully terminate
757 ## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution
759 terminationGracePeriodSeconds: ""
760 ## @param controller.podManagementPolicy StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
761 ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
763 podManagementPolicy: Parallel
764 ## @param controller.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
767 ## @param controller.priorityClassName Name of the existing priority class to be used by kafka pods
768 ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
770 priorityClassName: ""
771 ## @param controller.runtimeClassName Name of the runtime class to be used by pod(s)
772 ## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
775 ## @param controller.enableServiceLinks Whether information about services should be injected into pod's environment variable
776 ## The environment variables injected by service links are not used, but can lead to slow kafka boot times or slow running of the scripts when there are many services in the current namespace.
777 ## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
779 enableServiceLinks: true
780 ## @param controller.schedulerName Name of the k8s scheduler (other than default)
781 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
784 ## @param controller.updateStrategy.type Kafka statefulset strategy type
785 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
789 ## @param controller.extraVolumes Optionally specify extra list of additional volumes for the Kafka pod(s)
792 ## - name: kafka-jaas
794 ## secretName: kafka-jaas
797 ## @param controller.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Kafka container(s)
798 ## extraVolumeMounts:
799 ## - name: kafka-jaas
800 ## mountPath: /iamguarded/kafka/config/kafka_jaas.conf
801 ## subPath: kafka_jaas.conf
803 extraVolumeMounts: []
804 ## @param controller.sidecars Add additional sidecar containers to the Kafka pod(s)
807 ## - name: your-image-name
809 ## imagePullPolicy: Always
812 ## containerPort: 1234
815 ## @param controller.initContainers Add additional Add init containers to the Kafka pod(s)
818 ## - name: your-image-name
820 ## imagePullPolicy: Always
823 ## containerPort: 1234
826 ## @section Experimental: Kafka Controller Autoscaling configuration
827 ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
831 ## @param controller.autoscaling.vpa.enabled Enable VPA
834 ## @param controller.autoscaling.vpa.annotations Annotations for VPA resource
837 ## @param controller.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
839 controlledResources: []
840 ## @param controller.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
844 ## @param controller.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
849 ## @param controller.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
850 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
854 ## @param controller.autoscaling.hpa.enabled Enable HPA for Kafka Controller
857 ## @param controller.autoscaling.hpa.minReplicas Minimum number of Kafka Controller replicas
860 ## @param controller.autoscaling.hpa.maxReplicas Maximum number of Kafka Controller replicas
863 ## @param controller.autoscaling.hpa.targetCPU Target CPU utilization percentage
866 ## @param controller.autoscaling.hpa.targetMemory Target Memory utilization percentage
869 ## Kafka Pod Disruption Budget
870 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
871 ## @param controller.pdb.create Deploy a pdb object for the Kafka pod
872 ## @param controller.pdb.minAvailable Minimum number/percentage of available Kafka replicas
873 ## @param controller.pdb.maxUnavailable Maximum number/percentage of unavailable Kafka replicas
879 ## Enable persistence using Persistent Volume Claims
880 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
883 ## @param controller.persistence.enabled Enable Kafka data persistence using PVC, note that ZooKeeper persistence is unaffected
886 ## @param controller.persistence.existingClaim A manually managed Persistent Volume and Claim
887 ## If defined, PVC must be created manually before volume will be bound
888 ## The value is evaluated as a template
891 ## @param controller.persistence.storageClass PVC Storage Class for Kafka data volume
892 ## If defined, storageClassName: <storageClass>
893 ## If set to "-", storageClassName: "", which disables dynamic provisioning
894 ## If undefined (the default) or set to null, no storageClassName spec is
895 ## set, choosing the default provisioner.
898 ## @param controller.persistence.accessModes Persistent Volume Access Modes
902 ## @param controller.persistence.size PVC Storage Request for Kafka data volume
905 ## @param controller.persistence.annotations Annotations for the PVC
908 ## @param controller.persistence.labels Labels for the PVC
911 ## @param controller.persistence.selector Selector to match an existing Persistent Volume for Kafka data PVC. If set, the PVC can't have a PV dynamically provisioned for it
917 ## @param controller.persistence.mountPath Mount path of the Kafka data volume
919 mountPath: /iamguarded/kafka
920 ## Log Persistence parameters
923 ## @param controller.logPersistence.enabled Enable Kafka logs persistence using PVC, note that ZooKeeper persistence is unaffected
926 ## @param controller.logPersistence.existingClaim A manually managed Persistent Volume and Claim
927 ## If defined, PVC must be created manually before volume will be bound
928 ## The value is evaluated as a template
931 ## @param controller.logPersistence.storageClass PVC Storage Class for Kafka logs volume
932 ## If defined, storageClassName: <storageClass>
933 ## If set to "-", storageClassName: "", which disables dynamic provisioning
934 ## If undefined (the default) or set to null, no storageClassName spec is
935 ## set, choosing the default provisioner.
938 ## @param controller.logPersistence.accessModes Persistent Volume Access Modes
942 ## @param controller.logPersistence.size PVC Storage Request for Kafka logs volume
945 ## @param controller.logPersistence.annotations Annotations for the PVC
948 ## @param controller.logPersistence.selector Selector to match an existing Persistent Volume for Kafka log data PVC. If set, the PVC can't have a PV dynamically provisioned for it
954 ## @param controller.logPersistence.mountPath Mount path of the Kafka logs volume
956 mountPath: /opt/iamguarded/kafka/logs
957## @section Broker-only statefulset parameters
960 ## @param broker.replicaCount Number of Kafka broker-only nodes
963 ## @param broker.minId Minimal node.id values for broker-only nodes. Do not change after first initialization.
964 ## Broker-only id increment their ID starting at this minimal value.
965 ## We recommend setting this this value high enough, as IDs under this value will be used by controller-eligible nodes
969 ## @param broker.zookeeperMigrationMode Set to true to deploy cluster controller quorum
970 ## This allows configuring both kraft and zookeeper modes simultaneously in order to perform the migration of the Kafka metadata.
971 ## Ref. https://docs.confluent.io/platform/current/installation/migrate-zk-kraft.html
973 zookeeperMigrationMode: false
974 ## @param broker.config Configuration file for Kafka broker-only nodes, rendered as a template. Auto-generated based on chart values when not specified.
975 ## @param broker.existingConfigmap ConfigMap with Kafka Configuration for broker-only nodes.
976 ## NOTE: This will override the configuration based on values, please act carefully
977 ## If both are set, the existingConfigMap will be used.
980 existingConfigmap: ""
981 ## @param broker.extraConfig Additional configuration to be appended at the end of the generated Kafka broker-only nodes configuration file.
984 ## @param broker.extraConfigYaml Additional configuration in yaml format to be appended at the end of the generated Kafka broker-only nodes configuration file.
985 ## If keys of extraConfigYaml are duplicated here, the value from broker.extraConfigYaml is taken.
988 ## @param broker.secretConfig Additional configuration to be appended at the end of the generated Kafka broker-only nodes configuration file.
989 ## This value will be stored in a secret.
992 ## @param broker.existingSecretConfig Secret with additonal configuration that will be appended to the end of the generated Kafka broker-only nodes configuration file
993 ## The key for the configuration should be: server-secret.properties
994 ## NOTE: This will override broker.secretConfig value
996 existingSecretConfig: ""
997 ## @param broker.heapOpts Kafka Java Heap size for broker-only nodes
999 heapOpts: -Xmx1024m -Xms1024m
1000 ## @param broker.command Override Kafka container command
1003 ## @param broker.args Override Kafka container arguments
1006 ## @param broker.extraEnvVars Extra environment variables to add to Kafka pods
1009 ## - name: KAFKA_CFG_BACKGROUND_THREADS
1013 ## @param broker.extraEnvVarsCM ConfigMap with extra environment variables
1016 ## @param broker.extraEnvVarsSecret Secret with extra environment variables
1018 extraEnvVarsSecret: ""
1019 ## @param broker.extraContainerPorts Kafka broker-only extra containerPorts.
1021 extraContainerPorts: []
1022 ## Configure extra options for Kafka containers' liveness, readiness and startup probes
1023 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
1024 ## @param broker.livenessProbe.enabled Enable livenessProbe on Kafka containers
1025 ## @param broker.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1026 ## @param broker.livenessProbe.periodSeconds Period seconds for livenessProbe
1027 ## @param broker.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1028 ## @param broker.livenessProbe.failureThreshold Failure threshold for livenessProbe
1029 ## @param broker.livenessProbe.successThreshold Success threshold for livenessProbe
1033 initialDelaySeconds: 10
1038 ## @param broker.readinessProbe.enabled Enable readinessProbe on Kafka containers
1039 ## @param broker.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1040 ## @param broker.readinessProbe.periodSeconds Period seconds for readinessProbe
1041 ## @param broker.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1042 ## @param broker.readinessProbe.failureThreshold Failure threshold for readinessProbe
1043 ## @param broker.readinessProbe.successThreshold Success threshold for readinessProbe
1047 initialDelaySeconds: 5
1052 ## @param broker.startupProbe.enabled Enable startupProbe on Kafka containers
1053 ## @param broker.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1054 ## @param broker.startupProbe.periodSeconds Period seconds for startupProbe
1055 ## @param broker.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1056 ## @param broker.startupProbe.failureThreshold Failure threshold for startupProbe
1057 ## @param broker.startupProbe.successThreshold Success threshold for startupProbe
1061 initialDelaySeconds: 30
1064 failureThreshold: 15
1066 ## @param broker.customLivenessProbe Custom livenessProbe that overrides the default one
1068 customLivenessProbe: {}
1069 ## @param broker.customReadinessProbe Custom readinessProbe that overrides the default one
1071 customReadinessProbe: {}
1072 ## @param broker.customStartupProbe Custom startupProbe that overrides the default one
1074 customStartupProbe: {}
1075 ## @param broker.lifecycleHooks lifecycleHooks for the Kafka container to automate configuration before or after startup
1078 ## Kafka init container resource requests and limits
1079 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
1080 ## @param broker.initContainerResources.limits The resources limits for the container
1081 ## @param broker.initContainerResources.requests The requested resources for the container
1083 initContainerResources:
1086 ## Kafka resource requests and limits
1087 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1088 ## @param broker.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if broker.resources is set (broker.resources is recommended for production).
1090 resourcesPreset: "small"
1091 ## @param broker.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1102 ## Kafka pods' Security Context
1103 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1104 ## @param broker.podSecurityContext.enabled Enable security context for the pods
1105 ## @param broker.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1106 ## @param broker.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1107 ## @param broker.podSecurityContext.supplementalGroups Set filesystem extra groups
1108 ## @param broker.podSecurityContext.fsGroup Set Kafka pod's Security Context fsGroup
1109 ## @param broker.podSecurityContext.seccompProfile.type Set Kafka pod's Security Context seccomp profile
1113 fsGroupChangePolicy: Always
1115 supplementalGroups: []
1118 type: "RuntimeDefault"
1119 ## Kafka containers' Security Context
1120 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1121 ## @param broker.containerSecurityContext.enabled Enable Kafka containers' Security Context
1122 ## @param broker.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1123 ## @param broker.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1124 ## @param broker.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1125 ## @param broker.containerSecurityContext.runAsNonRoot Set Kafka containers' Security Context runAsNonRoot
1126 ## @param broker.containerSecurityContext.allowPrivilegeEscalation Force the child process to be run as non-privileged
1127 ## @param broker.containerSecurityContext.readOnlyRootFilesystem Allows the pod to mount the RootFS as ReadOnly only
1128 ## @param broker.containerSecurityContext.capabilities.drop Set Kafka containers' server Security Context capabilities to be dropped
1130 ## containerSecurityContext:
1133 ## drop: ["NET_RAW"]
1134 ## readOnlyRootFilesystem: true
1136 containerSecurityContext:
1142 allowPrivilegeEscalation: false
1143 readOnlyRootFilesystem: true
1146 ## @param broker.automountServiceAccountToken Mount Service Account token in pod
1148 automountServiceAccountToken: false
1149 ## @param broker.hostAliases Kafka pods host aliases
1150 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1153 ## @param broker.hostNetwork Specify if host network should be enabled for Kafka pods
1156 ## @param broker.hostIPC Specify if host IPC should be enabled for Kafka pods
1159 ## @param broker.podLabels Extra labels for Kafka pods
1160 ## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1163 ## @param broker.podAnnotations Extra annotations for Kafka pods
1164 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1167 ## @param broker.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
1168 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1170 podAffinityPreset: ""
1171 ## @param broker.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
1172 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1174 podAntiAffinityPreset: soft
1175 ## Node affinity preset
1176 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1179 ## @param broker.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
1182 ## @param broker.nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
1184 ## key: "kubernetes.io/e2e-az-name"
1187 ## @param broker.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
1194 ## @param broker.affinity Affinity for pod assignment
1195 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1196 ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
1199 ## @param broker.nodeSelector Node labels for pod assignment
1200 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1203 ## @param broker.tolerations Tolerations for pod assignment
1204 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1207 ## @param broker.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1208 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1210 topologySpreadConstraints: []
1211 ## @param broker.terminationGracePeriodSeconds Seconds the pod needs to gracefully terminate
1212 ## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution
1214 terminationGracePeriodSeconds: ""
1215 ## @param broker.podManagementPolicy StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
1216 ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
1218 podManagementPolicy: Parallel
1219 ## @param broker.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
1222 ## @param broker.priorityClassName Name of the existing priority class to be used by kafka pods
1223 ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
1225 priorityClassName: ""
1226 ## @param broker.runtimeClassName Name of the runtime class to be used by pod(s)
1227 ## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
1229 runtimeClassName: ""
1230 ## @param broker.enableServiceLinks Whether information about services should be injected into pod's environment variable
1231 ## The environment variables injected by service links are not used, but can lead to slow kafka boot times or slow running of the scripts when there are many services in the current namespace.
1232 ## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
1234 enableServiceLinks: true
1235 ## @param broker.schedulerName Name of the k8s scheduler (other than default)
1236 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1239 ## @param broker.updateStrategy.type Kafka statefulset strategy type
1240 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1244 ## @param broker.extraVolumes Optionally specify extra list of additional volumes for the Kafka pod(s)
1247 ## - name: kafka-jaas
1249 ## secretName: kafka-jaas
1252 ## @param broker.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Kafka container(s)
1253 ## extraVolumeMounts:
1254 ## - name: kafka-jaas
1255 ## mountPath: /iamguarded/kafka/config/kafka_jaas.conf
1256 ## subPath: kafka_jaas.conf
1258 extraVolumeMounts: []
1259 ## @param broker.sidecars Add additional sidecar containers to the Kafka pod(s)
1262 ## - name: your-image-name
1263 ## image: your-image
1264 ## imagePullPolicy: Always
1267 ## containerPort: 1234
1270 ## @param broker.initContainers Add additional Add init containers to the Kafka pod(s)
1273 ## - name: your-image-name
1274 ## image: your-image
1275 ## imagePullPolicy: Always
1278 ## containerPort: 1234
1281 ## Kafka Pod Disruption Budget
1282 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
1283 ## @param broker.pdb.create Deploy a pdb object for the Kafka pod
1284 ## @param broker.pdb.minAvailable Maximum number/percentage of unavailable Kafka replicas
1285 ## @param broker.pdb.maxUnavailable Maximum number/percentage of unavailable Kafka replicas
1291 ## @section Experimental: Kafka Broker Autoscaling configuration
1292 ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1296 ## @param broker.autoscaling.vpa.enabled Enable VPA
1299 ## @param broker.autoscaling.vpa.annotations Annotations for VPA resource
1302 ## @param broker.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1304 controlledResources: []
1305 ## @param broker.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1309 ## @param broker.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1314 ## @param broker.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1315 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
1319 ## @param broker.autoscaling.hpa.enabled Enable HPA for Kafka Broker
1322 ## @param broker.autoscaling.hpa.minReplicas Minimum number of Kafka Broker replicas
1325 ## @param broker.autoscaling.hpa.maxReplicas Maximum number of Kafka Broker replicas
1328 ## @param broker.autoscaling.hpa.targetCPU Target CPU utilization percentage
1331 ## @param broker.autoscaling.hpa.targetMemory Target Memory utilization percentage
1334 ## Enable persistence using Persistent Volume Claims
1335 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1338 ## @param broker.persistence.enabled Enable Kafka data persistence using PVC, note that ZooKeeper persistence is unaffected
1341 ## @param broker.persistence.existingClaim A manually managed Persistent Volume and Claim
1342 ## If defined, PVC must be created manually before volume will be bound
1343 ## The value is evaluated as a template
1346 ## @param broker.persistence.storageClass PVC Storage Class for Kafka data volume
1347 ## If defined, storageClassName: <storageClass>
1348 ## If set to "-", storageClassName: "", which disables dynamic provisioning
1349 ## If undefined (the default) or set to null, no storageClassName spec is
1350 ## set, choosing the default provisioner.
1353 ## @param broker.persistence.accessModes Persistent Volume Access Modes
1357 ## @param broker.persistence.size PVC Storage Request for Kafka data volume
1360 ## @param broker.persistence.annotations Annotations for the PVC
1363 ## @param broker.persistence.labels Labels for the PVC
1366 ## @param broker.persistence.selector Selector to match an existing Persistent Volume for Kafka data PVC. If set, the PVC can't have a PV dynamically provisioned for it
1372 ## @param broker.persistence.mountPath Mount path of the Kafka data volume
1374 mountPath: /iamguarded/kafka
1375 ## Log Persistence parameters
1378 ## @param broker.logPersistence.enabled Enable Kafka logs persistence using PVC, note that ZooKeeper persistence is unaffected
1381 ## @param broker.logPersistence.existingClaim A manually managed Persistent Volume and Claim
1382 ## If defined, PVC must be created manually before volume will be bound
1383 ## The value is evaluated as a template
1386 ## @param broker.logPersistence.storageClass PVC Storage Class for Kafka logs volume
1387 ## If defined, storageClassName: <storageClass>
1388 ## If set to "-", storageClassName: "", which disables dynamic provisioning
1389 ## If undefined (the default) or set to null, no storageClassName spec is
1390 ## set, choosing the default provisioner.
1393 ## @param broker.logPersistence.accessModes Persistent Volume Access Modes
1397 ## @param broker.logPersistence.size PVC Storage Request for Kafka logs volume
1400 ## @param broker.logPersistence.annotations Annotations for the PVC
1403 ## @param broker.logPersistence.selector Selector to match an existing Persistent Volume for Kafka log data PVC. If set, the PVC can't have a PV dynamically provisioned for it
1409 ## @param broker.logPersistence.mountPath Mount path of the Kafka logs volume
1411 mountPath: /opt/iamguarded/kafka/logs
1412## @section Traffic Exposure parameters
1415## Service parameters
1418 ## @param service.type Kubernetes Service type
1421 ## @param service.ports.client Kafka svc port for client connections
1422 ## @param service.ports.controller Kafka svc port for controller connections. It is used if "kraft.enabled: true"
1423 ## @param service.ports.interbroker Kafka svc port for inter-broker connections
1424 ## @param service.ports.external Kafka svc port for external connections
1431 ## @param service.extraPorts Extra ports to expose in the Kafka service (normally used with the `sidecar` value)
1434 ## @param service.nodePorts.client Node port for the Kafka client connections
1435 ## @param service.nodePorts.external Node port for the Kafka external connections
1436 ## NOTE: choose port between <30000-32767>
1441 ## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
1442 ## Values: ClientIP or None
1443 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1445 sessionAffinity: None
1446 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
1447 ## sessionAffinityConfig:
1449 ## timeoutSeconds: 300
1451 sessionAffinityConfig: {}
1452 ## @param service.clusterIP Kafka service Cluster IP
1457 ## @param service.loadBalancerIP Kafka service Load Balancer IP
1458 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
1461 ## @param service.loadBalancerClass Kafka service Load Balancer Class
1462 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
1464 loadBalancerClass: ""
1465 ## @param service.loadBalancerSourceRanges Kafka service Load Balancer sources
1466 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1468 ## loadBalancerSourceRanges:
1471 loadBalancerSourceRanges: []
1472 ## @param service.allocateLoadBalancerNodePorts Whether to allocate node ports when service type is LoadBalancer
1473 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-nodeport-allocation
1475 allocateLoadBalancerNodePorts: true
1476 ## @param service.externalTrafficPolicy Kafka service external traffic policy
1477 ## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1479 externalTrafficPolicy: Cluster
1480 ## @param service.annotations Additional custom annotations for Kafka service
1483 ## Headless service properties
1487 ## @param service.headless.controller.annotations Annotations for the controller-eligible headless service.
1490 ## @param service.headless.controller.labels Labels for the controller-eligible headless service.
1494 ## @param service.headless.broker.annotations Annotations for the broker-only headless service.
1497 ## @param service.headless.broker.labels Labels for the broker-only headless service.
1500 ## @param service.headless.ipFamilies IP families for the headless service
1503 ## @param service.headless.ipFamilyPolicy IP family policy for the headless service
1506## External Access to Kafka brokers configuration
1509 ## @param externalAccess.enabled Enable Kubernetes external cluster access to Kafka brokers
1512 ## External IPs auto-discovery configuration
1513 ## An init container is used to auto-detect LB IPs or node ports by querying the K8s API
1514 ## Note: RBAC might be required
1517 ## @param externalAccess.autoDiscovery.enabled Enable using an init container to auto-detect external IPs/ports by querying the K8s API
1520 ## Iamguarded Kubectl image
1521 ## @param externalAccess.autoDiscovery.image.registry [default: REGISTRY_NAME] Init container auto-discovery image registry
1522 ## @param externalAccess.autoDiscovery.image.repository [default: REPOSITORY_NAME/kubectl] Init container auto-discovery image repository
1523 ## @skip externalAccess.autoDiscovery.image.tag Init container auto-discovery image tag (immutable tags are recommended)
1524 ## @param externalAccess.autoDiscovery.image.digest Kubectl image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1525 ## @param externalAccess.autoDiscovery.image.pullPolicy Init container auto-discovery image pull policy
1526 ## @param externalAccess.autoDiscovery.image.pullSecrets Init container auto-discovery image pull secrets
1529 registry: chainreg.biz
1530 repository: chainguard-private/kubectl-iamguarded
1532 digest: sha256:501b099207159a2b3fa01517e8c583a7e2f518ca7ec872e025f79feb3cd4ed0b
1533 ## Specify a imagePullPolicy
1534 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
1536 pullPolicy: IfNotPresent
1537 ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
1538 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1541 ## - myRegistryKeySecretName
1544 ## Init Container resource requests and limits
1545 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1546 ## @param externalAccess.autoDiscovery.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if externalAccess.autoDiscovery.resources is set (externalAccess.autoDiscovery.resources is recommended for production).
1548 resourcesPreset: "nano"
1549 ## @param externalAccess.autoDiscovery.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1560 ## Kafka provisioning containers' Security Context
1561 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1562 ## @param externalAccess.autoDiscovery.containerSecurityContext.enabled Enable Kafka auto-discovery containers' Security Context
1563 ## @param externalAccess.autoDiscovery.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1564 ## @param externalAccess.autoDiscovery.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1565 ## @param externalAccess.autoDiscovery.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1566 ## @param externalAccess.autoDiscovery.containerSecurityContext.runAsNonRoot Set Kafka auto-discovery containers' Security Context runAsNonRoot
1567 ## @param externalAccess.autoDiscovery.containerSecurityContext.allowPrivilegeEscalation Set Kafka auto-discovery containers' Security Context allowPrivilegeEscalation
1568 ## @param externalAccess.autoDiscovery.containerSecurityContext.readOnlyRootFilesystem Set Kafka auto-discovery containers' Security Context readOnlyRootFilesystem
1569 ## @param externalAccess.autoDiscovery.containerSecurityContext.capabilities.drop Set Kafka auto-discovery containers' Security Context capabilities to be dropped
1570 ## @param externalAccess.autoDiscovery.containerSecurityContext.seccompProfile.type Set Kafka auto-discovery seccomp profile type
1572 ## containerSecurityContext:
1575 ## drop: ["NET_RAW"]
1576 ## readOnlyRootFilesystem: true
1578 containerSecurityContext:
1584 allowPrivilegeEscalation: false
1585 readOnlyRootFilesystem: true
1589 type: "RuntimeDefault"
1592 ## @param externalAccess.controller.forceExpose If set to true, force exposing controller-eligible nodes although they are configured as controller-only nodes
1595 ## Parameters to configure K8s service(s) used to externally access Kafka brokers
1596 ## Note: A new service per broker will be created
1599 ## @param externalAccess.controller.service.type Kubernetes Service type for external access. It can be NodePort, LoadBalancer or ClusterIP
1602 ## @param externalAccess.controller.service.ports.external Kafka port used for external access when service type is LoadBalancer
1606 ## @param externalAccess.controller.service.loadBalancerClass Kubernetes Service Load Balancer class for external access when service type is LoadBalancer
1607 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
1609 loadBalancerClass: ""
1610 ## @param externalAccess.controller.service.loadBalancerIPs Array of load balancer IPs for each Kafka broker. Length must be the same as replicaCount
1617 ## @param externalAccess.controller.service.loadBalancerNames Array of load balancer Names for each Kafka broker. Length must be the same as replicaCount
1619 ## loadBalancerNames:
1620 ## - broker1.external.example.com
1621 ## - broker2.external.example.com
1623 loadBalancerNames: []
1624 ## @param externalAccess.controller.service.loadBalancerAnnotations Array of load balancer annotations for each Kafka broker. Length must be the same as replicaCount
1626 ## loadBalancerAnnotations:
1627 ## - external-dns.alpha.kubernetes.io/hostname: broker1.external.example.com.
1628 ## - external-dns.alpha.kubernetes.io/hostname: broker2.external.example.com.
1630 loadBalancerAnnotations: []
1631 ## @param externalAccess.controller.service.loadBalancerSourceRanges Address(es) that are allowed when service is LoadBalancer
1632 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1634 ## loadBalancerSourceRanges:
1637 loadBalancerSourceRanges: []
1638 ## @param externalAccess.controller.service.allocateLoadBalancerNodePorts Whether to allocate node ports when service type is LoadBalancer
1639 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-nodeport-allocation
1641 allocateLoadBalancerNodePorts: true
1642 ## @param externalAccess.controller.service.nodePorts Array of node ports used for each Kafka broker. Length must be the same as replicaCount
1649 ## @param externalAccess.controller.service.externalIPs Use distinct service host IPs to configure Kafka external listener when service type is NodePort. Length must be the same as replicaCount
1656 ## @param externalAccess.controller.service.useHostIPs Use service host IPs to configure Kafka external listener when service type is NodePort
1659 ## @param externalAccess.controller.service.usePodIPs using the MY_POD_IP address for external access.
1662 ## @param externalAccess.controller.service.domain Domain or external ip used to configure Kafka external listener when service type is NodePort or ClusterIP
1663 ## NodePort: If not specified, the container will try to get the kubernetes node external IP
1664 ## ClusterIP: Must be specified, ingress IP or domain where tcp for external ports is configured
1667 ## @param externalAccess.controller.service.publishNotReadyAddresses Indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready
1668 ## ref: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/
1670 publishNotReadyAddresses: false
1671 ## @param externalAccess.controller.service.labels Service labels for external access
1674 ## @param externalAccess.controller.service.annotations Service annotations for external access
1677 ## @param externalAccess.controller.service.extraPorts Extra ports to expose in the Kafka external service
1680 ## @param externalAccess.controller.service.ipFamilies IP families for the external controller service
1683 ## @param externalAccess.controller.service.ipFamilyPolicy IP family policy for the external controller service
1687 ## Parameters to configure K8s service(s) used to externally access Kafka brokers
1688 ## Note: A new service per broker will be created
1691 ## @param externalAccess.broker.service.type Kubernetes Service type for external access. It can be NodePort, LoadBalancer or ClusterIP
1694 ## @param externalAccess.broker.service.ports.external Kafka port used for external access when service type is LoadBalancer
1698 ## @param externalAccess.broker.service.loadBalancerClass Kubernetes Service Load Balancer class for external access when service type is LoadBalancer
1699 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
1701 loadBalancerClass: ""
1702 ## @param externalAccess.broker.service.loadBalancerIPs Array of load balancer IPs for each Kafka broker. Length must be the same as replicaCount
1709 ## @param externalAccess.broker.service.loadBalancerNames Array of load balancer Names for each Kafka broker. Length must be the same as replicaCount
1711 ## loadBalancerNames:
1712 ## - broker1.external.example.com
1713 ## - broker2.external.example.com
1715 loadBalancerNames: []
1716 ## @param externalAccess.broker.service.loadBalancerAnnotations Array of load balancer annotations for each Kafka broker. Length must be the same as replicaCount
1718 ## loadBalancerAnnotations:
1719 ## - external-dns.alpha.kubernetes.io/hostname: broker1.external.example.com.
1720 ## - external-dns.alpha.kubernetes.io/hostname: broker2.external.example.com.
1722 loadBalancerAnnotations: []
1723 ## @param externalAccess.broker.service.loadBalancerSourceRanges Address(es) that are allowed when service is LoadBalancer
1724 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1726 ## loadBalancerSourceRanges:
1729 loadBalancerSourceRanges: []
1730 ## @param externalAccess.broker.service.allocateLoadBalancerNodePorts Whether to allocate node ports when service type is LoadBalancer
1731 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-nodeport-allocation
1733 allocateLoadBalancerNodePorts: true
1734 ## @param externalAccess.broker.service.nodePorts Array of node ports used for each Kafka broker. Length must be the same as replicaCount
1741 ## @param externalAccess.broker.service.externalIPs Use distinct service host IPs to configure Kafka external listener when service type is NodePort. Length must be the same as replicaCount
1748 ## @param externalAccess.broker.service.useHostIPs Use service host IPs to configure Kafka external listener when service type is NodePort
1751 ## @param externalAccess.broker.service.usePodIPs using the MY_POD_IP address for external access.
1754 ## @param externalAccess.broker.service.domain Domain or external ip used to configure Kafka external listener when service type is NodePort or ClusterIP
1755 ## NodePort: If not specified, the container will try to get the kubernetes node external IP
1756 ## ClusterIP: Must be specified, ingress IP or domain where tcp for external ports is configured
1759 ## @param externalAccess.broker.service.publishNotReadyAddresses Indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready
1760 ## ref: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/
1762 publishNotReadyAddresses: false
1763 ## @param externalAccess.broker.service.labels Service labels for external access
1766 ## @param externalAccess.broker.service.annotations Service annotations for external access
1769 ## @param externalAccess.broker.service.extraPorts Extra ports to expose in the Kafka external service
1772 ## @param externalAccess.broker.service.ipFamilies IP families for the external broker service
1775 ## @param externalAccess.broker.service.ipFamilyPolicy IP family policy for the external broker service
1779## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1782 ## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1785 ## @param networkPolicy.allowExternal Don't require client label for connections
1786 ## When set to false, only pods with the correct client label will have network access to the port Redis® is
1787 ## listening on. When true, zookeeper accept connections from any source (with the correct destination port).
1790 ## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1792 allowExternalEgress: true
1793 ## @param networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
1795 addExternalClientAccess: true
1796 ## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1806 ## - matchExpressions:
1812 ## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1822 ## - matchExpressions:
1829 ## @param networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
1831 ## ingressPodMatchLabels:
1832 ## my-client: "true"
1834 ingressPodMatchLabels: {}
1835 ## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
1836 ## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
1838 ingressNSMatchLabels: {}
1839 ingressNSPodMatchLabels: {}
1840## @section Volume Permissions parameters
1843## Init containers parameters:
1844## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
1847 ## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
1850 ## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
1851 ## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
1852 ## @skip volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
1853 ## @param volumePermissions.image.digest Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1854 ## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
1855 ## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
1858 registry: chainreg.biz
1859 repository: chainguard-private/os-shell-iamguarded
1861 digest: sha256:edd7746885ef1fcb2e237775055d7ab08f04c8b1e04fcf40b99aa00756402e14
1862 pullPolicy: IfNotPresent
1863 ## Optionally specify an array of imagePullSecrets.
1864 ## Secrets must be manually created in the namespace.
1865 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1868 ## - myRegistryKeySecretName
1871 ## Init container resource requests and limits
1872 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1873 ## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
1875 resourcesPreset: "nano"
1876 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1887 ## Init container' Security Context
1888 ## Note: the chown of the data folder is done to containerSecurityContext.runAsUser
1889 ## and not the below volumePermissions.containerSecurityContext.runAsUser
1890 ## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1891 ## @param volumePermissions.containerSecurityContext.runAsUser User ID for the init container
1893 containerSecurityContext:
1896## @section Other Parameters
1899## ServiceAccount for Kafka
1900## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1903 ## @param serviceAccount.create Enable creation of ServiceAccount for Kafka pods
1906 ## @param serviceAccount.name The name of the service account to use. If not set and `create` is `true`, a name is generated
1907 ## If not set and create is true, a name is generated using the kafka.serviceAccountName template
1910 ## @param serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
1911 ## Can be set to false if pods using this serviceAccount do not need to use K8s API
1913 automountServiceAccountToken: false
1914 ## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
1917## Role Based Access Control
1918## ref: https://kubernetes.io/docs/admin/authorization/rbac/
1921 ## @param rbac.create Whether to create & use RBAC resources or not
1922 ## binding Kafka ServiceAccount to a role
1923 ## that allows Kafka pods querying the K8s API
1926## @section Metrics parameters
1929## Prometheus Exporters / Metrics
1932 ## Prometheus JMX exporter: exposes the majority of Kafka metrics
1935 ## @param metrics.jmx.enabled Whether or not to expose JMX metrics to Prometheus
1938 ## @param metrics.jmx.kafkaJmxPort JMX port where the exporter will collect metrics, exposed in the Kafka container.
1941 ## Iamguarded JMX exporter image
1942 ## @param metrics.jmx.image.registry [default: REGISTRY_NAME] JMX exporter image registry
1943 ## @param metrics.jmx.image.repository [default: REPOSITORY_NAME/jmx-exporter] JMX exporter image repository
1944 ## @skip metrics.jmx.image.tag JMX exporter image tag (immutable tags are recommended)
1945 ## @param metrics.jmx.image.digest JMX exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1946 ## @param metrics.jmx.image.pullPolicy JMX exporter image pull policy
1947 ## @param metrics.jmx.image.pullSecrets Specify docker-registry secret names as an array
1950 registry: chainreg.biz
1951 repository: chainguard-private/jmx-exporter-iamguarded
1953 digest: sha256:d9a753b6b330d73d0b132ff0d513a42c4b35b7f7e693fb353e6f960abf3bf085
1954 ## Specify a imagePullPolicy
1955 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
1957 pullPolicy: IfNotPresent
1958 ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
1959 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1962 ## - myRegistryKeySecretName
1965 ## Prometheus JMX exporter containers' Security Context
1966 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1967 ## @param metrics.jmx.containerSecurityContext.enabled Enable Prometheus JMX exporter containers' Security Context
1968 ## @param metrics.jmx.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1969 ## @param metrics.jmx.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1970 ## @param metrics.jmx.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1971 ## @param metrics.jmx.containerSecurityContext.runAsNonRoot Set Prometheus JMX exporter containers' Security Context runAsNonRoot
1972 ## @param metrics.jmx.containerSecurityContext.allowPrivilegeEscalation Set Prometheus JMX exporter containers' Security Context allowPrivilegeEscalation
1973 ## @param metrics.jmx.containerSecurityContext.readOnlyRootFilesystem Set Prometheus JMX exporter containers' Security Context readOnlyRootFilesystem
1974 ## @param metrics.jmx.containerSecurityContext.capabilities.drop Set Prometheus JMX exporter containers' Security Context capabilities to be dropped
1976 ## containerSecurityContext:
1979 ## drop: ["NET_RAW"]
1980 ## readOnlyRootFilesystem: true
1982 containerSecurityContext:
1988 allowPrivilegeEscalation: false
1989 readOnlyRootFilesystem: true
1992 ## @param metrics.jmx.containerPorts.metrics Prometheus JMX exporter metrics container port
1996 ## Prometheus JMX exporter resource requests and limits
1997 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1998 ## @param metrics.jmx.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.jmx.resources is set (metrics.jmx.resources is recommended for production).
2000 resourcesPreset: "micro"
2001 ## @param metrics.jmx.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2012 ## Configure extra options for liveness probe
2013 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2014 ## @param metrics.jmx.livenessProbe.enabled Enable livenessProbe
2015 ## @param metrics.jmx.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2016 ## @param metrics.jmx.livenessProbe.periodSeconds Period seconds for livenessProbe
2017 ## @param metrics.jmx.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2018 ## @param metrics.jmx.livenessProbe.failureThreshold Failure threshold for livenessProbe
2019 ## @param metrics.jmx.livenessProbe.successThreshold Success threshold for livenessProbe
2023 initialDelaySeconds: 60
2028 ## Configure extra options for readiness probe
2029 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2030 ## @param metrics.jmx.readinessProbe.enabled Enable readinessProbe
2031 ## @param metrics.jmx.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2032 ## @param metrics.jmx.readinessProbe.periodSeconds Period seconds for readinessProbe
2033 ## @param metrics.jmx.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2034 ## @param metrics.jmx.readinessProbe.failureThreshold Failure threshold for readinessProbe
2035 ## @param metrics.jmx.readinessProbe.successThreshold Success threshold for readinessProbe
2039 initialDelaySeconds: 30
2044 ## Prometheus JMX exporter service configuration
2047 ## @param metrics.jmx.service.ports.metrics Prometheus JMX exporter metrics service port
2051 ## @param metrics.jmx.service.clusterIP Static clusterIP or None for headless services
2052 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
2055 ## @param metrics.jmx.service.sessionAffinity Control where client requests go, to the same pod or round-robin
2056 ## Values: ClientIP or None
2057 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2059 sessionAffinity: None
2060 ## @param metrics.jmx.service.annotations [object] Annotations for the Prometheus JMX exporter service
2063 prometheus.io/scrape: "true"
2064 prometheus.io/port: "{{ .Values.metrics.jmx.service.ports.metrics }}"
2065 prometheus.io/path: "/metrics"
2066 ## @param metrics.jmx.service.ipFamilies IP families for the jmx metrics service
2069 ## @param metrics.jmx.service.ipFamilyPolicy IP family policy for the jmx metrics service
2072 ## @param metrics.jmx.whitelistObjectNames Allows setting which JMX objects you want to expose to via JMX stats to JMX exporter
2073 ## Only whitelisted values will be exposed via JMX exporter. They must also be exposed via Rules. To expose all metrics
2074 ## (warning its crazy excessive and they aren't formatted in a prometheus style) (1) `whitelistObjectNames: []`
2075 ## (2) commented out above `overrideConfig`.
2077 whitelistObjectNames:
2078 - kafka.controller:*
2083 ## @param metrics.jmx.config [string] Configuration file for JMX exporter
2084 ## Specify content for jmx-kafka-prometheus.yml. Evaluated as a template
2086 ## Credits to the incubator/kafka chart for the JMX configuration.
2087 ## https://github.com/helm/charts/tree/master/incubator/kafka
2090 jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:{{ .Values.metrics.jmx.kafkaJmxPort }}/jmxrmi
2091 lowercaseOutputName: true
2092 lowercaseOutputLabelNames: true
2094 {{- if .Values.metrics.jmx.whitelistObjectNames }}
2095 whitelistObjectNames: ["{{ join "\",\"" .Values.metrics.jmx.whitelistObjectNames }}"]
2097 ## @param metrics.jmx.existingConfigmap Name of existing ConfigMap with JMX exporter configuration
2098 ## NOTE: This will override metrics.jmx.config
2100 existingConfigmap: ""
2101 ## @param metrics.jmx.extraRules Add extra rules to JMX exporter configuration
2104 ## - pattern: kafka.server<type=socket-server-metrics, listener=(.+), networkProcessor=(.+)><>(connection-count)
2105 ## name: kafka_server_socket_server_metrics_$3
2110 ## Prometheus Operator ServiceMonitor configuration
2113 ## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (requires `metrics.jmx.enabled` to be `true`)
2116 ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
2119 ## @param metrics.serviceMonitor.path Path where JMX exporter serves metrics
2122 ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
2123 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2126 ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2127 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2130 ## @param metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
2133 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
2136 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2139 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2141 metricRelabelings: []
2142 ## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
2145 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2149 ## @param metrics.prometheusRule.enabled if `true`, creates a Prometheus Operator PrometheusRule (requires `metrics.jmx.enabled` to be `true`)
2152 ## @param metrics.prometheusRule.namespace Namespace in which Prometheus is running
2155 ## @param metrics.prometheusRule.labels Additional labels that can be used so PrometheusRule will be discovered by Prometheus
2158 ## @param metrics.prometheusRule.groups Prometheus Rule Groups for Kafka
2161## @section Kafka provisioning parameters
2164## Kafka provisioning
2167 ## @param provisioning.enabled Enable kafka provisioning Job
2170 ## @param provisioning.automountServiceAccountToken Mount Service Account token in pod
2172 automountServiceAccountToken: false
2173 ## @param provisioning.numPartitions Default number of partitions for topics when unspecified
2176 ## @param provisioning.replicationFactor Default replication factor for topics when unspecified
2178 replicationFactor: 1
2179 ## @param provisioning.topics Kafka topics to provision
2180 ## - name: topic-name
2182 ## replicationFactor: 1
2183 ## ## https://kafka.apache.org/documentation/#topicconfigs
2185 ## max.message.bytes: 64000
2186 ## flush.messages: 1
2189 ## @param provisioning.nodeSelector Node labels for pod assignment
2190 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2193 ## @param provisioning.tolerations Tolerations for pod assignment
2194 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2197 ## @param provisioning.extraProvisioningCommands Extra commands to run to provision cluster resources
2198 ## - echo "Allow user to consume from any topic"
2200 ## /opt/iamguarded/kafka/bin/kafka-acls.sh
2201 ## --bootstrap-server $KAFKA_SERVICE
2202 ## --command-config $CLIENT_CONF
2204 ## --allow-principal User:user
2205 ## --consumer --topic *
2206 ## - "/opt/iamguarded/kafka/bin/kafka-acls.sh
2207 ## --bootstrap-server $KAFKA_SERVICE
2208 ## --command-config $CLIENT_CONF
2211 extraProvisioningCommands: []
2212 ## @param provisioning.parallel Number of provisioning commands to run at the same time
2215 ## @param provisioning.preScript Extra bash script to run before topic provisioning. $CLIENT_CONF is path to properties file with most needed configurations
2218 ## @param provisioning.postScript Extra bash script to run after topic provisioning. $CLIENT_CONF is path to properties file with most needed configurations
2221 ## Auth Configuration for kafka provisioning Job
2224 ## TLS configuration for kafka provisioning Job
2227 ## @param provisioning.auth.tls.type Format to use for TLS certificates. Allowed types: `JKS` and `PEM`.
2228 ## Note: ignored if auth.tls.client.protocol different from one of these values: "SSL" "SASL_SSL"
2231 ## @param provisioning.auth.tls.certificatesSecret Existing secret containing the TLS certificates for the Kafka provisioning Job.
2232 ## When using 'jks' format for certificates, the secret should contain a truststore and a keystore.
2233 ## When using 'pem' format for certificates, the secret should contain one of the following:
2234 ## 1. A public CA certificate, a public certificate and one private key.
2235 ## 2. A truststore and a keystore in PEM format
2236 ## If caCert is set, option 1 will be taken, otherwise option 2.
2238 certificatesSecret: ""
2239 ## @param provisioning.auth.tls.cert The secret key from the certificatesSecret if 'cert' key different from the default (tls.crt)
2242 ## @param provisioning.auth.tls.key The secret key from the certificatesSecret if 'key' key different from the default (tls.key)
2245 ## @param provisioning.auth.tls.caCert The secret key from the certificatesSecret if 'caCert' key different from the default (ca.crt)
2248 ## @param provisioning.auth.tls.keystore The secret key from the certificatesSecret if 'keystore' key different from the default (keystore.jks)
2250 keystore: keystore.jks
2251 ## @param provisioning.auth.tls.truststore The secret key from the certificatesSecret if 'truststore' key different from the default (truststore.jks)
2253 truststore: truststore.jks
2254 ## @param provisioning.auth.tls.passwordsSecret Name of the secret containing passwords to access the JKS files or PEM key when they are password-protected.
2255 ## It should contain two keys called "keystore-password" and "truststore-password", or "key-password" if using a password-protected PEM key.
2258 ## @param provisioning.auth.tls.keyPasswordSecretKey The secret key from the passwordsSecret if 'keyPasswordSecretKey' key different from the default (key-password)
2259 ## Note: must not be used if `passwordsSecret` is not defined.
2261 keyPasswordSecretKey: key-password
2262 ## @param provisioning.auth.tls.keystorePasswordSecretKey The secret key from the passwordsSecret if 'keystorePasswordSecretKey' key different from the default (keystore-password)
2263 ## Note: must not be used if `passwordsSecret` is not defined.
2265 keystorePasswordSecretKey: keystore-password
2266 ## @param provisioning.auth.tls.truststorePasswordSecretKey The secret key from the passwordsSecret if 'truststorePasswordSecretKey' key different from the default (truststore-password)
2267 ## Note: must not be used if `passwordsSecret` is not defined.
2269 truststorePasswordSecretKey: truststore-password
2270 ## @param provisioning.auth.tls.keyPassword Password to access the password-protected PEM key if necessary. Ignored if 'passwordsSecret' is provided.
2273 ## @param provisioning.auth.tls.keystorePassword Password to access the JKS keystore. Ignored if 'passwordsSecret' is provided.
2275 keystorePassword: ""
2276 ## @param provisioning.auth.tls.truststorePassword Password to access the JKS truststore. Ignored if 'passwordsSecret' is provided.
2278 truststorePassword: ""
2279 ## @param provisioning.command Override provisioning container command
2282 ## @param provisioning.args Override provisioning container arguments
2285 ## @param provisioning.extraEnvVars Extra environment variables to add to the provisioning pod
2288 ## - name: KAFKA_CFG_BACKGROUND_THREADS
2292 ## @param provisioning.extraEnvVarsCM ConfigMap with extra environment variables
2295 ## @param provisioning.extraEnvVarsSecret Secret with extra environment variables
2297 extraEnvVarsSecret: ""
2298 ## @param provisioning.podAnnotations Extra annotations for Kafka provisioning pods
2301 ## @param provisioning.podLabels Extra labels for Kafka provisioning pods
2302 ## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2305 ## Kafka provisioning pods ServiceAccount
2306 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
2309 ## @param provisioning.serviceAccount.create Enable creation of ServiceAccount for Kafka provisioning pods
2312 ## @param provisioning.serviceAccount.name The name of the service account to use. If not set and `create` is `true`, a name is generated
2313 ## If not set and create is true, a name is generated using the provisioning.serviceAccount.name template
2316 ## @param provisioning.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
2317 ## Can be set to false if pods using this serviceAccount do not need to use K8s API
2319 automountServiceAccountToken: false
2320 ## Kafka provisioning resource requests and limits
2321 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2322 ## @param provisioning.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if provisioning.resources is set (provisioning.resources is recommended for production).
2324 resourcesPreset: "micro"
2325 ## @param provisioning.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2336 ## Kafka provisioning pods' Security Context
2337 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2338 ## @param provisioning.podSecurityContext.enabled Enable security context for the pods
2339 ## @param provisioning.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2340 ## @param provisioning.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2341 ## @param provisioning.podSecurityContext.supplementalGroups Set filesystem extra groups
2342 ## @param provisioning.podSecurityContext.fsGroup Set Kafka provisioning pod's Security Context fsGroup
2343 ## @param provisioning.podSecurityContext.seccompProfile.type Set Kafka provisioning pod's Security Context seccomp profile
2347 fsGroupChangePolicy: Always
2349 supplementalGroups: []
2352 type: "RuntimeDefault"
2353 ## Kafka provisioning containers' Security Context
2354 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2355 ## @param provisioning.containerSecurityContext.enabled Enable Kafka provisioning containers' Security Context
2356 ## @param provisioning.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2357 ## @param provisioning.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2358 ## @param provisioning.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2359 ## @param provisioning.containerSecurityContext.runAsNonRoot Set Kafka provisioning containers' Security Context runAsNonRoot
2360 ## @param provisioning.containerSecurityContext.allowPrivilegeEscalation Set Kafka provisioning containers' Security Context allowPrivilegeEscalation
2361 ## @param provisioning.containerSecurityContext.readOnlyRootFilesystem Set Kafka provisioning containers' Security Context readOnlyRootFilesystem
2362 ## @param provisioning.containerSecurityContext.capabilities.drop Set Kafka provisioning containers' Security Context capabilities to be dropped
2364 ## containerSecurityContext:
2367 ## drop: ["NET_RAW"]
2368 ## readOnlyRootFilesystem: true
2370 containerSecurityContext:
2376 allowPrivilegeEscalation: false
2377 readOnlyRootFilesystem: true
2380 ## @param provisioning.schedulerName Name of the k8s scheduler (other than default) for kafka provisioning
2381 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2384 ## @param provisioning.enableServiceLinks Whether information about services should be injected into pod's environment variable
2385 ## The environment variables injected by service links are not used, but can lead to slow kafka boot times or slow running of the scripts when there are many services in the current namespace.
2386 ## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
2388 enableServiceLinks: true
2389 ## @param provisioning.extraVolumes Optionally specify extra list of additional volumes for the Kafka provisioning pod(s)
2392 ## - name: kafka-jaas
2394 ## secretName: kafka-jaas
2397 ## @param provisioning.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Kafka provisioning container(s)
2398 ## extraVolumeMounts:
2399 ## - name: kafka-jaas
2400 ## mountPath: /iamguarded/kafka/config/kafka_jaas.conf
2401 ## subPath: kafka_jaas.conf
2403 extraVolumeMounts: []
2404 ## @param provisioning.sidecars Add additional sidecar containers to the Kafka provisioning pod(s)
2407 ## - name: your-image-name
2408 ## image: your-image
2409 ## imagePullPolicy: Always
2412 ## containerPort: 1234
2415 ## @param provisioning.initContainers Add additional Add init containers to the Kafka provisioning pod(s)
2418 ## - name: your-image-name
2419 ## image: your-image
2420 ## imagePullPolicy: Always
2423 ## containerPort: 1234
2426 ## @param provisioning.waitForKafka If true use an init container to wait until kafka is ready before starting provisioning
2429 ## @param provisioning.useHelmHooks Flag to indicate usage of helm hooks
2431## @section KRaft chart parameters
2433## KRaft configuration
2434## Kafka mode without Zookeeper. Kafka nodes can work as controllers in this mode.
2437 ## @param kraft.enabled Switch to enable or disable the KRaft mode for Kafka
2440 ## @param kraft.existingClusterIdSecret Name of the secret containing the cluster ID for the Kafka KRaft cluster. This is incompatible with the clusterId parameter. If both are set, the existingClusterIdSecret will be used
2441 existingClusterIdSecret: ""
2442 ## @param kraft.clusterId Kafka Kraft cluster ID. If not set, a random cluster ID will be generated the first time Kraft is initialized.
2443 ## NOTE: Already initialized Kafka nodes will use cluster ID stored in their persisted storage.
2444 ## If reusing existing PVCs or migrating from Zookeeper mode, make sure the cluster ID is set matching the stored cluster ID, otherwise new nodes will fail to join the cluster.
2445 ## In case the cluster ID stored in the secret does not match the value stored in /iamguarded/kafka/data/meta.properties, remove the secret and upgrade the chart setting the correct value.
2448 ## @param kraft.controllerQuorumVoters Override the Kafka controller quorum voters of the Kafka Kraft cluster. If not set, it will be automatically configured to use all controller-elegible nodes.
2450 controllerQuorumVoters: ""
2451## @section ZooKeeper chart parameters
2453## @param zookeeperChrootPath Path which puts data under some path in the global ZooKeeper namespace
2454## ref: https://kafka.apache.org/documentation/#brokerconfigs_zookeeper.connect
2456zookeeperChrootPath: ""
2457## ZooKeeper chart configuration
2460 ## @param zookeeper.enabled Switch to enable or disable the ZooKeeper helm chart. Must be false if you use KRaft mode.
2463 ## @param zookeeper.replicaCount Number of ZooKeeper nodes
2466 ## ZooKeeper authentication
2470 ## @param zookeeper.auth.client.enabled Enable ZooKeeper auth
2473 ## @param zookeeper.auth.client.clientUser User that will use ZooKeeper client (zkCli.sh) to authenticate. Must exist in the serverUsers comma-separated list.
2476 ## @param zookeeper.auth.client.clientPassword Password that will use ZooKeeper client (zkCli.sh) to authenticate. Must exist in the serverPasswords comma-separated list.
2479 ## @param zookeeper.auth.client.serverUsers Comma, semicolon or whitespace separated list of user to be created. Specify them as a string, for example: "user1,user2,admin"
2482 ## @param zookeeper.auth.client.serverPasswords Comma, semicolon or whitespace separated list of passwords to assign to users when created. Specify them as a string, for example: "pass4user1, pass4user2, pass4admin"
2485 ## ZooKeeper Persistence parameters
2486 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
2487 ## @param zookeeper.persistence.enabled Enable persistence on ZooKeeper using PVC(s)
2488 ## @param zookeeper.persistence.storageClass Persistent Volume storage class
2489 ## @param zookeeper.persistence.accessModes Persistent Volume access modes
2490 ## @param zookeeper.persistence.size Persistent Volume size
2498## External Zookeeper Configuration
2501 ## @param externalZookeeper.servers List of external zookeeper servers to use. Typically used in combination with 'zookeeperChrootPath'. Must be empty if you use KRaft mode.