DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
memcached logoHELM

memcached

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
## @param global.imageRegistry Global Docker image registry
16
## @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.
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
20
##
21
global:
22
imageRegistry: ""
23
useImageTags: false
24
## E.g.
25
## imagePullSecrets:
26
## - myRegistryKeySecretName
27
##
28
imagePullSecrets: []
29
defaultStorageClass: ""
30
storageClass: ""
31
## Security parameters
32
##
33
security:
34
## @param global.security.allowInsecureImages Allows skipping image verification
35
allowInsecureImages: false
36
## Compatibility adaptations for Kubernetes platforms
37
##
38
compatibility:
39
## Compatibility adaptations for Openshift
40
##
41
openshift:
42
## @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
##
44
adaptSecurityContext: auto
45
org: ""
46
## @section Common parameters
47
48
## @param kubeVersion Override Kubernetes version
49
##
50
kubeVersion: ""
51
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
52
##
53
nameOverride: ""
54
## @param fullnameOverride String to fully override common.names.fullname template
55
##
56
fullnameOverride: ""
57
## @param clusterDomain Kubernetes Cluster Domain
58
##
59
clusterDomain: cluster.local
60
## @param extraDeploy Extra objects to deploy (evaluated as a template)
61
##
62
extraDeploy: []
63
## @param commonLabels Add labels to all the deployed resources
64
##
65
commonLabels: {}
66
## @param commonAnnotations Add annotations to all the deployed resources
67
##
68
commonAnnotations: {}
69
## Enable diagnostic mode in the deployment/statefulset
70
##
71
diagnosticMode:
72
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
73
##
74
enabled: false
75
## @param diagnosticMode.command Command to override all containers in the deployment/statefulset
76
##
77
command:
78
- sleep
79
## @param diagnosticMode.args Args to override all containers in the deployment/statefulset
80
##
81
args:
82
- infinity
83
## @section Memcached parameters
84
85
## Iamguarded Memcached image version
86
## @param image.registry [default: REGISTRY_NAME] Memcached image registry
87
## @param image.repository [default: REPOSITORY_NAME/memcached] Memcached image repository
88
## @skip image.tag Memcached image tag (immutable tags are recommended)
89
## @param image.digest Memcached image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
90
## @param image.pullPolicy Memcached image pull policy
91
## @param image.pullSecrets Specify docker-registry secret names as an array
92
## @param image.debug Specify if debug values should be set
93
##
94
image:
95
registry: cgr.dev
96
repository: chainguard-private/memcached-iamguarded
97
tag: 1.6.46
98
digest: sha256:725c93838408474eaedebe5b7965ad60827eb6359e172c472e1ad8f16483e09e
99
## Specify a imagePullPolicy
100
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
101
##
102
pullPolicy: IfNotPresent
103
## Optionally specify an array of imagePullSecrets.
104
## Secrets must be manually created in the namespace.
105
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
106
## e.g:
107
## pullSecrets:
108
## - myRegistryKeySecretName
109
##
110
pullSecrets: []
111
## Set to true if you would like to see extra information on logs
112
##
113
debug: false
114
## @param architecture Memcached architecture. Allowed values: standalone or high-availability
115
##
116
architecture: standalone
117
## Authentication parameters
118
##
119
auth:
120
## @param auth.enabled Enable Memcached authentication
121
##
122
enabled: false
123
## @param auth.username Memcached admin user
124
##
125
username: ""
126
## @param auth.password Memcached admin password
127
##
128
password: ""
129
## @param auth.existingPasswordSecret Existing secret with Memcached credentials (must contain a value for `memcached-password` key)
130
##
131
existingPasswordSecret: ""
132
## @param auth.usePasswordFiles Mount credentials as files instead of using environment variables
133
##
134
usePasswordFiles: true
135
## @param command Override default container command (useful when using custom images)
136
##
137
command: []
138
## @param args Override default container args (useful when using custom images)
139
## e.g:
140
## args:
141
## - /run.sh
142
## - -m <maxMemoryLimit>
143
## - -I <maxItemSize>
144
## - -vv
145
##
146
args: []
147
## @param extraEnvVars Array with extra environment variables to add to Memcached nodes
148
## e.g:
149
## extraEnvVars:
150
## - name: FOO
151
## value: "bar"
152
##
153
extraEnvVars: []
154
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Memcached nodes
155
##
156
extraEnvVarsCM: ""
157
## @param extraEnvVarsSecret Name of existing Secret containing extra env vars for Memcached nodes
158
##
159
extraEnvVarsSecret: ""
160
## @section Deployment/Statefulset parameters
161
162
## @param replicaCount Number of Memcached nodes
163
##
164
replicaCount: 1
165
## @param containerPorts.memcached Memcached container port
166
##
167
containerPorts:
168
memcached: 11211
169
## Configure extra options for Memcached containers' liveness, readiness and startup probes
170
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
171
## @param livenessProbe.enabled Enable livenessProbe on Memcached containers
172
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
173
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
174
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
175
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
176
## @param livenessProbe.successThreshold Success threshold for livenessProbe
177
##
178
livenessProbe:
179
enabled: true
180
initialDelaySeconds: 30
181
periodSeconds: 10
182
timeoutSeconds: 5
183
failureThreshold: 6
184
successThreshold: 1
185
## @param readinessProbe.enabled Enable readinessProbe on Memcached containers
186
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
187
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
188
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
189
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
190
## @param readinessProbe.successThreshold Success threshold for readinessProbe
191
##
192
readinessProbe:
193
enabled: true
194
initialDelaySeconds: 5
195
periodSeconds: 5
196
timeoutSeconds: 3
197
failureThreshold: 6
198
successThreshold: 1
199
## @param startupProbe.enabled Enable startupProbe on Memcached containers
200
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
201
## @param startupProbe.periodSeconds Period seconds for startupProbe
202
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
203
## @param startupProbe.failureThreshold Failure threshold for startupProbe
204
## @param startupProbe.successThreshold Success threshold for startupProbe
205
##
206
startupProbe:
207
enabled: false
208
initialDelaySeconds: 30
209
periodSeconds: 10
210
timeoutSeconds: 1
211
failureThreshold: 15
212
successThreshold: 1
213
## @param customLivenessProbe Custom livenessProbe that overrides the default one
214
##
215
customLivenessProbe: {}
216
## @param customReadinessProbe Custom readinessProbe that overrides the default one
217
##
218
customReadinessProbe: {}
219
## @param customStartupProbe Custom startupProbe that overrides the default one
220
##
221
customStartupProbe: {}
222
## @param lifecycleHooks for the Memcached container(s) to automate configuration before or after startup
223
##
224
lifecycleHooks: {}
225
## Memcached resource requests and limits
226
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
227
## @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).
228
##
229
resourcesPreset: "nano"
230
## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
231
## Example:
232
## resources:
233
## requests:
234
## cpu: 2
235
## memory: 512Mi
236
## limits:
237
## cpu: 3
238
## memory: 1024Mi
239
##
240
resources: {}
241
## Configure Pods Security Context
242
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
243
## @param podSecurityContext.enabled Enabled Memcached pods' Security Context
244
## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
245
## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
246
## @param podSecurityContext.supplementalGroups Set filesystem extra groups
247
## @param podSecurityContext.fsGroup Set Memcached pod's Security Context fsGroup
248
##
249
podSecurityContext:
250
enabled: true
251
fsGroupChangePolicy: Always
252
sysctls: []
253
supplementalGroups: []
254
fsGroup: 1001
255
## Configure Container Security Context
256
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
257
## @param containerSecurityContext.enabled Enabled containers' Security Context
258
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
259
## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
260
## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
261
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
262
## @param containerSecurityContext.privileged Set container's Security Context privileged
263
## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
264
## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
265
## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
266
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
267
##
268
containerSecurityContext:
269
enabled: true
270
seLinuxOptions: {}
271
runAsUser: 1001
272
runAsGroup: 1001
273
runAsNonRoot: true
274
privileged: false
275
readOnlyRootFilesystem: true
276
allowPrivilegeEscalation: false
277
capabilities:
278
drop: ["ALL"]
279
seccompProfile:
280
type: "RuntimeDefault"
281
## @param automountServiceAccountToken Mount Service Account token in pod
282
##
283
automountServiceAccountToken: false
284
## @param hostAliases Add deployment host aliases
285
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
286
##
287
hostAliases: []
288
## @param hostNetwork Use host's network namespace
289
## https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#hosts-namespaces
290
##
291
hostNetwork: false
292
## @param podLabels Extra labels for Memcached pods
293
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
294
##
295
podLabels: {}
296
## @param podAnnotations Annotations for Memcached pods
297
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
298
##
299
podAnnotations: {}
300
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
301
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
302
##
303
podAffinityPreset: ""
304
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
305
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
306
##
307
podAntiAffinityPreset: soft
308
## Node affinity preset
309
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
310
##
311
nodeAffinityPreset:
312
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
313
##
314
type: ""
315
## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
316
## E.g.
317
## key: "kubernetes.io/e2e-az-name"
318
##
319
key: ""
320
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
321
## E.g.
322
## values:
323
## - e2e-az1
324
## - e2e-az2
325
##
326
values: []
327
## @param affinity Affinity for pod assignment
328
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
329
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
330
##
331
affinity: {}
332
## @param nodeSelector Node labels for pod assignment
333
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
334
##
335
nodeSelector: {}
336
## @param tolerations Tolerations for pod assignment
337
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
338
##
339
tolerations: []
340
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
341
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
342
##
343
topologySpreadConstraints: []
344
## @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`
345
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
346
##
347
podManagementPolicy: Parallel
348
## @param priorityClassName Name of the existing priority class to be used by Memcached pods, priority class needs to be created beforehand
349
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
350
##
351
priorityClassName: ""
352
## @param schedulerName Kubernetes pod scheduler registry
353
## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
354
##
355
schedulerName: ""
356
## @param terminationGracePeriodSeconds In seconds, time the given to the memcached pod needs to terminate gracefully
357
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
358
##
359
terminationGracePeriodSeconds: ""
360
## @param updateStrategy.type Memcached statefulset strategy type
361
## @param updateStrategy.rollingUpdate Memcached statefulset rolling update configuration parameters
362
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
363
##
364
updateStrategy:
365
type: RollingUpdate
366
rollingUpdate: {}
367
## @param emptyDir.medium Override emptyDir Volume type, defaults to emptyDir: {}
368
## Possible values: "Memory", ""
369
emptyDir:
370
medium: ""
371
## @param extraVolumes Optionally specify extra list of additional volumes for the Memcached pod(s)
372
## Example Use Case: mount certificates to enable TLS
373
## e.g:
374
## extraVolumes:
375
## - name: zookeeper-keystore
376
## secret:
377
## defaultMode: 288
378
## secretName: zookeeper-keystore
379
## - name: zookeeper-truststore
380
## secret:
381
## defaultMode: 288
382
## secretName: zookeeper-truststore
383
##
384
extraVolumes: []
385
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Memcached container(s)
386
## Example Use Case: mount certificates to enable TLS
387
## e.g:
388
## extraVolumeMounts:
389
## - name: zookeeper-keystore
390
## mountPath: /certs/keystore
391
## readOnly: true
392
## - name: zookeeper-truststore
393
## mountPath: /certs/truststore
394
## readOnly: true
395
##
396
extraVolumeMounts: []
397
## @param sidecars Add additional sidecar containers to the Memcached pod(s)
398
## e.g:
399
## sidecars:
400
## - name: your-image-name
401
## image: your-image
402
## imagePullPolicy: Always
403
## ports:
404
## - name: portname
405
## containerPort: 1234
406
##
407
sidecars: []
408
## @param initContainers Add additional init containers to the Memcached pod(s)
409
## Example:
410
## initContainers:
411
## - name: your-image-name
412
## image: your-image
413
## imagePullPolicy: Always
414
## ports:
415
## - name: portname
416
## containerPort: 1234
417
##
418
initContainers: []
419
## @param enableServiceLinks Whether information about services should be injected into pod's environment variable
420
## 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.
421
## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
422
##
423
enableServiceLinks: true
424
## Memcached Autoscaling
425
## @param autoscaling.enabled Enable memcached statefulset autoscaling (requires architecture: "high-availability")
426
## @param autoscaling.minReplicas memcached statefulset autoscaling minimum number of replicas
427
## @param autoscaling.maxReplicas memcached statefulset autoscaling maximum number of replicas
428
## @param autoscaling.targetCPU memcached statefulset autoscaling target CPU percentage
429
## @param autoscaling.targetMemory memcached statefulset autoscaling target CPU memory
430
##
431
autoscaling:
432
enabled: false
433
minReplicas: 3
434
maxReplicas: 6
435
targetCPU: 50
436
targetMemory: 50
437
## Memcached Pod Disruption Budget
438
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
439
## @param pdb.create Deploy a pdb object for the Memcached pod
440
## @param pdb.minAvailable Minimum available Memcached replicas
441
## @param pdb.maxUnavailable Maximum unavailable Memcached replicas
442
##
443
pdb:
444
create: true
445
minAvailable: ""
446
maxUnavailable: ""
447
## @section Traffic Exposure parameters
448
service:
449
## @param service.type Kubernetes Service type
450
##
451
type: ClusterIP
452
## @param service.ports.memcached Memcached service port
453
##
454
ports:
455
memcached: 11211
456
## Node ports to expose
457
## NOTE: choose port between <30000-32767>
458
## @param service.nodePorts.memcached Node port for Memcached
459
##
460
nodePorts:
461
memcached: ""
462
## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
463
## Values: ClientIP or None
464
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
465
##
466
sessionAffinity: ""
467
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
468
## sessionAffinityConfig:
469
## clientIP:
470
## timeoutSeconds: 300
471
##
472
sessionAffinityConfig: {}
473
## @param service.trafficDistribution Traffic distribution preference
474
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
475
##
476
trafficDistribution: ""
477
## @param service.clusterIP Memcached service Cluster IP
478
## e.g.:
479
## clusterIP: None
480
##
481
clusterIP: ""
482
## @param service.loadBalancerIP Memcached service Load Balancer IP
483
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
484
##
485
loadBalancerIP: ""
486
## @param service.loadBalancerSourceRanges Memcached service Load Balancer sources
487
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
488
## e.g:
489
## loadBalancerSourceRanges:
490
## - 10.10.10.0/24
491
##
492
loadBalancerSourceRanges: []
493
## @param service.externalTrafficPolicy Memcached service external traffic policy
494
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
495
##
496
externalTrafficPolicy: Cluster
497
## @param service.annotations Additional custom annotations for Memcached service
498
##
499
annotations: {}
500
## @param service.extraPorts Extra ports to expose in the Memcached service (normally used with the `sidecar` value)
501
##
502
extraPorts: []
503
## Network Policy configuration
504
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
505
##
506
networkPolicy:
507
## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
508
##
509
enabled: true
510
## @param networkPolicy.allowExternal The Policy model to apply
511
## When set to false, only pods with the correct client label will have network access to the ports Memcached is
512
## listening on. When true, Memcached will accept connections from any source (with the correct destination port).
513
##
514
allowExternal: true
515
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
516
##
517
allowExternalEgress: true
518
## @param networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
519
##
520
addExternalClientAccess: true
521
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
522
## e.g:
523
## extraIngress:
524
## - ports:
525
## - port: 1234
526
## from:
527
## - podSelector:
528
## - matchLabels:
529
## - role: frontend
530
## - podSelector:
531
## - matchExpressions:
532
## - key: role
533
## operator: In
534
## values:
535
## - frontend
536
##
537
extraIngress: []
538
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
539
## e.g:
540
## extraEgress:
541
## - ports:
542
## - port: 1234
543
## to:
544
## - podSelector:
545
## - matchLabels:
546
## - role: frontend
547
## - podSelector:
548
## - matchExpressions:
549
## - key: role
550
## operator: In
551
## values:
552
## - frontend
553
##
554
extraEgress: []
555
## @param networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
556
## e.g:
557
## ingressPodMatchLabels:
558
## my-client: "true"
559
#
560
ingressPodMatchLabels: {}
561
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
562
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
563
##
564
ingressNSMatchLabels: {}
565
ingressNSPodMatchLabels: {}
566
## @section Other Parameters
567
568
## Service account for Memcached to use.
569
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
570
##
571
serviceAccount:
572
## @param serviceAccount.create Enable creation of ServiceAccount for Memcached pod
573
##
574
create: true
575
## @param serviceAccount.name The name of the ServiceAccount to use.
576
## If not set and create is true, a name is generated using the common.names.fullname template
577
##
578
name: ""
579
## @param serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
580
## Can be set to false if pods using this serviceAccount do not need to use K8s API
581
##
582
automountServiceAccountToken: false
583
## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
584
##
585
annotations: {}
586
## @section Persistence parameters
587
588
## Enable persistence using Persistent Volume Claims
589
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
590
##
591
persistence:
592
## @param persistence.enabled Enable Memcached data persistence using PVC. If false, use emptyDir
593
##
594
enabled: false
595
## @param persistence.storageClass PVC Storage Class for Memcached data volume
596
## If defined, storageClassName: <storageClass>
597
## If set to "-", storageClassName: "", which disables dynamic provisioning
598
## If undefined (the default) or set to null, no storageClassName spec is
599
## set, choosing the default provisioner. (gp2 on AWS, standard on
600
## GKE, AWS & OpenStack)
601
##
602
storageClass: ""
603
## @param persistence.accessModes PVC Access modes
604
##
605
accessModes:
606
- ReadWriteOnce
607
## @param persistence.size PVC Storage Request for Memcached data volume
608
##
609
size: 8Gi
610
## @param persistence.annotations Annotations for the PVC
611
##
612
annotations: {}
613
## @param persistence.labels Labels for the PVC
614
##
615
labels: {}
616
## @param persistence.selector Selector to match an existing Persistent Volume for Memcached's data PVC
617
## If set, the PVC can't have a PV dynamically provisioned for it
618
## E.g.
619
## selector:
620
## matchLabels:
621
## app: my-app
622
##
623
selector: {}
624
## @section Volume Permissions parameters
625
##
626
627
## Init containers parameters:
628
## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
629
##
630
volumePermissions:
631
## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
632
##
633
enabled: false
634
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
635
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
636
## @skip volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
637
## @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
638
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
639
## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
640
##
641
image:
642
registry: cgr.dev
643
repository: chainguard-private/os-shell-iamguarded
644
tag: 1.0.0
645
digest: sha256:9e5e15222b81d8daec60fd2752b28ca1a18f100b6a8fa8308707799bcb4c7e0d
646
pullPolicy: IfNotPresent
647
## Optionally specify an array of imagePullSecrets.
648
## Secrets must be manually created in the namespace.
649
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
650
## Example:
651
## pullSecrets:
652
## - myRegistryKeySecretName
653
##
654
pullSecrets: []
655
## Init container resource requests and limits
656
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
657
## @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).
658
##
659
resourcesPreset: "nano"
660
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
661
## Example:
662
## resources:
663
## requests:
664
## cpu: 2
665
## memory: 512Mi
666
## limits:
667
## cpu: 3
668
## memory: 1024Mi
669
##
670
resources: {}
671
## Init container' Security Context
672
## Note: the chown of the data folder is done to containerSecurityContext.runAsUser
673
## and not the below volumePermissions.containerSecurityContext.runAsUser
674
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
675
## @param volumePermissions.containerSecurityContext.runAsUser User ID for the init container
676
##
677
containerSecurityContext:
678
seLinuxOptions: {}
679
runAsUser: 0
680
## Prometheus Exporter / Metrics
681
##
682
metrics:
683
## @param metrics.enabled Start a side-car prometheus exporter
684
##
685
enabled: false
686
## Iamguarded Memcached Prometheus Exporter image
687
## @param metrics.image.registry [default: REGISTRY_NAME] Memcached exporter image registry
688
## @param metrics.image.repository [default: REPOSITORY_NAME/memcached-exporter] Memcached exporter image repository
689
## @skip metrics.image.tag Memcached exporter image tag (immutable tags are recommended)
690
## @param metrics.image.digest Memcached exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
691
## @param metrics.image.pullPolicy Image pull policy
692
## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
693
##
694
image:
695
registry: cgr.dev
696
repository: chainguard-private/memcached-exporter-iamguarded
697
tag: 0.18.0
698
digest: sha256:596df7670bd052b46f78f5599c28174d7ef725ccba834dd8ce4ce5f526cb3166
699
pullPolicy: IfNotPresent
700
## Optionally specify an array of imagePullSecrets.
701
## Secrets must be manually created in the namespace.
702
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
703
## e.g:
704
## pullSecrets:
705
## - myRegistryKeySecretName
706
##
707
pullSecrets: []
708
## @param metrics.containerPorts.metrics Memcached Prometheus Exporter container port
709
##
710
containerPorts:
711
metrics: 9150
712
## Memcached Prometheus exporter container resource requests and limits
713
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
714
## @param metrics.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production).
715
##
716
resourcesPreset: "nano"
717
## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
718
## Example:
719
## resources:
720
## requests:
721
## cpu: 2
722
## memory: 512Mi
723
## limits:
724
## cpu: 3
725
## memory: 1024Mi
726
##
727
resources: {}
728
## Configure Metrics Container Security Context
729
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
730
## @param metrics.containerSecurityContext.enabled Enabled containers' Security Context
731
## @param metrics.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
732
## @param metrics.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
733
## @param metrics.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
734
## @param metrics.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
735
## @param metrics.containerSecurityContext.privileged Set container's Security Context privileged
736
## @param metrics.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
737
## @param metrics.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
738
## @param metrics.containerSecurityContext.capabilities.drop List of capabilities to be dropped
739
## @param metrics.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
740
##
741
containerSecurityContext:
742
enabled: true
743
seLinuxOptions: {}
744
runAsUser: 1001
745
runAsGroup: 1001
746
runAsNonRoot: true
747
privileged: false
748
readOnlyRootFilesystem: true
749
allowPrivilegeEscalation: false
750
capabilities:
751
drop: ["ALL"]
752
seccompProfile:
753
type: "RuntimeDefault"
754
## Configure extra options for Memcached Prometheus exporter containers' liveness, readiness and startup probes
755
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
756
## @param metrics.livenessProbe.enabled Enable livenessProbe on Memcached Prometheus exporter containers
757
## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
758
## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
759
## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
760
## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
761
## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
762
##
763
livenessProbe:
764
enabled: true
765
initialDelaySeconds: 15
766
periodSeconds: 10
767
timeoutSeconds: 5
768
failureThreshold: 3
769
successThreshold: 1
770
## @param metrics.readinessProbe.enabled Enable readinessProbe on Memcached Prometheus exporter containers
771
## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
772
## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
773
## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
774
## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
775
## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
776
##
777
readinessProbe:
778
enabled: true
779
initialDelaySeconds: 5
780
periodSeconds: 10
781
timeoutSeconds: 3
782
failureThreshold: 3
783
successThreshold: 1
784
## @param metrics.startupProbe.enabled Enable startupProbe on Memcached Prometheus exporter containers
785
## @param metrics.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
786
## @param metrics.startupProbe.periodSeconds Period seconds for startupProbe
787
## @param metrics.startupProbe.timeoutSeconds Timeout seconds for startupProbe
788
## @param metrics.startupProbe.failureThreshold Failure threshold for startupProbe
789
## @param metrics.startupProbe.successThreshold Success threshold for startupProbe
790
##
791
startupProbe:
792
enabled: false
793
initialDelaySeconds: 10
794
periodSeconds: 10
795
timeoutSeconds: 1
796
failureThreshold: 15
797
successThreshold: 1
798
## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
799
##
800
customLivenessProbe: {}
801
## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
802
##
803
customReadinessProbe: {}
804
## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
805
##
806
customStartupProbe: {}
807
## @param metrics.podAnnotations [object] Memcached Prometheus exporter pod Annotation and Labels
808
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
809
##
810
podAnnotations:
811
prometheus.io/scrape: "true"
812
prometheus.io/port: "{{ .Values.metrics.containerPorts.metrics }}"
813
## Service configuration
814
##
815
service:
816
## @param metrics.service.ports.metrics Prometheus metrics service port
817
##
818
ports:
819
metrics: 9150
820
## @param metrics.service.clusterIP Static clusterIP or None for headless services
821
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
822
##
823
clusterIP: ""
824
## @param metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
825
## Values: ClientIP or None
826
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
827
##
828
sessionAffinity: None
829
## @param metrics.service.annotations [object] Annotations for the Prometheus metrics service
830
##
831
annotations:
832
prometheus.io/scrape: "true"
833
prometheus.io/port: "{{ .Values.metrics.service.ports.metrics }}"
834
## Prometheus Operator ServiceMonitor configuration
835
##
836
serviceMonitor:
837
## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using Prometheus Operator
838
##
839
enabled: false
840
## @param metrics.serviceMonitor.namespace Namespace for the ServiceMonitor Resource (defaults to the Release Namespace)
841
##
842
namespace: ""
843
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
844
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
845
##
846
interval: ""
847
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
848
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
849
##
850
scrapeTimeout: ""
851
## @param metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
852
##
853
labels: {}
854
## @param metrics.serviceMonitor.podTargetLabels Labels from the Kubernetes pod to be transferred to the created metrics
855
podTargetLabels: []
856
## @param metrics.serviceMonitor.selector Prometheus instance selector labels
857
##
858
selector: {}
859
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
860
##
861
relabelings: []
862
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
863
##
864
metricRelabelings: []
865
## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
866
##
867
honorLabels: false
868
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
869
##
870
jobLabel: ""
871

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.