DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
zookeeper logoHELM

zookeeper

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
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
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
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
14
##
15
16
## @param global.imageRegistry Global Docker image registry
17
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
21
##
22
global:
23
imageRegistry: ""
24
useImageTags: false
25
## E.g.
26
## imagePullSecrets:
27
## - myRegistryKeySecretName
28
##
29
imagePullSecrets: []
30
defaultStorageClass: ""
31
storageClass: ""
32
## Security parameters
33
##
34
security:
35
## @param global.security.allowInsecureImages Allows skipping image verification
36
allowInsecureImages: false
37
## Compatibility adaptations for Kubernetes platforms
38
##
39
compatibility:
40
## Compatibility adaptations for Openshift
41
##
42
openshift:
43
## @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)
44
##
45
adaptSecurityContext: auto
46
org: ""
47
## @section Common parameters
48
##
49
50
## @param kubeVersion Override Kubernetes version
51
##
52
kubeVersion: ""
53
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
54
##
55
nameOverride: ""
56
## @param fullnameOverride String to fully override common.names.fullname template
57
##
58
fullnameOverride: ""
59
## @param clusterDomain Kubernetes Cluster Domain
60
##
61
clusterDomain: cluster.local
62
## @param extraDeploy Extra objects to deploy (evaluated as a template)
63
##
64
extraDeploy: []
65
## @param commonLabels Add labels to all the deployed resources
66
##
67
commonLabels: {}
68
## @param commonAnnotations Add annotations to all the deployed resources
69
##
70
commonAnnotations: {}
71
## @param namespaceOverride Override namespace for ZooKeeper resources
72
## Useful when including ZooKeeper as a chart dependency, so it can be released into a different namespace than the parent
73
##
74
namespaceOverride: ""
75
## @param usePasswordFiles Mount credentials as files instead of using environment variables
76
##
77
usePasswordFiles: true
78
## Enable diagnostic mode in the statefulset
79
##
80
diagnosticMode:
81
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
82
##
83
enabled: false
84
## @param diagnosticMode.command Command to override all containers in the statefulset
85
##
86
command:
87
- sleep
88
## @param diagnosticMode.args Args to override all containers in the statefulset
89
##
90
args:
91
- infinity
92
## @section ZooKeeper chart parameters
93
94
## Iamguarded ZooKeeper image version
95
## ref: https://hub.docker.com/r/iamguarded/zookeeper/tags/
96
## @param image.registry [default: REGISTRY_NAME] ZooKeeper image registry
97
## @param image.repository [default: REPOSITORY_NAME/zookeeper] ZooKeeper image repository
98
## @skip image.tag ZooKeeper image tag (immutable tags are recommended)
99
## @param image.digest ZooKeeper image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
100
## @param image.pullPolicy ZooKeeper image pull policy
101
## @param image.pullSecrets Specify docker-registry secret names as an array
102
## @param image.debug Specify if debug values should be set
103
##
104
image:
105
registry: cgr.dev
106
repository: chainguard-private/zookeeper-iamguarded
107
tag: 3.10.0
108
digest: sha256:10e18fa12e9e9bf6f02e0452388a573e2561378ac2bd5d63acfb0ac6f0874d0e
109
## Specify a imagePullPolicy
110
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
111
##
112
pullPolicy: IfNotPresent
113
## Optionally specify an array of imagePullSecrets.
114
## Secrets must be manually created in the namespace.
115
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
116
## Example:
117
## pullSecrets:
118
## - myRegistryKeySecretName
119
##
120
pullSecrets: []
121
## Set to true if you would like to see extra information on logs
122
##
123
debug: false
124
## Authentication parameters
125
##
126
auth:
127
client:
128
## @param auth.client.enabled Enable ZooKeeper client-server authentication. It uses SASL/Digest-MD5
129
##
130
enabled: false
131
## @param auth.client.clientUser User that will use ZooKeeper clients to auth
132
##
133
clientUser: ""
134
## @param auth.client.clientPassword Password that will use ZooKeeper clients to auth
135
##
136
clientPassword: ""
137
## @param auth.client.serverUsers Comma, semicolon or whitespace separated list of user to be created
138
## Specify them as a string, for example: "user1,user2,admin"
139
##
140
serverUsers: ""
141
## @param auth.client.serverPasswords Comma, semicolon or whitespace separated list of passwords to assign to users when created
142
## Specify them as a string, for example: "pass4user1, pass4user2, pass4admin"
143
##
144
serverPasswords: ""
145
## @param auth.client.existingSecret Use existing secret (ignores previous passwords)
146
##
147
existingSecret: ""
148
quorum:
149
## @param auth.quorum.enabled Enable ZooKeeper server-server authentication. It uses SASL/Digest-MD5
150
##
151
enabled: false
152
## @param auth.quorum.learnerUser User that the ZooKeeper quorumLearner will use to authenticate to quorumServers.
153
## Note: Make sure the user is included in auth.quorum.serverUsers
154
##
155
learnerUser: ""
156
## @param auth.quorum.learnerPassword Password that the ZooKeeper quorumLearner will use to authenticate to quorumServers.
157
##
158
learnerPassword: ""
159
## @param auth.quorum.serverUsers Comma, semicolon or whitespace separated list of users for the quorumServers.
160
## Specify them as a string, for example: "user1,user2,admin"
161
##
162
serverUsers: ""
163
## @param auth.quorum.serverPasswords Comma, semicolon or whitespace separated list of passwords to assign to users when created
164
## Specify them as a string, for example: "pass4user1, pass4user2, pass4admin"
165
##
166
serverPasswords: ""
167
## @param auth.quorum.existingSecret Use existing secret (ignores previous passwords)
168
##
169
existingSecret: ""
170
## @param tickTime Basic time unit (in milliseconds) used by ZooKeeper for heartbeats
171
##
172
tickTime: 2000
173
## @param initLimit ZooKeeper uses to limit the length of time the ZooKeeper servers in quorum have to connect to a leader
174
##
175
initLimit: 10
176
## @param syncLimit How far out of date a server can be from a leader
177
##
178
syncLimit: 5
179
## @param preAllocSize Block size for transaction log file
180
##
181
preAllocSize: 65536
182
## @param snapCount The number of transactions recorded in the transaction log before a snapshot can be taken (and the transaction log rolled)
183
##
184
snapCount: 100000
185
## @param maxClientCnxns Limits the number of concurrent connections that a single client may make to a single member of the ZooKeeper ensemble
186
##
187
maxClientCnxns: 60
188
## @param maxSessionTimeout Maximum session timeout (in milliseconds) that the server will allow the client to negotiate
189
## Defaults to 20 times the tickTime
190
##
191
maxSessionTimeout: 40000
192
## @param heapSize Size (in MB) for the Java Heap options (Xmx and Xms)
193
## This env var is ignored if Xmx an Xms are configured via `jvmFlags`
194
##
195
heapSize: 1024
196
## @param fourlwCommandsWhitelist A list of comma separated Four Letter Words commands that can be executed
197
##
198
fourlwCommandsWhitelist: srvr, mntr, ruok
199
## @param minServerId Minimal SERVER_ID value, nodes increment their IDs respectively
200
## Servers increment their ID starting at this minimal value.
201
## E.g., with `minServerId=10` and 3 replicas, server IDs will be 10, 11, 12 for z-0, z-1 and z-2 respectively.
202
##
203
minServerId: 1
204
## @param listenOnAllIPs Allow ZooKeeper to listen for connections from its peers on all available IP addresses
205
##
206
listenOnAllIPs: false
207
## @param zooServers ZooKeeper space separated servers list. Leave empty to use the default ZooKeeper server names.
208
##
209
zooServers: ""
210
## Ongoing data directory cleanup configuration
211
##
212
autopurge:
213
## @param autopurge.snapRetainCount The most recent snapshots amount (and corresponding transaction logs) to retain
214
##
215
snapRetainCount: 10
216
## @param autopurge.purgeInterval The time interval (in hours) for which the purge task has to be triggered
217
## Set to a positive integer to enable the auto purging. Set to 0 to disable auto purging.
218
##
219
purgeInterval: 1
220
## @param logLevel Log level for the ZooKeeper server. ERROR by default
221
## Have in mind if you set it to INFO or WARN the ReadinessProve will produce a lot of logs
222
##
223
logLevel: ERROR
224
## @param jvmFlags Default JVM flags for the ZooKeeper process
225
##
226
jvmFlags: ""
227
## @param dataLogDir Dedicated data log directory
228
## This allows a dedicated log device to be used, and helps avoid competition between logging and snapshots.
229
## E.g.
230
## dataLogDir: /iamguarded/zookeeper/dataLog
231
##
232
dataLogDir: ""
233
## @param configuration Configure ZooKeeper with a custom zoo.cfg file
234
## e.g:
235
## configuration: |-
236
## deploy-working-dir=/iamguarded/zookeeper/data
237
## log-level=info
238
## ...
239
##
240
configuration: ""
241
## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for ZooKeeper
242
## NOTE: When it's set the `configuration` parameter is ignored
243
##
244
existingConfigmap: ""
245
## @param extraEnvVars Array with extra environment variables to add to ZooKeeper nodes
246
## e.g:
247
## extraEnvVars:
248
## - name: FOO
249
## value: "bar"
250
##
251
extraEnvVars: []
252
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars for ZooKeeper nodes
253
##
254
extraEnvVarsCM: ""
255
## @param extraEnvVarsSecret Name of existing Secret containing extra env vars for ZooKeeper nodes
256
##
257
extraEnvVarsSecret: ""
258
## @param command Override default container command (useful when using custom images)
259
##
260
command:
261
- /scripts/setup.sh
262
## @param args Override default container args (useful when using custom images)
263
##
264
args: []
265
## @section Statefulset parameters
266
267
## @param replicaCount Number of ZooKeeper nodes
268
##
269
replicaCount: 1
270
## @param revisionHistoryLimit The number of old history to retain to allow rollback
271
##
272
revisionHistoryLimit: 10
273
## @param containerPorts.client ZooKeeper client container port
274
## @param containerPorts.tls ZooKeeper TLS container port
275
## @param containerPorts.follower ZooKeeper follower container port
276
## @param containerPorts.election ZooKeeper election container port
277
## @param containerPorts.adminServer ZooKeeper admin server container port
278
## @param containerPorts.metrics ZooKeeper Prometheus Exporter container port
279
##
280
containerPorts:
281
client: 2181
282
tls: 3181
283
follower: 2888
284
election: 3888
285
adminServer: 8080
286
metrics: 9141
287
## Configure extra options for ZooKeeper containers' liveness, readiness and startup probes
288
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
289
## @param livenessProbe.enabled Enable livenessProbe on ZooKeeper containers
290
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
291
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
292
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
293
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
294
## @param livenessProbe.successThreshold Success threshold for livenessProbe
295
## @param livenessProbe.probeCommandTimeout Probe command timeout for livenessProbe
296
##
297
livenessProbe:
298
enabled: true
299
initialDelaySeconds: 30
300
periodSeconds: 10
301
timeoutSeconds: 5
302
failureThreshold: 6
303
successThreshold: 1
304
probeCommandTimeout: 3
305
## @param readinessProbe.enabled Enable readinessProbe on ZooKeeper containers
306
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
307
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
308
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
309
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
310
## @param readinessProbe.successThreshold Success threshold for readinessProbe
311
## @param readinessProbe.probeCommandTimeout Probe command timeout for readinessProbe
312
##
313
readinessProbe:
314
enabled: true
315
initialDelaySeconds: 5
316
periodSeconds: 10
317
timeoutSeconds: 5
318
failureThreshold: 6
319
successThreshold: 1
320
probeCommandTimeout: 2
321
## @param startupProbe.enabled Enable startupProbe on ZooKeeper containers
322
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
323
## @param startupProbe.periodSeconds Period seconds for startupProbe
324
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
325
## @param startupProbe.failureThreshold Failure threshold for startupProbe
326
## @param startupProbe.successThreshold Success threshold for startupProbe
327
##
328
startupProbe:
329
enabled: false
330
initialDelaySeconds: 30
331
periodSeconds: 10
332
timeoutSeconds: 1
333
failureThreshold: 15
334
successThreshold: 1
335
## @param customLivenessProbe Custom livenessProbe that overrides the default one
336
##
337
customLivenessProbe: {}
338
## @param customReadinessProbe Custom readinessProbe that overrides the default one
339
##
340
customReadinessProbe: {}
341
## @param customStartupProbe Custom startupProbe that overrides the default one
342
##
343
customStartupProbe: {}
344
## @param lifecycleHooks for the ZooKeeper container(s) to automate configuration before or after startup
345
##
346
lifecycleHooks: {}
347
## ZooKeeper resource requests and limits
348
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
349
## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
350
## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
351
##
352
resourcesPreset: "micro"
353
## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
354
## Example:
355
## resources:
356
## requests:
357
## cpu: 2
358
## memory: 512Mi
359
## limits:
360
## cpu: 3
361
## memory: 1024Mi
362
##
363
resources: {}
364
## Configure Pods Security Context
365
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
366
## @param podSecurityContext.enabled Enabled ZooKeeper pods' Security Context
367
## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
368
## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
369
## @param podSecurityContext.supplementalGroups Set filesystem extra groups
370
## @param podSecurityContext.fsGroup Set ZooKeeper pod's Security Context fsGroup
371
##
372
podSecurityContext:
373
enabled: true
374
fsGroupChangePolicy: Always
375
sysctls: []
376
supplementalGroups: []
377
fsGroup: 1001
378
## Configure Container Security Context
379
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
380
## @param containerSecurityContext.enabled Enabled containers' Security Context
381
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
382
## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
383
## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
384
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
385
## @param containerSecurityContext.privileged Set container's Security Context privileged
386
## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
387
## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
388
## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
389
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
390
##
391
containerSecurityContext:
392
enabled: true
393
seLinuxOptions: {}
394
runAsUser: 1001
395
runAsGroup: 1001
396
runAsNonRoot: true
397
privileged: false
398
readOnlyRootFilesystem: true
399
allowPrivilegeEscalation: false
400
capabilities:
401
drop: ["ALL"]
402
seccompProfile:
403
type: "RuntimeDefault"
404
## @param automountServiceAccountToken Mount Service Account token in pod
405
##
406
automountServiceAccountToken: false
407
## @param hostAliases ZooKeeper pods host aliases
408
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
409
##
410
hostAliases: []
411
## @param podLabels Extra labels for ZooKeeper pods
412
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
413
##
414
podLabels: {}
415
## @param podAnnotations Annotations for ZooKeeper pods
416
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
417
##
418
podAnnotations: {}
419
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
420
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
421
##
422
podAffinityPreset: ""
423
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
424
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
425
##
426
podAntiAffinityPreset: soft
427
## Node affinity preset
428
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
429
##
430
nodeAffinityPreset:
431
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
432
##
433
type: ""
434
## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
435
## E.g.
436
## key: "kubernetes.io/e2e-az-name"
437
##
438
key: ""
439
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
440
## E.g.
441
## values:
442
## - e2e-az1
443
## - e2e-az2
444
##
445
values: []
446
## @param affinity Affinity for pod assignment
447
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
448
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
449
##
450
affinity: {}
451
## @param nodeSelector Node labels for pod assignment
452
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
453
##
454
nodeSelector: {}
455
## @param tolerations Tolerations for pod assignment
456
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
457
##
458
tolerations: []
459
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
460
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
461
##
462
topologySpreadConstraints: []
463
## @param 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`
464
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
465
##
466
podManagementPolicy: Parallel
467
## @param priorityClassName Name of the existing priority class to be used by ZooKeeper pods, priority class needs to be created beforehand
468
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
469
##
470
priorityClassName: ""
471
## @param schedulerName Kubernetes pod scheduler registry
472
## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
473
##
474
schedulerName: ""
475
## @param updateStrategy.type ZooKeeper statefulset strategy type
476
## @param updateStrategy.rollingUpdate ZooKeeper statefulset rolling update configuration parameters
477
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
478
##
479
updateStrategy:
480
type: RollingUpdate
481
rollingUpdate: {}
482
## @param extraVolumes Optionally specify extra list of additional volumes for the ZooKeeper pod(s)
483
## Example Use Case: mount certificates to enable TLS
484
## e.g:
485
## extraVolumes:
486
## - name: zookeeper-keystore
487
## secret:
488
## defaultMode: 288
489
## secretName: zookeeper-keystore
490
## - name: zookeeper-truststore
491
## secret:
492
## defaultMode: 288
493
## secretName: zookeeper-truststore
494
##
495
extraVolumes: []
496
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the ZooKeeper container(s)
497
## Example Use Case: mount certificates to enable TLS
498
## e.g:
499
## extraVolumeMounts:
500
## - name: zookeeper-keystore
501
## mountPath: /certs/keystore
502
## readOnly: true
503
## - name: zookeeper-truststore
504
## mountPath: /certs/truststore
505
## readOnly: true
506
##
507
extraVolumeMounts: []
508
## @param sidecars Add additional sidecar containers to the ZooKeeper pod(s)
509
## e.g:
510
## sidecars:
511
## - name: your-image-name
512
## image: your-image
513
## imagePullPolicy: Always
514
## ports:
515
## - name: portname
516
## containerPort: 1234
517
##
518
sidecars: []
519
## @param initContainers Add additional init containers to the ZooKeeper pod(s)
520
## Example:
521
## initContainers:
522
## - name: your-image-name
523
## image: your-image
524
## imagePullPolicy: Always
525
## ports:
526
## - name: portname
527
## containerPort: 1234
528
##
529
initContainers: []
530
## ZooKeeper Pod Disruption Budget
531
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
532
## @param pdb.create Deploy a pdb object for the ZooKeeper pod
533
## @param pdb.minAvailable Minimum available ZooKeeper replicas
534
## @param pdb.maxUnavailable Maximum unavailable ZooKeeper replicas. Defaults to `1` if both `pdb.minAvailable` and `pdb.maxUnavailable` are empty.
535
##
536
pdb:
537
create: true
538
minAvailable: ""
539
maxUnavailable: ""
540
## @param enableServiceLinks Whether information about services should be injected into pod's environment variable
541
## The environment variables injected by service links are not used, but can lead to slow boot times or slow running of the scripts when there are many services in the current namespace.
542
## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
543
##
544
enableServiceLinks: true
545
## DNS-Pod services
546
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
547
## @param dnsPolicy Specifies the DNS policy for the zookeeper pods
548
## DNS policies can be set on a per-Pod basis. Currently Kubernetes supports the following Pod-specific DNS policies.
549
## Available options: Default, ClusterFirst, ClusterFirstWithHostNet, None
550
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
551
dnsPolicy: ""
552
## @param dnsConfig allows users more control on the DNS settings for a Pod. Required if `dnsPolicy` is set to `None`
553
## The dnsConfig field is optional and it can work with any dnsPolicy settings.
554
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
555
## E.g.
556
## dnsConfig:
557
## nameservers:
558
## - 192.0.2.1 # this is an example
559
## searches:
560
## - ns1.svc.cluster-domain.example
561
## - my.dns.search.suffix
562
## options:
563
## - name: ndots
564
## value: "2"
565
## - name: edns0
566
dnsConfig: {}
567
## @section Traffic Exposure parameters
568
service:
569
## @param service.type Kubernetes Service type
570
##
571
type: ClusterIP
572
## @param service.ports.client ZooKeeper client service port
573
## @param service.ports.tls ZooKeeper TLS service port
574
## @param service.ports.follower ZooKeeper follower service port
575
## @param service.ports.election ZooKeeper election service port
576
##
577
ports:
578
client: 2181
579
tls: 3181
580
follower: 2888
581
election: 3888
582
## Node ports to expose
583
## NOTE: choose port between <30000-32767>
584
## @param service.nodePorts.client Node port for clients
585
## @param service.nodePorts.tls Node port for TLS
586
##
587
nodePorts:
588
client: ""
589
tls: ""
590
## @param service.disableBaseClientPort Remove client port from service definitions.
591
##
592
disableBaseClientPort: false
593
## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
594
## Values: ClientIP or None
595
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
596
##
597
sessionAffinity: None
598
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
599
## sessionAffinityConfig:
600
## clientIP:
601
## timeoutSeconds: 300
602
##
603
sessionAffinityConfig: {}
604
## @param service.clusterIP ZooKeeper service Cluster IP
605
## e.g.:
606
## clusterIP: None
607
##
608
clusterIP: ""
609
## @param service.loadBalancerIP ZooKeeper service Load Balancer IP
610
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
611
##
612
loadBalancerIP: ""
613
## @param service.loadBalancerSourceRanges ZooKeeper service Load Balancer sources
614
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
615
## e.g:
616
## loadBalancerSourceRanges:
617
## - 10.10.10.0/24
618
##
619
loadBalancerSourceRanges: []
620
## @param service.externalTrafficPolicy ZooKeeper service external traffic policy
621
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
622
##
623
externalTrafficPolicy: Cluster
624
## @param service.annotations Additional custom annotations for ZooKeeper service
625
##
626
annotations: {}
627
## @param service.extraPorts Extra ports to expose in the ZooKeeper service (normally used with the `sidecar` value)
628
##
629
extraPorts: []
630
## @param service.headless.annotations Annotations for the Headless Service
631
## @param service.headless.publishNotReadyAddresses If the ZooKeeper headless service should publish DNS records for not ready pods
632
## @param service.headless.servicenameOverride String to partially override headless service name
633
##
634
headless:
635
publishNotReadyAddresses: true
636
annotations: {}
637
servicenameOverride: ""
638
## Network policies
639
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
640
##
641
networkPolicy:
642
## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
643
##
644
enabled: true
645
## @param networkPolicy.allowExternal Don't require client label for connections
646
## When set to false, only pods with the correct client label will have network access to the port Redis&reg; is
647
## listening on. When true, zookeeper accept connections from any source (with the correct destination port).
648
##
649
allowExternal: true
650
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
651
##
652
allowExternalEgress: true
653
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
654
## e.g:
655
## extraIngress:
656
## - ports:
657
## - port: 1234
658
## from:
659
## - podSelector:
660
## - matchLabels:
661
## - role: frontend
662
## - podSelector:
663
## - matchExpressions:
664
## - key: role
665
## operator: In
666
## values:
667
## - frontend
668
extraIngress: []
669
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
670
## e.g:
671
## extraEgress:
672
## - ports:
673
## - port: 1234
674
## to:
675
## - podSelector:
676
## - matchLabels:
677
## - role: frontend
678
## - podSelector:
679
## - matchExpressions:
680
## - key: role
681
## operator: In
682
## values:
683
## - frontend
684
##
685
extraEgress: []
686
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
687
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
688
##
689
ingressNSMatchLabels: {}
690
ingressNSPodMatchLabels: {}
691
## @section Other Parameters
692
693
## Service account for ZooKeeper to use.
694
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
695
##
696
serviceAccount:
697
## @param serviceAccount.create Enable creation of ServiceAccount for ZooKeeper pod
698
##
699
create: true
700
## @param serviceAccount.name The name of the ServiceAccount to use.
701
## If not set and create is true, a name is generated using the common.names.fullname template
702
##
703
name: ""
704
## @param serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
705
## Can be set to false if pods using this serviceAccount do not need to use K8s API
706
##
707
automountServiceAccountToken: false
708
## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
709
##
710
annotations: {}
711
## @section Persistence parameters
712
713
## Enable persistence using Persistent Volume Claims
714
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
715
##
716
persistence:
717
## @param persistence.enabled Enable ZooKeeper data persistence using PVC. If false, use emptyDir
718
##
719
enabled: true
720
## @param persistence.existingClaim Name of an existing PVC to use (only when deploying a single replica)
721
##
722
existingClaim: ""
723
## @param persistence.storageClass PVC Storage Class for ZooKeeper data volume
724
## If defined, storageClassName: <storageClass>
725
## If set to "-", storageClassName: "", which disables dynamic provisioning
726
## If undefined (the default) or set to null, no storageClassName spec is
727
## set, choosing the default provisioner. (gp2 on AWS, standard on
728
## GKE, AWS & OpenStack)
729
##
730
storageClass: ""
731
## @param persistence.accessModes PVC Access modes
732
##
733
accessModes:
734
- ReadWriteOnce
735
## @param persistence.size PVC Storage Request for ZooKeeper data volume
736
##
737
size: 8Gi
738
## @param persistence.annotations Annotations for the PVC
739
##
740
annotations: {}
741
## @param persistence.labels Labels for the PVC
742
##
743
labels: {}
744
## @param persistence.selector Selector to match an existing Persistent Volume for ZooKeeper's data PVC
745
## If set, the PVC can't have a PV dynamically provisioned for it
746
## E.g.
747
## selector:
748
## matchLabels:
749
## app: my-app
750
##
751
selector: {}
752
## Persistence for a dedicated data log directory
753
##
754
dataLogDir:
755
## @param persistence.dataLogDir.size PVC Storage Request for ZooKeeper's dedicated data log directory
756
##
757
size: 8Gi
758
## @param persistence.dataLogDir.existingClaim Provide an existing `PersistentVolumeClaim` for ZooKeeper's data log directory
759
## If defined, PVC must be created manually before volume will be bound
760
## The value is evaluated as a template
761
##
762
existingClaim: ""
763
## @param persistence.dataLogDir.selector Selector to match an existing Persistent Volume for ZooKeeper's data log PVC
764
## If set, the PVC can't have a PV dynamically provisioned for it
765
## E.g.
766
## selector:
767
## matchLabels:
768
## app: my-app
769
##
770
selector: {}
771
## @section Volume Permissions parameters
772
##
773
774
## Init containers parameters:
775
## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
776
##
777
volumePermissions:
778
## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
779
##
780
enabled: false
781
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
782
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
783
## @skip volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
784
## @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
785
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
786
## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
787
##
788
image:
789
registry: cgr.dev
790
repository: chainguard-private/os-shell-iamguarded
791
tag: 1.0.0
792
digest: sha256:7401ee05d8e0e6a6be960433db429bf05a6ca21be356b99cd87597199fb355a2
793
pullPolicy: IfNotPresent
794
## Optionally specify an array of imagePullSecrets.
795
## Secrets must be manually created in the namespace.
796
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
797
## Example:
798
## pullSecrets:
799
## - myRegistryKeySecretName
800
##
801
pullSecrets: []
802
## Init container resource requests and limits
803
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
804
## @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).
805
## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
806
##
807
resourcesPreset: "nano"
808
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
809
## Example:
810
## resources:
811
## requests:
812
## cpu: 2
813
## memory: 512Mi
814
## limits:
815
## cpu: 3
816
## memory: 1024Mi
817
##
818
resources: {}
819
## Init container' Security Context
820
## Note: the chown of the data folder is done to containerSecurityContext.runAsUser
821
## and not the below volumePermissions.containerSecurityContext.runAsUser
822
## @param volumePermissions.containerSecurityContext.enabled Enabled init container Security Context
823
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
824
## @param volumePermissions.containerSecurityContext.runAsUser User ID for the init container
825
##
826
containerSecurityContext:
827
enabled: true
828
seLinuxOptions: {}
829
runAsUser: 0
830
## @section Metrics parameters
831
##
832
833
## ZooKeeper Prometheus Exporter configuration
834
##
835
metrics:
836
## @param metrics.enabled Enable Prometheus to access ZooKeeper metrics endpoint
837
##
838
enabled: false
839
## Service configuration
840
##
841
service:
842
## @param metrics.service.type ZooKeeper Prometheus Exporter service type
843
##
844
type: ClusterIP
845
## @param metrics.service.port ZooKeeper Prometheus Exporter service port
846
##
847
port: 9141
848
## @param metrics.service.annotations [object] Annotations for Prometheus to auto-discover the metrics endpoint
849
##
850
annotations:
851
prometheus.io/scrape: "true"
852
prometheus.io/port: "{{ .Values.metrics.service.port }}"
853
prometheus.io/path: "/metrics"
854
## Prometheus Operator ServiceMonitor configuration
855
##
856
serviceMonitor:
857
## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using Prometheus Operator
858
##
859
enabled: false
860
## @param metrics.serviceMonitor.namespace Namespace for the ServiceMonitor Resource (defaults to the Release Namespace)
861
##
862
namespace: ""
863
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
864
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
865
##
866
interval: ""
867
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
868
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
869
##
870
scrapeTimeout: ""
871
## @param metrics.serviceMonitor.additionalLabels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
872
##
873
additionalLabels: {}
874
## @param metrics.serviceMonitor.selector Prometheus instance selector labels
875
## ref: https://github.com/iamguarded/charts/tree/main/iamguarded/prometheus-operator#prometheus-configuration
876
##
877
selector: {}
878
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
879
##
880
relabelings: []
881
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
882
##
883
metricRelabelings: []
884
## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
885
##
886
honorLabels: false
887
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
888
##
889
jobLabel: ""
890
## @param metrics.serviceMonitor.scheme The explicit scheme for metrics scraping.
891
##
892
scheme: ""
893
## @param metrics.serviceMonitor.tlsConfig [object] TLS configuration used for scrape endpoints used by Prometheus
894
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
895
## e.g:
896
## tlsConfig:
897
## ca:
898
## secret:
899
## name: existingSecretName
900
##
901
tlsConfig: {}
902
## Prometheus Operator PrometheusRule configuration
903
##
904
prometheusRule:
905
## @param metrics.prometheusRule.enabled Create a PrometheusRule for Prometheus Operator
906
##
907
enabled: false
908
## @param metrics.prometheusRule.namespace Namespace for the PrometheusRule Resource (defaults to the Release Namespace)
909
##
910
namespace: ""
911
## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so PrometheusRule will be discovered by Prometheus
912
##
913
additionalLabels: {}
914
## @param metrics.prometheusRule.rules PrometheusRule definitions
915
## - alert: ZooKeeperSyncedFollowers
916
## annotations:
917
## message: The number of synced followers for the leader node in ZooKeeper deployment my-release is less than 2. This usually means that some of the ZooKeeper nodes aren't communicating properly. If it doesn't resolve itself you can try killing the pods (one by one).
918
## expr: max(synced_followers{service="my-release-metrics"}) < 2
919
## for: 5m
920
## labels:
921
## severity: critical
922
## - alert: ZooKeeperOutstandingRequests
923
## annotations:
924
## message: The number of outstanding requests for ZooKeeper pod {{ $labels.pod }} is greater than 10. This can indicate a performance issue with the Pod or cluster a whole.
925
## expr: outstanding_requests{service="my-release-metrics"} > 10
926
## for: 5m
927
## labels:
928
## severity: critical
929
##
930
rules: []
931
## @section TLS/SSL parameters
932
##
933
934
## Enable SSL/TLS encryption
935
##
936
tls:
937
client:
938
## @param tls.client.enabled Enable TLS for client connections
939
##
940
enabled: false
941
## @param tls.client.auth SSL Client auth. Can be "none", "want" or "need".
942
##
943
auth: "none"
944
## @param tls.client.autoGenerated Generate automatically self-signed TLS certificates for ZooKeeper client communications
945
## Currently only supports PEM certificates
946
##
947
autoGenerated: false
948
## @param tls.client.existingSecret Name of the existing secret containing the TLS certificates for ZooKeeper client communications
949
##
950
existingSecret: ""
951
## @param tls.client.existingSecretKeystoreKey The secret key from the tls.client.existingSecret containing the Keystore.
952
##
953
existingSecretKeystoreKey: ""
954
## @param tls.client.existingSecretTruststoreKey The secret key from the tls.client.existingSecret containing the Truststore.
955
##
956
existingSecretTruststoreKey: ""
957
## @param tls.client.keystorePath Location of the KeyStore file used for Client connections
958
##
959
keystorePath: /opt/iamguarded/zookeeper/config/certs/client/zookeeper.keystore.jks
960
## @param tls.client.truststorePath Location of the TrustStore file used for Client connections
961
##
962
truststorePath: /opt/iamguarded/zookeeper/config/certs/client/zookeeper.truststore.jks
963
## @param tls.client.passwordsSecretName Existing secret containing Keystore and truststore passwords
964
##
965
passwordsSecretName: ""
966
## @param tls.client.passwordsSecretKeystoreKey The secret key from the tls.client.passwordsSecretName containing the password for the Keystore.
967
##
968
passwordsSecretKeystoreKey: ""
969
## @param tls.client.passwordsSecretTruststoreKey The secret key from the tls.client.passwordsSecretName containing the password for the Truststore.
970
##
971
passwordsSecretTruststoreKey: ""
972
## @param tls.client.keystorePassword Password to access KeyStore if needed
973
##
974
keystorePassword: ""
975
## @param tls.client.truststorePassword Password to access TrustStore if needed
976
##
977
truststorePassword: ""
978
quorum:
979
## @param tls.quorum.enabled Enable TLS for quorum protocol
980
##
981
enabled: false
982
## @param tls.quorum.auth SSL Quorum Client auth. Can be "none", "want" or "need".
983
##
984
auth: "none"
985
## @param tls.quorum.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates.
986
##
987
autoGenerated: false
988
## @param tls.quorum.existingSecret Name of the existing secret containing the TLS certificates for ZooKeeper quorum protocol
989
##
990
existingSecret: ""
991
## @param tls.quorum.existingSecretKeystoreKey The secret key from the tls.quorum.existingSecret containing the Keystore.
992
##
993
existingSecretKeystoreKey: ""
994
## @param tls.quorum.existingSecretTruststoreKey The secret key from the tls.quorum.existingSecret containing the Truststore.
995
##
996
existingSecretTruststoreKey: ""
997
## @param tls.quorum.keystorePath Location of the KeyStore file used for Quorum protocol
998
##
999
keystorePath: /opt/iamguarded/zookeeper/config/certs/quorum/zookeeper.keystore.jks
1000
## @param tls.quorum.truststorePath Location of the TrustStore file used for Quorum protocol
1001
##
1002
truststorePath: /opt/iamguarded/zookeeper/config/certs/quorum/zookeeper.truststore.jks
1003
## @param tls.quorum.passwordsSecretName Existing secret containing Keystore and truststore passwords
1004
##
1005
passwordsSecretName: ""
1006
## @param tls.quorum.passwordsSecretKeystoreKey The secret key from the tls.quorum.passwordsSecretName containing the password for the Keystore.
1007
##
1008
passwordsSecretKeystoreKey: ""
1009
## @param tls.quorum.passwordsSecretTruststoreKey The secret key from the tls.quorum.passwordsSecretName containing the password for the Truststore.
1010
##
1011
passwordsSecretTruststoreKey: ""
1012
## @param tls.quorum.keystorePassword Password to access KeyStore if needed
1013
##
1014
keystorePassword: ""
1015
## @param tls.quorum.truststorePassword Password to access TrustStore if needed
1016
##
1017
truststorePassword: ""
1018
## Init container resource requests and limits
1019
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1020
## @param tls.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if tls.resources is set (tls.resources is recommended for production).
1021
## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
1022
##
1023
resourcesPreset: "nano"
1024
## @param tls.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1025
## Example:
1026
## resources:
1027
## requests:
1028
## cpu: 2
1029
## memory: 512Mi
1030
## limits:
1031
## cpu: 3
1032
## memory: 1024Mi
1033
##
1034
resources: {}
1035

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.