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
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
26 ## - myRegistryKeySecretName
29 defaultStorageClass: ""
31 ## Security parameters
34 ## @param global.security.allowInsecureImages Allows skipping image verification
35 allowInsecureImages: false
36 ## Compatibility adaptations for Kubernetes platforms
39 ## Compatibility adaptations for 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)
44 adaptSecurityContext: auto
46## @section Common parameters
48## @param kubeVersion Override Kubernetes version
51## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
54## @param fullnameOverride String to fully override common.names.fullname template
57## @param clusterDomain Kubernetes Cluster Domain
59clusterDomain: cluster.local
60## @param extraDeploy Extra objects to deploy (evaluated as a template)
63## @param commonLabels Add labels to all the deployed resources
66## @param commonAnnotations Add annotations to all the deployed resources
69## Enable diagnostic mode in the deployment/statefulset
72 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
75 ## @param diagnosticMode.command Command to override all containers in the deployment/statefulset
79 ## @param diagnosticMode.args Args to override all containers in the deployment/statefulset
83## @section Memcached parameters
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
96 repository: chainguard-private/memcached-iamguarded
98 digest: sha256:725c93838408474eaedebe5b7965ad60827eb6359e172c472e1ad8f16483e09e
99 ## Specify a imagePullPolicy
100 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
108 ## - myRegistryKeySecretName
111 ## Set to true if you would like to see extra information on logs
114## @param architecture Memcached architecture. Allowed values: standalone or high-availability
116architecture: standalone
117## Authentication parameters
120 ## @param auth.enabled Enable Memcached authentication
123 ## @param auth.username Memcached admin user
126 ## @param auth.password Memcached admin password
129 ## @param auth.existingPasswordSecret Existing secret with Memcached credentials (must contain a value for `memcached-password` key)
131 existingPasswordSecret: ""
132 ## @param auth.usePasswordFiles Mount credentials as files instead of using environment variables
134 usePasswordFiles: true
135## @param command Override default container command (useful when using custom images)
138## @param args Override default container args (useful when using custom images)
142## - -m <maxMemoryLimit>
147## @param extraEnvVars Array with extra environment variables to add to Memcached nodes
154## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Memcached nodes
157## @param extraEnvVarsSecret Name of existing Secret containing extra env vars for Memcached nodes
159extraEnvVarsSecret: ""
160## @section Deployment/Statefulset parameters
162## @param replicaCount Number of Memcached nodes
165## @param containerPorts.memcached Memcached container port
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
180 initialDelaySeconds: 30
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
194 initialDelaySeconds: 5
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
208 initialDelaySeconds: 30
213## @param customLivenessProbe Custom livenessProbe that overrides the default one
215customLivenessProbe: {}
216## @param customReadinessProbe Custom readinessProbe that overrides the default one
218customReadinessProbe: {}
219## @param customStartupProbe Custom startupProbe that overrides the default one
221customStartupProbe: {}
222## @param lifecycleHooks for the Memcached container(s) to automate configuration before or after startup
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).
229resourcesPreset: "nano"
230## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
251 fsGroupChangePolicy: Always
253 supplementalGroups: []
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
268containerSecurityContext:
275 readOnlyRootFilesystem: true
276 allowPrivilegeEscalation: false
280 type: "RuntimeDefault"
281## @param automountServiceAccountToken Mount Service Account token in pod
283automountServiceAccountToken: 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/
288## @param hostNetwork Use host's network namespace
289## https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#hosts-namespaces
292## @param podLabels Extra labels for Memcached pods
293## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
296## @param podAnnotations Annotations for Memcached pods
297## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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
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
307podAntiAffinityPreset: soft
308## Node affinity preset
309## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
312 ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
315 ## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
317 ## key: "kubernetes.io/e2e-az-name"
320 ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
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
332## @param nodeSelector Node labels for pod assignment
333## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
336## @param tolerations Tolerations for pod assignment
337## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
343topologySpreadConstraints: []
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
347podManagementPolicy: 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/
352## @param schedulerName Kubernetes pod scheduler registry
353## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
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
359terminationGracePeriodSeconds: ""
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
367## @param emptyDir.medium Override emptyDir Volume type, defaults to emptyDir: {}
368## Possible values: "Memory", ""
371## @param extraVolumes Optionally specify extra list of additional volumes for the Memcached pod(s)
372## Example Use Case: mount certificates to enable TLS
375## - name: zookeeper-keystore
378## secretName: zookeeper-keystore
379## - name: zookeeper-truststore
382## secretName: zookeeper-truststore
385## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Memcached container(s)
386## Example Use Case: mount certificates to enable TLS
389## - name: zookeeper-keystore
390## mountPath: /certs/keystore
392## - name: zookeeper-truststore
393## mountPath: /certs/truststore
397## @param sidecars Add additional sidecar containers to the Memcached pod(s)
400## - name: your-image-name
402## imagePullPolicy: Always
405## containerPort: 1234
408## @param initContainers Add additional init containers to the Memcached pod(s)
411## - name: your-image-name
413## imagePullPolicy: Always
416## containerPort: 1234
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`.
423enableServiceLinks: 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
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
447## @section Traffic Exposure parameters
449 ## @param service.type Kubernetes Service type
452 ## @param service.ports.memcached Memcached service port
456 ## Node ports to expose
457 ## NOTE: choose port between <30000-32767>
458 ## @param service.nodePorts.memcached Node port for 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/
467 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
468 ## sessionAffinityConfig:
470 ## timeoutSeconds: 300
472 sessionAffinityConfig: {}
473 ## @param service.trafficDistribution Traffic distribution preference
474 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
476 trafficDistribution: ""
477 ## @param service.clusterIP Memcached service Cluster IP
482 ## @param service.loadBalancerIP Memcached service Load Balancer IP
483 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
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
489 ## loadBalancerSourceRanges:
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
496 externalTrafficPolicy: Cluster
497 ## @param service.annotations Additional custom annotations for Memcached service
500 ## @param service.extraPorts Extra ports to expose in the Memcached service (normally used with the `sidecar` value)
503## Network Policy configuration
504## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
507 ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
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).
515 ## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
517 allowExternalEgress: true
518 ## @param networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
520 addExternalClientAccess: true
521 ## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
531 ## - matchExpressions:
538 ## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
548 ## - matchExpressions:
555 ## @param networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
557 ## ingressPodMatchLabels:
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.
564 ingressNSMatchLabels: {}
565 ingressNSPodMatchLabels: {}
566## @section Other Parameters
568## Service account for Memcached to use.
569## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
572 ## @param serviceAccount.create Enable creation of ServiceAccount for Memcached pod
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
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
582 automountServiceAccountToken: false
583 ## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
586## @section Persistence parameters
588## Enable persistence using Persistent Volume Claims
589## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
592 ## @param persistence.enabled Enable Memcached data persistence using PVC. If false, use emptyDir
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)
603 ## @param persistence.accessModes PVC Access modes
607 ## @param persistence.size PVC Storage Request for Memcached data volume
610 ## @param persistence.annotations Annotations for the PVC
613 ## @param persistence.labels Labels for the PVC
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
624## @section Volume Permissions parameters
627## Init containers parameters:
628## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
631 ## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
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
643 repository: chainguard-private/os-shell-iamguarded
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/
652 ## - myRegistryKeySecretName
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).
659 resourcesPreset: "nano"
660 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
677 containerSecurityContext:
680## Prometheus Exporter / Metrics
683 ## @param metrics.enabled Start a side-car prometheus exporter
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
696 repository: chainguard-private/memcached-exporter-iamguarded
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/
705 ## - myRegistryKeySecretName
708 ## @param metrics.containerPorts.metrics Memcached Prometheus Exporter container port
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).
716 resourcesPreset: "nano"
717 ## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
741 containerSecurityContext:
748 readOnlyRootFilesystem: true
749 allowPrivilegeEscalation: false
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
765 initialDelaySeconds: 15
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
779 initialDelaySeconds: 5
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
793 initialDelaySeconds: 10
798 ## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
800 customLivenessProbe: {}
801 ## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
803 customReadinessProbe: {}
804 ## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
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/
811 prometheus.io/scrape: "true"
812 prometheus.io/port: "{{ .Values.metrics.containerPorts.metrics }}"
813 ## Service configuration
816 ## @param metrics.service.ports.metrics Prometheus metrics service port
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
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/
828 sessionAffinity: None
829 ## @param metrics.service.annotations [object] Annotations for the Prometheus metrics service
832 prometheus.io/scrape: "true"
833 prometheus.io/port: "{{ .Values.metrics.service.ports.metrics }}"
834 ## Prometheus Operator ServiceMonitor configuration
837 ## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using Prometheus Operator
840 ## @param metrics.serviceMonitor.namespace Namespace for the ServiceMonitor Resource (defaults to the Release 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
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
851 ## @param metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
854 ## @param metrics.serviceMonitor.podTargetLabels Labels from the Kubernetes pod to be transferred to the created metrics
856 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
859 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
862 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
864 metricRelabelings: []
865 ## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
868 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.