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 apiVersions Override Kubernetes API versions reported by .Capabilities
54## @param nameOverride String to partially override common.names.fullname
57## @param fullnameOverride String to fully override common.names.fullname
60## @param commonLabels Labels to add to all deployed objects
63## @param commonAnnotations Annotations to add to all deployed objects
66## @param clusterDomain Kubernetes cluster domain name
68clusterDomain: cluster.local
69## @param extraDeploy Array of extra objects to deploy with the release
72## @param namespaceOverride String to fully override common.names.namespace
75## @param usePasswordFiles Mount credentials as files instead of using environment variables
78## Enable diagnostic mode in the deployment
81 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
84 ## @param diagnosticMode.command Command to override all containers in the deployment
88 ## @param diagnosticMode.args Args to override all containers in the deployment
92## @section OpenSearch cluster Parameters
94## @param clusterName OpenSearch cluster name
97## @param containerPorts.restAPI OpenSearch REST API port
98## @param containerPorts.transport OpenSearch Transport port
103## @param plugins Comma, semi-colon or space separated list of plugins to install at initialization
106## @param snapshotRepoPath File System snapshot repository path
109## @param config Override opensearch configuration
112## @param extraConfig Append extra configuration to the opensearch node configuration
113## Use this instead of `config` to add more configuration
119## ref: https://www.open.co/guide/en/opensearch/reference/current/settings.html
122## @param extraHosts A list of external hosts which are part of this cluster
123## Example Use Case: When you have a cluster with nodes spanned across multiple K8s or namespaces
125## - datacenter2-opensearch-master-hl.namespace2.svc
126## - datacenter2-opensearch-data-hl.namespace2.svc
128## @param extraVolumes A list of volumes to be added to the pod
129## Example Use Case: mount ssl certificates when opensearch has tls enabled
134## secretName: es-certs
136## @param extraVolumeMounts A list of volume mounts to be added to the pod
142## @param initScripts Dictionary of init scripts. Evaluated as a template.
143## Specify dictionary of scripts to be run at first boot
144## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory
147## my_init_script.sh: |
149## echo "Do something."
151## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.
152## Note: This will override initScripts
155## @param initScriptsSecret Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time that contain sensitive data. Evaluated as a template.
158## @param extraEnvVars Array containing extra env vars to be added to all pods (evaluated as a template)
162## value: env_var_value
165## @param extraEnvVarsCM ConfigMap containing extra env vars to be added to all pods (evaluated as a template)
168## @param extraEnvVarsSecret Secret containing extra env vars to be added to all pods (evaluated as a template)
170extraEnvVarsSecret: ""
171## @param sidecars Add additional sidecar containers to the all opensearch node pod(s)
174## - name: your-image-name
176## imagePullPolicy: Always
179## containerPort: 1234
182## @param initContainers Add additional init containers to the all opensearch node pod(s)
183## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
186## - name: your-image-name
188## imagePullPolicy: Always
189## command: ['sh', '-c', 'echo "hello world"']
192## @param useIstioLabels Use this variable to add Istio labels to all pods
195## Iamguarded OpenSearch image
196## @param image.registry [default: REGISTRY_NAME] OpenSearch image registry
197## @param image.repository [default: REPOSITORY_NAME/opensearch] OpenSearch image repository
198## @skip image.tag OpenSearch image tag (immutable tags are recommended)
199## @param image.digest OpenSearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
200## @param image.pullPolicy OpenSearch image pull policy
201## @param image.pullSecrets OpenSearch image pull secrets
202## @param image.debug Enable OpenSearch image debug mode
206 repository: chainguard-private/opensearch-iamguarded
209 ## Specify a imagePullPolicy
210 ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
212 pullPolicy: IfNotPresent
213 ## Optionally specify an array of imagePullSecrets.
214 ## Secrets must be manually created in the namespace.
215 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
218 ## - myRegistryKeySecretName
224## X-Pack security parameters
225## Note: TLS configuration is required in order to configure password authentication
228 ## @param security.enabled Enable X-Pack Security settings
231 ## @param security.adminPassword Password for 'admin' user
234 ## @param security.logstashPassword Password for Logstash
237 ## @param security.existingSecret Name of the existing secret containing the OpenSearch password and
241 ## @param security.fipsMode Configure opensearch with FIPS 140 compliant mode
242 ## Ref: https://www.open.co/guide/en/opensearch/reference/current/fips-140-compliance.html
248 ## @section OpenSearch admin parameters
249 ## @param security.tls.admin.existingSecret Existing secret containing the certificates for admin
250 ## @param security.tls.admin.certKey Key containing the crt for admin certificate (defaults to admin.crt)
251 ## @param security.tls.admin.keyKey Key containing the key for admin certificate (defaults to admin.key)
257 ## @param security.tls.restEncryption Enable SSL/TLS encryption for OpenSearch REST API.
259 restEncryption: false
260 ## @param security.tls.autoGenerated Create self-signed TLS certificates.
261 ## NOTE: If autoGenerated certs are enabled and a new node type is enabled using helm upgrade, make sure you remove previously existing OpenSearch TLS secrets.
262 ## Otherwise, the new node certs won't match the existing certs.
265 ## @param security.tls.verificationMode Verification mode for SSL communications.
266 ## Supported values: full, certificate, none.
267 ## Ref: https://www.open.co/guide/en/opensearch/reference/current/security-settings.html
269 verificationMode: "full"
270 ## TLS configuration for master nodes
273 ## @param security.tls.master.existingSecret Existing secret containing the certificates for the master nodes
274 ## @param security.tls.master.certKey Key containing the crt for master nodes certificate (defaults to tls.crt)
275 ## @param security.tls.master.keyKey Key containing the key for master nodes certificate (defaults to tls.key)
276 ## @param security.tls.master.caKey Key containing the ca for master nodes certificate (defaults to ca.crt)
282 ## TLS configuration for data nodes
285 ## @param security.tls.data.existingSecret Existing secret containing the certificates for the data nodes
286 ## @param security.tls.data.certKey Key containing the crt for data nodes certificate (defaults to tls.crt)
287 ## @param security.tls.data.keyKey Key containing the key for data nodes certificate (defaults to tls.key)
288 ## @param security.tls.data.caKey Key containing the ca for data nodes certificate (defaults to ca.crt)
294 ## TLS configuration for ingest nodes
297 ## @param security.tls.ingest.existingSecret Existing secret containing the certificates for the ingest nodes
298 ## @param security.tls.ingest.certKey Key containing the crt for ingest nodes certificate (defaults to tls.crt)
299 ## @param security.tls.ingest.keyKey Key containing the key for ingest nodes certificate (defaults to tls.key)
300 ## @param security.tls.ingest.caKey Key containing the ca for ingest nodes certificate (defaults to ca.crt)
306 ## TLS configuration for coordinating nodes
309 ## @param security.tls.coordinating.existingSecret Existing secret containing the certificates for the coordinating nodes
310 ## @param security.tls.coordinating.certKey Key containing the crt for coordinating nodes certificate (defaults to tls.crt)
311 ## @param security.tls.coordinating.keyKey Key containing the key for coordinating nodes certificate (defaults to tls.key)
312 ## @param security.tls.coordinating.caKey Key containing the ca for coordinating nodes certificate (defaults to ca.crt)
318 ## @param security.tls.keystoreFilename Name of the keystore file
320 keystoreFilename: opensearch.keystore.jks
321 ## @param security.tls.truststoreFilename Name of the truststore
323 truststoreFilename: opensearch.truststore.jks
324 ## @param security.tls.usePemCerts Use this variable if your secrets contain PEM certificates instead of JKS/PKCS12
325 ## Ignored when using autoGenerated certs.
328 ## @param security.tls.passwordsSecret Existing secret containing the Keystore and Truststore passwords, or key password if PEM certs are used
331 ## @param security.tls.keystorePassword Password to access the JKS/PKCS12 keystore or PEM key when they are password-protected.
332 ## Ignored if security.tls.passwordsSecret is provided.
335 ## @param security.tls.truststorePassword Password to access the JKS/PKCS12 truststore when they are password-protected.
336 ## Ignored if security.tls.passwordsSecret is provided.
338 truststorePassword: ""
339 ## @param security.tls.keyPassword Password to access the PEM key when they are password-protected.
340 ## Ignored if security.tls.passwordsSecret is provided.
343 ## @param security.tls.secretKeystoreKey Name of the secret key containing the Keystore password
345 secretKeystoreKey: ""
346 ## @param security.tls.secretTruststoreKey Name of the secret key containing the Truststore password
348 secretTruststoreKey: ""
349 ## @param security.tls.secretKey Name of the secret key containing the PEM key password
352 ## @param security.tls.nodesDN A comma separated list of DN for nodes
353 ## e.g. nodesDN: "O=Example CA,C=SE,UID=c-5ca04c9328c8208704310f7c2ed16414"
357 ## @param security.tls.adminDN A comma separated list of DN for admins
358 ## Note that this parameter has lower priority than extraConfig.plugins.security.authcz.admin_dn and will be overridden if both parameters are set.
360 ## Also, due to specifics of the config bootstrap script implementation, spaces will be treated as separators.
361 ## For example, "CN=admin,O=Some Organisation,L=SomeCity,C=SomeCountry" will become:
364 ## - Organisation,L=SomeCity,C=SomeCountry
366 ## To avoid this, consider using extraConfig.plugins.security.authcz.admin_dn instead.
369 adminDN: "CN=admin;CN=admin"
370## @section Traffic Exposure Parameters
372## OpenSearch service parameters
375 ## @param service.type OpenSearch service type
378 ## @param service.ports.restAPI OpenSearch service REST API port
379 ## @param service.ports.transport OpenSearch service transport port
384 ## Node ports to expose
385 ## @param service.nodePorts.restAPI Node port for REST API
386 ## @param service.nodePorts.transport Node port for REST API
387 ## NOTE: choose port between <30000-32767>
392 ## @param service.clusterIP OpenSearch service Cluster IP
397 ## @param service.loadBalancerIP OpenSearch service Load Balancer IP
398 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
401 ## @param service.loadBalancerSourceRanges OpenSearch service Load Balancer sources
402 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
404 ## loadBalancerSourceRanges:
407 loadBalancerSourceRanges: []
408 ## @param service.externalTrafficPolicy OpenSearch service external traffic policy
409 ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
411 externalTrafficPolicy: Cluster
412 ## @param service.annotations Additional custom annotations for OpenSearch service
415 ## @param service.extraPorts Extra ports to expose in OpenSearch service (normally used with the `sidecars` value)
418 ## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
419 ## If "ClientIP", consecutive client requests will be directed to the same Pod
420 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
422 sessionAffinity: None
423 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
424 ## sessionAffinityConfig:
426 ## timeoutSeconds: 300
428 sessionAffinityConfig: {}
429## OpenSearch ingress parameters
430## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
433 ## @param ingress.enabled Enable ingress record generation for OpenSearch
436 ## @param ingress.pathType Ingress path type
438 pathType: ImplementationSpecific
439 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
442 ## @param ingress.hostname Default host for the ingress record
444 hostname: opensearch.local
445 ## @param ingress.path Default path for the ingress record
446 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
449 ## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
450 ## Use this parameter to set the required annotations for cert-manager, see
451 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
454 ## kubernetes.io/ingress.class: nginx
455 ## cert-manager.io/cluster-issuer: cluster-issuer-name
458 ## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
459 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
461 ## - Use the `ingress.secrets` parameter to create this TLS secret
462 ## - Rely on cert-manager to create it by setting the corresponding annotations
463 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
466 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
469 ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
470 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
471 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
474 ## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
477 ## - name: opensearch.local
481 ## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
486 ## serviceName: ssl-redirect
487 ## servicePort: use-annotation
490 ## @param ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
491 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
495 ## - opensearch.local
496 ## secretName: opensearch.local-tls
499 ## @param ingress.secrets Custom TLS certificates as secrets
500 ## NOTE: 'key' and 'certificate' are expected in PEM format
501 ## NOTE: 'name' should line up with a 'secretName' set further up
502 ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
503 ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
504 ## It is also possible to create and manage the certificates outside of this helm chart
505 ## Please see README.md for more information
508 ## - name: opensearch.local-tls
510 ## -----BEGIN RSA PRIVATE KEY-----
512 ## -----END RSA PRIVATE KEY-----
514 ## -----BEGIN CERTIFICATE-----
516 ## -----END CERTIFICATE-----
519 ## @param ingress.extraRules Additional rules to be covered with this ingress record
520 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
523 ## - host: example.local
533## @section Master-eligible nodes parameters
535 ## @param master.masterOnly Deploy the OpenSearch master-eligible nodes as master-only nodes. Recommended for high-demand deployments.
538 ## @param master.replicaCount Number of master-eligible replicas to deploy
541 ## @param master.extraRoles Append extra roles to the node role
544 ## Pod Disruption Budget configuration
545 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
546 ## @param master.pdb.create Enable/disable a Pod Disruption Budget creation
547 ## @param master.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
548 ## @param master.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `master.pdb.minAvailable` and `master.pdb.maxUnavailable` are empty.
554 ## @param master.nameOverride String to partially override opensearch.master.fullname
557 ## @param master.fullnameOverride String to fully override opensearch.master.fullname
560 ## @param master.servicenameOverride String to fully override opensearch.master.servicename
561 ## DEPRECATED: Use master.service.headless.nameOverride instead
563 servicenameOverride: ""
564 ## @param master.annotations [object] Annotations for the master statefulset
567 ## @param master.updateStrategy.type Master-eligible nodes statefulset strategy type
568 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
572 ## OpenSearch resource requests and limits
573 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
574 ## We usually recommend not to specify default resources and to leave this as a conscious
575 ## choice for the user. This also increases chances charts run on environments with little
576 ## resources, such as Minikube. If you do want to specify resources, uncomment the following
577 ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
578 ## @param master.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if master.resources is set (master.resources is recommended for production).
580 resourcesPreset: "medium"
581 ## @param master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
592 ## @param master.heapSize OpenSearch master-eligible node heap size.
593 ## Note: The recommended heapSize is half of the container's memory.
594 ## If omitted, it will be automatically set.
599 ## Configure Pods Security Context
600 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
601 ## @param master.podSecurityContext.enabled Enabled master-eligible pods' Security Context
602 ## @param master.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
603 ## @param master.podSecurityContext.sysctls Set kernel settings using the sysctl interface
604 ## @param master.podSecurityContext.supplementalGroups Set filesystem extra groups
605 ## @param master.podSecurityContext.fsGroup Set master-eligible pod's Security Context fsGroup
609 fsGroupChangePolicy: Always
611 supplementalGroups: []
613 ## Configure Container Security Context
614 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
615 ## @param master.containerSecurityContext.enabled Enabled containers' Security Context
616 ## @param master.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
617 ## @param master.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
618 ## @param master.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
619 ## @param master.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
620 ## @param master.containerSecurityContext.privileged Set container's Security Context privileged
621 ## @param master.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
622 ## @param master.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
623 ## @param master.containerSecurityContext.capabilities.drop List of capabilities to be dropped
624 ## @param master.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
626 containerSecurityContext:
633 readOnlyRootFilesystem: true
634 allowPrivilegeEscalation: false
638 type: "RuntimeDefault"
639 ## @param master.automountServiceAccountToken Mount Service Account token in pod
641 automountServiceAccountToken: false
642 ## @param master.hostAliases master-eligible pods host aliases
643 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
646 ## @param master.podLabels Extra labels for master-eligible pods
647 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
650 ## @param master.podAnnotations Annotations for master-eligible pods
651 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
654 ## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
655 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
657 podAffinityPreset: ""
658 ## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
659 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
661 podAntiAffinityPreset: ""
662 ## Node master.affinity preset
663 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
666 ## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
669 ## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
672 ## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
679 ## @param master.affinity Affinity for master-eligible pods assignment
680 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
681 ## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
684 ## @param master.nodeSelector Node labels for master-eligible pods assignment
685 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
688 ## @param master.tolerations Tolerations for master-eligible pods assignment
689 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
692 ## @param master.priorityClassName master-eligible pods' priorityClassName
694 priorityClassName: ""
695 ## @param master.schedulerName Name of the k8s scheduler (other than default) for master-eligible pods
696 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
699 ## @param master.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch Master pod needs to terminate gracefully
700 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
702 terminationGracePeriodSeconds: ""
703 ## @param master.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
704 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
706 topologySpreadConstraints: []
707 ## @param master.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch master pods
708 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
710 podManagementPolicy: "Parallel"
711 ## Configure extra options for OpenSearch master-eligible containers' liveness, readiness and startup probes
712 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
713 ## @param master.startupProbe.enabled Enable/disable the startup probe (master nodes pod)
714 ## @param master.startupProbe.initialDelaySeconds Delay before startup probe is initiated (master nodes pod)
715 ## @param master.startupProbe.periodSeconds How often to perform the probe (master nodes pod)
716 ## @param master.startupProbe.timeoutSeconds When the probe times out (master nodes pod)
717 ## @param master.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master nodes pod)
718 ## @param master.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
722 initialDelaySeconds: 90
727 ## @param master.livenessProbe.enabled Enable/disable the liveness probe (master-eligible nodes pod)
728 ## @param master.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (master-eligible nodes pod)
729 ## @param master.livenessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
730 ## @param master.livenessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
731 ## @param master.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
732 ## @param master.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
736 initialDelaySeconds: 180
741 ## @param master.readinessProbe.enabled Enable/disable the readiness probe (master-eligible nodes pod)
742 ## @param master.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (master-eligible nodes pod)
743 ## @param master.readinessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
744 ## @param master.readinessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
745 ## @param master.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
746 ## @param master.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
750 initialDelaySeconds: 90
755 ## @param master.customStartupProbe Override default startup probe
757 customStartupProbe: {}
758 ## @param master.customLivenessProbe Override default liveness probe
760 customLivenessProbe: {}
761 ## @param master.customReadinessProbe Override default readiness probe
763 customReadinessProbe: {}
764 ## @param master.command Override default container command (useful when using custom images)
767 ## @param master.args Override default container args (useful when using custom images)
770 ## @param master.lifecycleHooks for the master-eligible container(s) to automate configuration before or after startup
773 ## @param master.extraEnvVars Array with extra environment variables to add to master-eligible nodes
780 ## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for master-eligible nodes
783 ## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for master-eligible nodes
785 extraEnvVarsSecret: ""
786 ## @param master.extraVolumes Optionally specify extra list of additional volumes for the master-eligible pod(s)
789 ## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the master-eligible container(s)
791 extraVolumeMounts: []
792 ## @param master.sidecars Add additional sidecar containers to the master-eligible pod(s)
795 ## - name: your-image-name
797 ## imagePullPolicy: Always
800 ## containerPort: 1234
803 ## @param master.initContainers Add additional init containers to the master-eligible pod(s)
804 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
807 ## - name: your-image-name
809 ## imagePullPolicy: Always
810 ## command: ['sh', '-c', 'echo "hello world"']
813 ## Enable persistence using Persistent Volume Claims
814 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
817 ## @param master.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
820 ## @param master.persistence.storageClass Persistent Volume Storage Class
821 ## If defined, storageClassName: <storageClass>
822 ## If set to "-", storageClassName: "", which disables dynamic provisioning
823 ## If undefined (the default) or set to null, no storageClassName spec is
824 ## set, choosing the default provisioner. (gp2 on AWS, standard on
825 ## GKE, AWS & OpenStack)
828 ## @param master.persistence.existingClaim Existing Persistent Volume Claim
829 ## then accept the value as an existing Persistent Volume Claim to which
830 ## the container should be bound
833 ## @param master.persistence.volumeName Name of the data volume and of the `volumeClaimTemplate`
834 ## The StatefulSet names its PVCs <volumeName>-<StatefulSet name>-<ordinal> and reuses
835 ## existing PVCs with those names, for example PVCs created by another chart.
836 ## Set this at install time: a StatefulSet's volumeClaimTemplates cannot be changed, so
837 ## changing this value on an installed release makes the upgrade fail.
840 ## @param master.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `master.persistence.selector` is set.
843 ## @param master.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume`
849 ## @param master.persistence.annotations Persistent Volume Claim annotations
852 ## @param master.persistence.accessModes Persistent Volume Access Modes
856 ## @param master.persistence.size Persistent Volume Size
859 ## Pods Service Account
860 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
861 ## @param master.serviceAccount.create Specifies whether a ServiceAccount should be created
862 ## @param master.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
863 ## @param master.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
864 ## @param master.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
869 automountServiceAccountToken: false
871 ## Network Policy configuration
872 ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
875 ## @param master.networkPolicy.enabled Enable creation of NetworkPolicy resources
878 ## @param master.networkPolicy.allowExternal The Policy model to apply
879 ## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
880 ## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
883 ## @param master.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
885 allowExternalEgress: true
886 ## @param master.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
896 ## - matchExpressions:
903 ## @param master.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
913 ## - matchExpressions:
920 ## @param master.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
921 ## @param master.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
923 ingressNSMatchLabels: {}
924 ingressNSPodMatchLabels: {}
927 ## @param master.autoscaling.vpa.enabled Enable VPA
930 ## @param master.autoscaling.vpa.annotations Annotations for VPA resource
933 ## @param master.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
935 controlledResources: []
936 ## @param master.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
940 ## @param master.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
945 ## @param master.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
946 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
950 ## @param master.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
953 ## @param master.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
956 ## @param master.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
959 ## @param master.autoscaling.hpa.targetCPU Target CPU utilization percentage
962 ## @param master.autoscaling.hpa.targetMemory Target Memory utilization percentage
965 ## Master-eligible service parameters
968 ## Headless service properties
971 ## @param master.service.headless.annotations Annotations for the Master-eligible headless service.
974 ## @param master.service.headless.nameOverride String to fully override opensearch.master.servicename
977 ## @param master.service.headless.trafficDistribution String Traffic distribution for the master headless service
978 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
980 trafficDistribution: "PreferClose"
981 ## Metrics configuration for master-eligible node
984 ## @param master.metrics.enabled Enable master-eligible node metrics
988 ## @param master.metrics.service.ports.metrics master-eligible node metrics service port
992 ## @param master.metrics.service.clusterIP master-eligible node metrics service Cluster IP
997 ## master-eligible node metrics service monitor configuration
1000 ## @param master.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1003 ## @param master.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1005 ## namespace: monitoring
1008 ## @param master.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1011 ## @param master.metrics.serviceMonitor.interval Interval at which metrics should be scraped
1012 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1015 ## @param master.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1016 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1019 ## @param master.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1020 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1023 ## @param master.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1024 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1026 metricRelabelings: []
1027 ## @param master.metrics.serviceMonitor.selector ServiceMonitor selector labels
1030 ## prometheus: my-prometheus
1033 ## @param master.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1036 ## Rules for PrometheusRule object if enabled
1039 ## @param master.metrics.rules.enabled Enable render extra rules for PrometheusRule object
1040 ## @param master.metrics.rules.spec Rules to render into the PrometheusRule object
1041 ## @param master.metrics.rules.selector Selector for the PrometheusRule object
1042 ## @param master.metrics.rules.namespace Namespace where to create the PrometheusRule object
1043 ## @param master.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
1048 ## - alert: ArgoAppMissing
1050 ## absent(argocd_app_info)
1053 ## severity: critical
1055 ## summary: "[ArgoCD] No reported applications"
1057 ## ArgoCD has not reported any applications data for the past 15 minutes which
1058 ## means that it must be down or not functioning properly. This needs to be
1059 ## resolved for this cloud to continue to maintain state.
1060 ## - alert: ArgoAppNotSynced
1062 ## argocd_app_info{sync_status!="Synced"} == 1
1065 ## severity: warning
1067 ## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
1069 ## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
1070 ## 12 hours which means that the state of this cloud has drifted away from the
1071 ## state inside Git.
1076 ## prometheus: kube-prometheus
1079 namespace: monitoring
1080 additionalLabels: {}
1081## @section Data-only nodes parameters
1083 ## @param data.replicaCount Number of data-only replicas to deploy
1086 ## @param data.extraRoles Append extra roles to the node role
1089 ## Pod Disruption Budget configuration
1090 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1091 ## @param data.pdb.create Enable/disable a Pod Disruption Budget creation
1092 ## @param data.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1093 ## @param data.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `data.pdb.minAvailable` and `data.pdb.maxUnavailable` are empty.
1099 ## @param data.nameOverride String to partially override opensearch.data.fullname
1102 ## @param data.fullnameOverride String to fully override opensearch.data.fullname
1104 fullnameOverride: ""
1105 ## @param data.servicenameOverride String to fully override opensearch.data.servicename
1106 ## DEPRECATED: Use data.service.headless.nameOverride instead
1108 servicenameOverride: ""
1109 ## @param data.annotations [object] Annotations for the data statefulset
1112 ## @param data.updateStrategy.type Data-only nodes statefulset strategy type
1113 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1117 ## OpenSearch resource requests and limits
1118 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1119 ## @param data.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if data.resources is set (data.resources is recommended for production).
1121 resourcesPreset: "large"
1122 ## @param data.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1133 ## @param data.heapSize OpenSearch data node heap size.
1134 ## Note: The recommended heapSize is half of the container's memory.
1135 ## If omitted, it will be automatically set.
1140 ## Configure Pods Security Context
1141 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1142 ## @param data.podSecurityContext.enabled Enabled data pods' Security Context
1143 ## @param data.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1144 ## @param data.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1145 ## @param data.podSecurityContext.supplementalGroups Set filesystem extra groups
1146 ## @param data.podSecurityContext.fsGroup Set data pod's Security Context fsGroup
1150 fsGroupChangePolicy: Always
1152 supplementalGroups: []
1154 ## Configure Container Security Context
1155 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1156 ## @param data.containerSecurityContext.enabled Enabled containers' Security Context
1157 ## @param data.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1158 ## @param data.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1159 ## @param data.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1160 ## @param data.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1161 ## @param data.containerSecurityContext.privileged Set container's Security Context privileged
1162 ## @param data.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1163 ## @param data.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1164 ## @param data.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1165 ## @param data.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1167 containerSecurityContext:
1174 readOnlyRootFilesystem: true
1175 allowPrivilegeEscalation: false
1179 type: "RuntimeDefault"
1180 ## @param data.automountServiceAccountToken Mount Service Account token in pod
1182 automountServiceAccountToken: false
1183 ## @param data.hostAliases data pods host aliases
1184 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1187 ## @param data.podLabels Extra labels for data pods
1188 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1191 ## @param data.podAnnotations Annotations for data pods
1192 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1195 ## @param data.podAffinityPreset Pod affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1196 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1198 podAffinityPreset: ""
1199 ## @param data.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1200 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1202 podAntiAffinityPreset: ""
1203 ## Node data.affinity preset
1204 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1207 ## @param data.nodeAffinityPreset.type Node affinity preset type. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1210 ## @param data.nodeAffinityPreset.key Node label key to match. Ignored if `data.affinity` is set
1213 ## @param data.nodeAffinityPreset.values Node label values to match. Ignored if `data.affinity` is set
1220 ## @param data.affinity Affinity for data pods assignment
1221 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1222 ## NOTE: `data.podAffinityPreset`, `data.podAntiAffinityPreset`, and `data.nodeAffinityPreset` will be ignored when it's set
1225 ## @param data.nodeSelector Node labels for data pods assignment
1226 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1229 ## @param data.tolerations Tolerations for data pods assignment
1230 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1233 ## @param data.priorityClassName data pods' priorityClassName
1235 priorityClassName: ""
1236 ## @param data.schedulerName Name of the k8s scheduler (other than default) for data pods
1237 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1240 ## @param data.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch data pod needs to terminate gracefully
1241 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1243 terminationGracePeriodSeconds: ""
1244 ## @param data.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1245 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1247 topologySpreadConstraints: []
1248 ## @param data.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch data pods
1249 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1251 podManagementPolicy: "Parallel"
1252 ## Configure extra options for OpenSearch data containers' liveness, readiness and startup probes
1253 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1254 ## @param data.startupProbe.enabled Enable/disable the startup probe (data nodes pod)
1255 ## @param data.startupProbe.initialDelaySeconds Delay before startup probe is initiated (data nodes pod)
1256 ## @param data.startupProbe.periodSeconds How often to perform the probe (data nodes pod)
1257 ## @param data.startupProbe.timeoutSeconds When the probe times out (data nodes pod)
1258 ## @param data.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1259 ## @param data.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1263 initialDelaySeconds: 90
1268 ## @param data.livenessProbe.enabled Enable/disable the liveness probe (data nodes pod)
1269 ## @param data.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (data nodes pod)
1270 ## @param data.livenessProbe.periodSeconds How often to perform the probe (data nodes pod)
1271 ## @param data.livenessProbe.timeoutSeconds When the probe times out (data nodes pod)
1272 ## @param data.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1273 ## @param data.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1277 initialDelaySeconds: 180
1282 ## @param data.readinessProbe.enabled Enable/disable the readiness probe (data nodes pod)
1283 ## @param data.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (data nodes pod)
1284 ## @param data.readinessProbe.periodSeconds How often to perform the probe (data nodes pod)
1285 ## @param data.readinessProbe.timeoutSeconds When the probe times out (data nodes pod)
1286 ## @param data.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1287 ## @param data.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1291 initialDelaySeconds: 90
1296 ## @param data.customStartupProbe Override default startup probe
1298 customStartupProbe: {}
1299 ## @param data.customLivenessProbe Override default liveness probe
1301 customLivenessProbe: {}
1302 ## @param data.customReadinessProbe Override default readiness probe
1304 customReadinessProbe: {}
1305 ## @param data.command Override default container command (useful when using custom images)
1308 ## @param data.args Override default container args (useful when using custom images)
1311 ## @param data.lifecycleHooks for the data container(s) to automate configuration before or after startup
1314 ## @param data.extraEnvVars Array with extra environment variables to add to data nodes
1321 ## @param data.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
1324 ## @param data.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
1326 extraEnvVarsSecret: ""
1327 ## @param data.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
1330 ## @param data.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
1332 extraVolumeMounts: []
1333 ## @param data.sidecars Add additional sidecar containers to the data pod(s)
1336 ## - name: your-image-name
1337 ## image: your-image
1338 ## imagePullPolicy: Always
1341 ## containerPort: 1234
1344 ## @param data.initContainers Add additional init containers to the data pod(s)
1345 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1348 ## - name: your-image-name
1349 ## image: your-image
1350 ## imagePullPolicy: Always
1351 ## command: ['sh', '-c', 'echo "hello world"']
1354 ## Enable persistence using Persistent Volume Claims
1355 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1358 ## @param data.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
1361 ## @param data.persistence.storageClass Persistent Volume Storage Class
1362 ## If defined, storageClassName: <storageClass>
1363 ## If set to "-", storageClassName: "", which disables dynamic provisioning
1364 ## If undefined (the default) or set to null, no storageClassName spec is
1365 ## set, choosing the default provisioner. (gp2 on AWS, standard on
1366 ## GKE, AWS & OpenStack)
1369 ## @param data.persistence.existingClaim Existing Persistent Volume Claim
1370 ## then accept the value as an existing Persistent Volume Claim to which
1371 ## the container should be bound
1374 ## @param data.persistence.volumeName Name of the data volume and of the `volumeClaimTemplate`
1375 ## The StatefulSet names its PVCs <volumeName>-<StatefulSet name>-<ordinal> and reuses
1376 ## existing PVCs with those names, for example PVCs created by another chart.
1377 ## Set this at install time: a StatefulSet's volumeClaimTemplates cannot be changed, so
1378 ## changing this value on an installed release makes the upgrade fail.
1381 ## @param data.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `data.persistence.selector` is set.
1384 ## @param data.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `data.persistence.existingVolume`
1390 ## @param data.persistence.annotations Persistent Volume Claim annotations
1393 ## @param data.persistence.accessModes Persistent Volume Access Modes
1397 ## @param data.persistence.size Persistent Volume Size
1400 ## Pods Service Account
1401 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1402 ## @param data.serviceAccount.create Specifies whether a ServiceAccount should be created
1403 ## @param data.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1404 ## @param data.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1405 ## @param data.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1410 automountServiceAccountToken: false
1412 ## Network Policy configuration
1413 ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1416 ## @param data.networkPolicy.enabled Enable creation of NetworkPolicy resources
1419 ## @param data.networkPolicy.allowExternal The Policy model to apply
1420 ## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
1421 ## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
1424 ## @param data.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1426 allowExternalEgress: true
1427 ## @param data.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1437 ## - matchExpressions:
1444 ## @param data.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1454 ## - matchExpressions:
1461 ## @param data.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1462 ## @param data.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1464 ingressNSMatchLabels: {}
1465 ingressNSPodMatchLabels: {}
1468 ## @param data.autoscaling.vpa.enabled Enable VPA
1471 ## @param data.autoscaling.vpa.annotations Annotations for VPA resource
1474 ## @param data.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1476 controlledResources: []
1477 ## @param data.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1481 ## @param data.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1486 ## @param data.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1487 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
1491 ## @param data.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
1494 ## @param data.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
1497 ## @param data.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
1500 ## @param data.autoscaling.hpa.targetCPU Target CPU utilization percentage
1503 ## @param data.autoscaling.hpa.targetMemory Target Memory utilization percentage
1506 ## Data service parameters
1509 ## Headless service properties
1512 ## @param data.service.headless.annotations Annotations for the data headless service.
1515 ## @param data.service.headless.nameOverride String to fully override opensearch.data.servicename
1518 ## @param data.service.headless.trafficDistribution String Traffic distribution for the data headless service
1519 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
1521 trafficDistribution: "PreferClose"
1522 ## Metrics configuration for data node
1525 ## @param data.metrics.enabled Enable data node metrics
1529 ## @param data.metrics.service.ports.metrics data node metrics service port
1533 ## @param data.metrics.service.clusterIP data node metrics service Cluster IP
1538 ## data node metrics service monitor configuration
1541 ## @param data.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1544 ## @param data.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1546 ## namespace: monitoring
1549 ## @param data.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1552 ## @param data.metrics.serviceMonitor.interval Interval at which metrics should be scraped
1553 ## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#endpoint
1556 ## @param data.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1557 ## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#endpoint
1560 ## @param data.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1561 ## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#relabelconfig
1564 ## @param data.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1565 ## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#relabelconfig
1567 metricRelabelings: []
1568 ## @param data.metrics.serviceMonitor.selector ServiceMonitor selector labels
1571 ## prometheus: my-prometheus
1574 ## @param data.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1577 ## Rules for PrometheusRule object if enabled
1580 ## @param data.metrics.rules.enabled Enable render extra rules for PrometheusRule object
1581 ## @param data.metrics.rules.spec Rules to render into the PrometheusRule object
1582 ## @param data.metrics.rules.selector Selector for the PrometheusRule object
1583 ## @param data.metrics.rules.namespace Namespace where to create the PrometheusRule object
1584 ## @param data.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
1589 ## - alert: ArgoAppMissing
1591 ## absent(argocd_app_info)
1594 ## severity: critical
1596 ## summary: "[ArgoCD] No reported applications"
1598 ## ArgoCD has not reported any applications data for the past 15 minutes which
1599 ## means that it must be down or not functioning properly. This needs to be
1600 ## resolved for this cloud to continue to maintain state.
1601 ## - alert: ArgoAppNotSynced
1603 ## argocd_app_info{sync_status!="Synced"} == 1
1606 ## severity: warning
1608 ## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
1610 ## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
1611 ## 12 hours which means that the state of this cloud has drifted away from the
1612 ## state inside Git.
1617 ## prometheus: kube-prometheus
1620 namespace: monitoring
1621 additionalLabels: {}
1622## @section Coordinating-only nodes parameters
1624 ## @param coordinating.replicaCount Number of coordinating-only replicas to deploy
1627 ## @param coordinating.extraRoles Append extra roles to the node role
1628 ## NOTE: In OpenSearch, all nodes act as coordinators, coordinating-only nodes do not have any other role by default.
1631 ## Pod Disruption Budget configuration
1632 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1633 ## @param coordinating.pdb.create Enable/disable a Pod Disruption Budget creation
1634 ## @param coordinating.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1635 ## @param coordinating.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `coordinating.pdb.minAvailable` and `coodinating.pdb.maxUnavailable` are empty.
1641 ## @param coordinating.nameOverride String to partially override opensearch.coordinating.fullname
1644 ## @param coordinating.fullnameOverride String to fully override opensearch.coordinating.fullname
1646 fullnameOverride: ""
1647 ## @param coordinating.servicenameOverride String to fully override opensearch.coordinating.servicename
1648 ## DEPRECATED: Use coordinating.service.headless.nameOverride instead
1650 servicenameOverride: ""
1651 ## @param coordinating.annotations [object] Annotations for the coordinating-only statefulset
1654 ## @param coordinating.updateStrategy.type Coordinating-only nodes statefulset strategy type
1655 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1659 ## OpenSearch resource requests and limits
1660 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1661 ## @param coordinating.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if coordinating.resources is set (coordinating.resources is recommended for production).
1663 resourcesPreset: "medium"
1664 ## @param coordinating.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1675 ## @param coordinating.heapSize OpenSearch coordinating node heap size.
1676 ## Note: The recommended heapSize is half of the container's memory.
1677 ## If omitted, it will be automatically set.
1682 ## Configure Pods Security Context
1683 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1684 ## @param coordinating.podSecurityContext.enabled Enabled coordinating-only pods' Security Context
1685 ## @param coordinating.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1686 ## @param coordinating.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1687 ## @param coordinating.podSecurityContext.supplementalGroups Set filesystem extra groups
1688 ## @param coordinating.podSecurityContext.fsGroup Set coordinating-only pod's Security Context fsGroup
1692 fsGroupChangePolicy: Always
1694 supplementalGroups: []
1696 ## Configure Container Security Context
1697 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1698 ## @param coordinating.containerSecurityContext.enabled Enabled containers' Security Context
1699 ## @param coordinating.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1700 ## @param coordinating.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1701 ## @param coordinating.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1702 ## @param coordinating.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1703 ## @param coordinating.containerSecurityContext.privileged Set container's Security Context privileged
1704 ## @param coordinating.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1705 ## @param coordinating.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1706 ## @param coordinating.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1707 ## @param coordinating.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1709 containerSecurityContext:
1716 readOnlyRootFilesystem: true
1717 allowPrivilegeEscalation: false
1721 type: "RuntimeDefault"
1722 ## @param coordinating.automountServiceAccountToken Mount Service Account token in pod
1724 automountServiceAccountToken: false
1725 ## @param coordinating.hostAliases coordinating-only pods host aliases
1726 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1729 ## @param coordinating.podLabels Extra labels for coordinating-only pods
1730 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1733 ## @param coordinating.podAnnotations Annotations for coordinating-only pods
1734 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1737 ## @param coordinating.podAffinityPreset Pod affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1738 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1740 podAffinityPreset: ""
1741 ## @param coordinating.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1742 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1744 podAntiAffinityPreset: ""
1745 ## Node coordinating.affinity preset
1746 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1749 ## @param coordinating.nodeAffinityPreset.type Node affinity preset type. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1752 ## @param coordinating.nodeAffinityPreset.key Node label key to match. Ignored if `coordinating.affinity` is set
1755 ## @param coordinating.nodeAffinityPreset.values Node label values to match. Ignored if `coordinating.affinity` is set
1762 ## @param coordinating.affinity Affinity for coordinating-only pods assignment
1763 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1764 ## NOTE: `coordinating.podAffinityPreset`, `coordinating.podAntiAffinityPreset`, and `coordinating.nodeAffinityPreset` will be ignored when it's set
1767 ## @param coordinating.nodeSelector Node labels for coordinating-only pods assignment
1768 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1771 ## @param coordinating.tolerations Tolerations for coordinating-only pods assignment
1772 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1775 ## @param coordinating.priorityClassName coordinating-only pods' priorityClassName
1777 priorityClassName: ""
1778 ## @param coordinating.schedulerName Name of the k8s scheduler (other than default) for coordinating-only pods
1779 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1782 ## @param coordinating.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch coordinating pod needs to terminate gracefully
1783 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1785 terminationGracePeriodSeconds: ""
1786 ## @param coordinating.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1787 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1789 topologySpreadConstraints: []
1790 ## @param coordinating.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch coordinating pods
1791 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1793 podManagementPolicy: "Parallel"
1794 ## Configure extra options for OpenSearch coordinating-only containers' liveness, readiness and startup probes
1795 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1796 ## @param coordinating.startupProbe.enabled Enable/disable the startup probe (coordinating-only nodes pod)
1797 ## @param coordinating.startupProbe.initialDelaySeconds Delay before startup probe is initiated (coordinating-only nodes pod)
1798 ## @param coordinating.startupProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1799 ## @param coordinating.startupProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1800 ## @param coordinating.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1801 ## @param coordinating.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1805 initialDelaySeconds: 90
1810 ## @param coordinating.livenessProbe.enabled Enable/disable the liveness probe (coordinating-only nodes pod)
1811 ## @param coordinating.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (coordinating-only nodes pod)
1812 ## @param coordinating.livenessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1813 ## @param coordinating.livenessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1814 ## @param coordinating.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1815 ## @param coordinating.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1819 initialDelaySeconds: 180
1824 ## @param coordinating.readinessProbe.enabled Enable/disable the readiness probe (coordinating-only nodes pod)
1825 ## @param coordinating.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (coordinating-only nodes pod)
1826 ## @param coordinating.readinessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1827 ## @param coordinating.readinessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1828 ## @param coordinating.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1829 ## @param coordinating.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1833 initialDelaySeconds: 90
1838 ## @param coordinating.customStartupProbe Override default startup probe
1840 customStartupProbe: {}
1841 ## @param coordinating.customLivenessProbe Override default liveness probe
1843 customLivenessProbe: {}
1844 ## @param coordinating.customReadinessProbe Override default readiness probe
1846 customReadinessProbe: {}
1847 ## @param coordinating.command Override default container command (useful when using custom images)
1850 ## @param coordinating.args Override default container args (useful when using custom images)
1853 ## @param coordinating.lifecycleHooks for the coordinating-only container(s) to automate configuration before or after startup
1856 ## @param coordinating.extraEnvVars Array with extra environment variables to add to coordinating-only nodes
1863 ## @param coordinating.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for coordinating-only nodes
1866 ## @param coordinating.extraEnvVarsSecret Name of existing Secret containing extra env vars for coordinating-only nodes
1868 extraEnvVarsSecret: ""
1869 ## @param coordinating.extraVolumes Optionally specify extra list of additional volumes for the coordinating-only pod(s)
1872 ## @param coordinating.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the coordinating-only container(s)
1874 extraVolumeMounts: []
1875 ## @param coordinating.sidecars Add additional sidecar containers to the coordinating-only pod(s)
1878 ## - name: your-image-name
1879 ## image: your-image
1880 ## imagePullPolicy: Always
1883 ## containerPort: 1234
1886 ## @param coordinating.initContainers Add additional init containers to the coordinating-only pod(s)
1887 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1890 ## - name: your-image-name
1891 ## image: your-image
1892 ## imagePullPolicy: Always
1893 ## command: ['sh', '-c', 'echo "hello world"']
1896 ## Pods Service Account
1897 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1898 ## @param coordinating.serviceAccount.create Specifies whether a ServiceAccount should be created
1899 ## @param coordinating.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1900 ## @param coordinating.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1901 ## @param coordinating.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1906 automountServiceAccountToken: false
1908 ## Network Policy configuration
1909 ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1912 ## @param coordinating.networkPolicy.enabled Enable creation of NetworkPolicy resources
1915 ## @param coordinating.networkPolicy.allowExternal The Policy model to apply
1916 ## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
1917 ## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
1920 ## @param coordinating.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1922 allowExternalEgress: true
1923 ## @param coordinating.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1933 ## - matchExpressions:
1940 ## @param coordinating.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1950 ## - matchExpressions:
1957 ## @param coordinating.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1958 ## @param coordinating.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1960 ingressNSMatchLabels: {}
1961 ingressNSPodMatchLabels: {}
1964 ## @param coordinating.autoscaling.vpa.enabled Enable VPA
1967 ## @param coordinating.autoscaling.vpa.annotations Annotations for VPA resource
1970 ## @param coordinating.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1972 controlledResources: []
1973 ## @param coordinating.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1977 ## @param coordinating.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1982 ## @param coordinating.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1983 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
1987 ## @param coordinating.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
1990 ## @param coordinating.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
1993 ## @param coordinating.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
1996 ## @param coordinating.autoscaling.hpa.targetCPU Target CPU utilization percentage
1999 ## @param coordinating.autoscaling.hpa.targetMemory Target Memory utilization percentage
2002 ## Coordinating-only service parameters
2005 ## Headless service properties
2008 ## @param coordinating.service.headless.annotations Annotations for the coordinating-only headless service.
2011 ## @param coordinating.service.headless.nameOverride String to fully override opensearch.coordinating.servicename
2014 ## @param coordinating.service.headless.trafficDistribution String Traffic distribution for the coordinating headless service
2015 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
2017 trafficDistribution: "PreferClose"
2018 ## Metrics configuration for coordinating node
2021 ## @param coordinating.metrics.enabled Enable coordinating node metrics
2025 ## @param coordinating.metrics.service.ports.metrics coordinating node metrics service port
2029 ## @param coordinating.metrics.service.clusterIP coordinating node metrics service Cluster IP
2034 ## coordinating node metrics service monitor configuration
2037 ## @param coordinating.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2040 ## @param coordinating.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2042 ## namespace: monitoring
2045 ## @param coordinating.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2048 ## @param coordinating.metrics.serviceMonitor.interval Interval at which metrics should be scraped
2049 ## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#endpoint
2052 ## @param coordinating.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2053 ## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#endpoint
2056 ## @param coordinating.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2057 ## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#relabelconfig
2060 ## @param coordinating.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2061 ## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#relabelconfig
2063 metricRelabelings: []
2064 ## @param coordinating.metrics.serviceMonitor.selector ServiceMonitor selector labels
2067 ## prometheus: my-prometheus
2070 ## @param coordinating.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2073 ## Rules for PrometheusRule object if enabled
2076 ## @param coordinating.metrics.rules.enabled Enable render extra rules for PrometheusRule object
2077 ## @param coordinating.metrics.rules.spec Rules to render into the PrometheusRule object
2078 ## @param coordinating.metrics.rules.selector Selector for the PrometheusRule object
2079 ## @param coordinating.metrics.rules.namespace Namespace where to create the PrometheusRule object
2080 ## @param coordinating.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
2085 ## - alert: ArgoAppMissing
2087 ## absent(argocd_app_info)
2090 ## severity: critical
2092 ## summary: "[ArgoCD] No reported applications"
2094 ## ArgoCD has not reported any applications data for the past 15 minutes which
2095 ## means that it must be down or not functioning properly. This needs to be
2096 ## resolved for this cloud to continue to maintain state.
2097 ## - alert: ArgoAppNotSynced
2099 ## argocd_app_info{sync_status!="Synced"} == 1
2102 ## severity: warning
2104 ## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
2106 ## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
2107 ## 12 hours which means that the state of this cloud has drifted away from the
2108 ## state inside Git.
2113 ## prometheus: kube-prometheus
2116 namespace: monitoring
2117 additionalLabels: {}
2118## @section Ingest-only nodes parameters
2120 ## @param ingest.enabled Enable ingest nodes
2123 ## @param ingest.replicaCount Number of ingest-only replicas to deploy
2126 ## @param ingest.extraRoles Append extra roles to the node role
2129 ## Pod Disruption Budget configuration
2130 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
2131 ## @param ingest.pdb.create Enable/disable a Pod Disruption Budget creation
2132 ## @param ingest.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
2133 ## @param ingest.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `ingest.pdb.minAvailable` and `ingest.pdb.maxUnavailable` are empty.
2139 ## @param ingest.nameOverride String to partially override opensearch.ingest.fullname
2142 ## @param ingest.fullnameOverride String to fully override opensearch.ingest.fullname
2144 fullnameOverride: ""
2145 ## @param ingest.servicenameOverride String to fully override opensearch.ingest.servicename
2146 ## DEPRECATED: Use ingest.service.headless.nameOverride instead
2148 servicenameOverride: ""
2149 ## @param ingest.annotations [object] Annotations for the ingest statefulset
2152 ## @param ingest.updateStrategy.type Ingest-only nodes statefulset strategy type
2153 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
2157 ## OpenSearch resource requests and limits
2158 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2159 ## @param ingest.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if ingest.resources is set (ingest.resources is recommended for production).
2161 resourcesPreset: "medium"
2162 ## @param ingest.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2173 ## @param ingest.heapSize OpenSearch ingest-only node heap size.
2174 ## Note: The recommended heapSize is half of the container's memory.
2175 ## If omitted, it will be automatically set.
2180 ## Configure Pods Security Context
2181 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2182 ## @param ingest.podSecurityContext.enabled Enabled ingest-only pods' Security Context
2183 ## @param ingest.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2184 ## @param ingest.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2185 ## @param ingest.podSecurityContext.supplementalGroups Set filesystem extra groups
2186 ## @param ingest.podSecurityContext.fsGroup Set ingest-only pod's Security Context fsGroup
2190 fsGroupChangePolicy: Always
2192 supplementalGroups: []
2194 ## Configure Container Security Context
2195 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2196 ## @param ingest.containerSecurityContext.enabled Enabled containers' Security Context
2197 ## @param ingest.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2198 ## @param ingest.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2199 ## @param ingest.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2200 ## @param ingest.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
2201 ## @param ingest.containerSecurityContext.privileged Set container's Security Context privileged
2202 ## @param ingest.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
2203 ## @param ingest.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
2204 ## @param ingest.containerSecurityContext.capabilities.drop List of capabilities to be dropped
2205 ## @param ingest.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
2207 containerSecurityContext:
2214 readOnlyRootFilesystem: true
2215 allowPrivilegeEscalation: false
2219 type: "RuntimeDefault"
2220 ## @param ingest.automountServiceAccountToken Mount Service Account token in pod
2222 automountServiceAccountToken: false
2223 ## @param ingest.hostAliases ingest-only pods host aliases
2224 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2227 ## @param ingest.podLabels Extra labels for ingest-only pods
2228 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2231 ## @param ingest.podAnnotations Annotations for ingest-only pods
2232 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2235 ## @param ingest.podAffinityPreset Pod affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2236 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2238 podAffinityPreset: ""
2239 ## @param ingest.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2240 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2242 podAntiAffinityPreset: ""
2243 ## Node ingest.affinity preset
2244 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2247 ## @param ingest.nodeAffinityPreset.type Node affinity preset type. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2250 ## @param ingest.nodeAffinityPreset.key Node label key to match. Ignored if `ingest.affinity` is set
2253 ## @param ingest.nodeAffinityPreset.values Node label values to match. Ignored if `ingest.affinity` is set
2260 ## @param ingest.affinity Affinity for ingest-only pods assignment
2261 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2262 ## NOTE: `ingest.podAffinityPreset`, `ingest.podAntiAffinityPreset`, and `ingest.nodeAffinityPreset` will be ignored when it's set
2265 ## @param ingest.nodeSelector Node labels for ingest-only pods assignment
2266 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2269 ## @param ingest.tolerations Tolerations for ingest-only pods assignment
2270 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2273 ## @param ingest.priorityClassName ingest-only pods' priorityClassName
2275 priorityClassName: ""
2276 ## @param ingest.schedulerName Name of the k8s scheduler (other than default) for ingest-only pods
2277 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2280 ## @param ingest.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch ingest pod needs to terminate gracefully
2281 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
2283 terminationGracePeriodSeconds: ""
2284 ## @param ingest.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
2285 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2287 topologySpreadConstraints: []
2288 ## @param ingest.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch ingest pods
2289 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
2291 podManagementPolicy: "Parallel"
2292 ## Configure extra options for OpenSearch ingest-only containers' liveness, readiness and startup probes
2293 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2294 ## @param ingest.startupProbe.enabled Enable/disable the startup probe (ingest-only nodes pod)
2295 ## @param ingest.startupProbe.initialDelaySeconds Delay before startup probe is initiated (ingest-only nodes pod)
2296 ## @param ingest.startupProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2297 ## @param ingest.startupProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2298 ## @param ingest.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2299 ## @param ingest.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2303 initialDelaySeconds: 90
2308 ## @param ingest.livenessProbe.enabled Enable/disable the liveness probe (ingest-only nodes pod)
2309 ## @param ingest.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (ingest-only nodes pod)
2310 ## @param ingest.livenessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2311 ## @param ingest.livenessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2312 ## @param ingest.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2313 ## @param ingest.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2317 initialDelaySeconds: 180
2322 ## @param ingest.readinessProbe.enabled Enable/disable the readiness probe (ingest-only nodes pod)
2323 ## @param ingest.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (ingest-only nodes pod)
2324 ## @param ingest.readinessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2325 ## @param ingest.readinessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2326 ## @param ingest.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2327 ## @param ingest.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2331 initialDelaySeconds: 90
2336 ## @param ingest.customStartupProbe Override default startup probe
2338 customStartupProbe: {}
2339 ## @param ingest.customLivenessProbe Override default liveness probe
2341 customLivenessProbe: {}
2342 ## @param ingest.customReadinessProbe Override default readiness probe
2344 customReadinessProbe: {}
2345 ## @param ingest.command Override default container command (useful when using custom images)
2348 ## @param ingest.args Override default container args (useful when using custom images)
2351 ## @param ingest.lifecycleHooks for the ingest-only container(s) to automate configuration before or after startup
2354 ## @param ingest.extraEnvVars Array with extra environment variables to add to ingest-only nodes
2361 ## @param ingest.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for ingest-only nodes
2364 ## @param ingest.extraEnvVarsSecret Name of existing Secret containing extra env vars for ingest-only nodes
2366 extraEnvVarsSecret: ""
2367 ## @param ingest.extraVolumes Optionally specify extra list of additional volumes for the ingest-only pod(s)
2370 ## @param ingest.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the ingest-only container(s)
2372 extraVolumeMounts: []
2373 ## @param ingest.sidecars Add additional sidecar containers to the ingest-only pod(s)
2376 ## - name: your-image-name
2377 ## image: your-image
2378 ## imagePullPolicy: Always
2381 ## containerPort: 1234
2384 ## @param ingest.initContainers Add additional init containers to the ingest-only pod(s)
2385 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2388 ## - name: your-image-name
2389 ## image: your-image
2390 ## imagePullPolicy: Always
2391 ## command: ['sh', '-c', 'echo "hello world"']
2394 ## Pods Service Account
2395 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
2396 ## @param ingest.serviceAccount.create Specifies whether a ServiceAccount should be created
2397 ## @param ingest.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
2398 ## @param ingest.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2399 ## @param ingest.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
2404 automountServiceAccountToken: false
2406 ## Network Policy configuration
2407 ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2410 ## @param ingest.networkPolicy.enabled Enable creation of NetworkPolicy resources
2413 ## @param ingest.networkPolicy.allowExternal The Policy model to apply
2414 ## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
2415 ## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
2418 ## @param ingest.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2420 allowExternalEgress: true
2421 ## @param ingest.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2431 ## - matchExpressions:
2438 ## @param ingest.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2448 ## - matchExpressions:
2455 ## @param ingest.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2456 ## @param ingest.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2458 ingressNSMatchLabels: {}
2459 ingressNSPodMatchLabels: {}
2462 ## @param ingest.autoscaling.vpa.enabled Enable VPA
2465 ## @param ingest.autoscaling.vpa.annotations Annotations for VPA resource
2468 ## @param ingest.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
2470 controlledResources: []
2471 ## @param ingest.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
2475 ## @param ingest.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
2480 ## @param ingest.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
2481 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
2485 ## @param ingest.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
2488 ## @param ingest.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
2491 ## @param ingest.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
2494 ## @param ingest.autoscaling.hpa.targetCPU Target CPU utilization percentage
2497 ## @param ingest.autoscaling.hpa.targetMemory Target Memory utilization percentage
2500 ## OpenSearch Ingest-only Service
2501 ## Recommended for heavy ingestion, improves performance by sending ingest traffic directly into the ingest nodes.
2502 ## NOTE: Ingest nodes will only accept index requests with an associated pipeline, any other request won't be rerouted.
2505 ## @param ingest.service.enabled Enable Ingest-only service
2508 ## @param ingest.service.type OpenSearch ingest-only service type
2511 ## @param ingest.service.ports.restAPI OpenSearch service REST API port
2512 ## @param ingest.service.ports.transport OpenSearch service transport port
2517 ## Node ports to expose
2518 ## @param ingest.service.nodePorts.restAPI Node port for REST API
2519 ## @param ingest.service.nodePorts.transport Node port for REST API
2520 ## NOTE: choose port between <30000-32767>
2525 ## @param ingest.service.clusterIP OpenSearch ingest-only service Cluster IP
2530 ## @param ingest.service.loadBalancerIP OpenSearch ingest-only service Load Balancer IP
2531 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2534 ## @param ingest.service.loadBalancerSourceRanges OpenSearch ingest-only service Load Balancer sources
2535 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2537 ## loadBalancerSourceRanges:
2540 loadBalancerSourceRanges: []
2541 ## @param ingest.service.externalTrafficPolicy OpenSearch ingest-only service external traffic policy
2542 ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2544 externalTrafficPolicy: Cluster
2545 ## @param ingest.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
2548 ## @param ingest.service.annotations Additional custom annotations for OpenSearch ingest-only service
2551 ## @param ingest.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
2552 ## If "ClientIP", consecutive client requests will be directed to the same Pod
2553 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
2555 sessionAffinity: None
2556 ## @param ingest.service.sessionAffinityConfig Additional settings for the sessionAffinity
2557 ## sessionAffinityConfig:
2559 ## timeoutSeconds: 300
2561 sessionAffinityConfig: {}
2562 ## Headless service properties
2565 ## @param ingest.service.headless.annotations Annotations for the ingest headless service.
2568 ## @param ingest.service.headless.nameOverride String to fully override opensearch.ingest.servicename
2571 ## @param ingest.service.headless.trafficDistribution String Traffic distribution for the ingest headless service
2572 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
2574 trafficDistribution: "PreferClose"
2575 ## OpenSearch Ingest-only ingress parameters
2576 ## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2579 ## @param ingest.ingress.enabled Enable ingress record generation for OpenSearch
2582 ## @param ingest.ingress.pathType Ingress path type
2584 pathType: ImplementationSpecific
2585 ## @param ingest.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2588 ## @param ingest.ingress.hostname Default host for the ingress record
2590 hostname: opensearch-ingest.local
2591 ## @param ingest.ingress.path Default path for the ingress record
2592 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2595 ## @param ingest.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2596 ## Use this parameter to set the required annotations for cert-manager, see
2597 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2600 ## kubernetes.io/ingress.class: nginx
2601 ## cert-manager.io/cluster-issuer: cluster-issuer-name
2604 ## @param ingest.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
2605 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
2607 ## - Use the `ingress.secrets` parameter to create this TLS secret
2608 ## - Rely on cert-manager to create it by setting the corresponding annotations
2609 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
2612 ## @param ingest.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2615 ## @param ingest.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2616 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2617 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2619 ingressClassName: ""
2620 ## @param ingest.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2623 ## - name: opensearch.local
2627 ## @param ingest.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2632 ## serviceName: ssl-redirect
2633 ## servicePort: use-annotation
2636 ## @param ingest.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
2637 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2641 ## - opensearch.local
2642 ## secretName: opensearch.local-tls
2645 ## @param ingest.ingress.secrets Custom TLS certificates as secrets
2646 ## NOTE: 'key' and 'certificate' are expected in PEM format
2647 ## NOTE: 'name' should line up with a 'secretName' set further up
2648 ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
2649 ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
2650 ## It is also possible to create and manage the certificates outside of this helm chart
2651 ## Please see README.md for more information
2654 ## - name: opensearch.local-tls
2656 ## -----BEGIN RSA PRIVATE KEY-----
2658 ## -----END RSA PRIVATE KEY-----
2660 ## -----BEGIN CERTIFICATE-----
2662 ## -----END CERTIFICATE-----
2665 ## @param ingest.ingress.extraRules Additional rules to be covered with this ingress record
2666 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2669 ## - host: example.local
2674 ## name: example-svc
2679 ## Metrics configuration for ingest node
2682 ## @param ingest.metrics.enabled Enable ingest node metrics
2686 ## @param ingest.metrics.service.ports.metrics ingest node metrics service port
2690 ## @param ingest.metrics.service.clusterIP ingest node metrics service Cluster IP
2695 ## ingest node metrics service monitor configuration
2698 ## @param ingest.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2701 ## @param ingest.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2703 ## namespace: monitoring
2706 ## @param ingest.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2709 ## @param ingest.metrics.serviceMonitor.interval Interval at which metrics should be scraped
2710 ## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#endpoint
2713 ## @param ingest.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2714 ## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#endpoint
2717 ## @param ingest.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2718 ## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#relabelconfig
2721 ## @param ingest.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2722 ## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#relabelconfig
2724 metricRelabelings: []
2725 ## @param ingest.metrics.serviceMonitor.selector ServiceMonitor selector labels
2728 ## prometheus: my-prometheus
2731 ## @param ingest.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2734 ## Rules for PrometheusRule object if enabled
2737 ## @param ingest.metrics.rules.enabled Enable render extra rules for PrometheusRule object
2738 ## @param ingest.metrics.rules.spec Rules to render into the PrometheusRule object
2739 ## @param ingest.metrics.rules.selector Selector for the PrometheusRule object
2740 ## @param ingest.metrics.rules.namespace Namespace where to create the PrometheusRule object
2741 ## @param ingest.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
2746 ## - alert: ArgoAppMissing
2748 ## absent(argocd_app_info)
2751 ## severity: critical
2753 ## summary: "[ArgoCD] No reported applications"
2755 ## ArgoCD has not reported any applications data for the past 15 minutes which
2756 ## means that it must be down or not functioning properly. This needs to be
2757 ## resolved for this cloud to continue to maintain state.
2758 ## - alert: ArgoAppNotSynced
2760 ## argocd_app_info{sync_status!="Synced"} == 1
2763 ## severity: warning
2765 ## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
2767 ## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
2768 ## 12 hours which means that the state of this cloud has drifted away from the
2769 ## state inside Git.
2774 ## prometheus: kube-prometheus
2777 namespace: monitoring
2778 additionalLabels: {}
2779## @section Init Container Parameters
2781## 'volumePermissions' init container parameters
2782## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
2783## based on the *podSecurityContext/*containerSecurityContext parameters
2786 ## @param volumePermissions.enabled Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work)
2789 ## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
2790 ## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image name
2791 ## @skip volumePermissions.image.tag Init container volume-permissions image tag
2792 ## @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
2793 ## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
2794 ## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
2798 repository: chainguard-private/os-shell-iamguarded
2801 pullPolicy: IfNotPresent
2802 ## Optionally specify an array of imagePullSecrets.
2803 ## Secrets must be manually created in the namespace.
2804 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2807 ## - myRegistryKeySecretName
2810 ## Init container' resource requests and limits
2811 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2812 ## We usually recommend not to specify default resources and to leave this as a conscious
2813 ## choice for the user. This also increases chances charts run on environments with little
2814 ## resources, such as Minikube. If you do want to specify resources, uncomment the following
2815 ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2816 ## @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).
2818 resourcesPreset: "nano"
2819 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2830## Kernel settings modifier image
2833 ## @param sysctlImage.enabled Enable kernel settings modifier image
2836 ## @param sysctlImage.registry [default: REGISTRY_NAME] Kernel settings modifier image registry
2837 ## @param sysctlImage.repository [default: REPOSITORY_NAME/os-shell] Kernel settings modifier image repository
2838 ## @skip sysctlImage.tag Kernel settings modifier image tag
2839 ## @param sysctlImage.digest Kernel settings modifier image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2840 ## @param sysctlImage.pullPolicy Kernel settings modifier image pull policy
2841 ## @param sysctlImage.pullSecrets Kernel settings modifier image pull secrets
2844 repository: chainguard-private/os-shell-iamguarded
2847 ## Specify a imagePullPolicy
2848 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2850 pullPolicy: IfNotPresent
2851 ## Optionally specify an array of imagePullSecrets.
2852 ## Secrets must be manually created in the namespace.
2853 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2856 ## - myRegistryKeySecretName
2859 ## Init container' resource requests and limits
2860 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2861 ## We usually recommend not to specify default resources and to leave this as a conscious
2862 ## choice for the user. This also increases chances charts run on environments with little
2863 ## resources, such as Minikube. If you do want to specify resources, uncomment the following
2864 ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2865 ## @param sysctlImage.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if sysctlImage.resources is set (sysctlImage.resources is recommended for production).
2867 resourcesPreset: "nano"
2868 ## @param sysctlImage.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2879## @section OpenSearch Dashboards Parameters
2881 ## @param dashboards.enabled Enables OpenSearch Dashboards deployment
2884 ## Iamguarded OpenSearch Dashboards image
2885 ## @param dashboards.image.registry [default: REGISTRY_NAME] OpenSearch Dashboards image registry
2886 ## @param dashboards.image.repository [default: REPOSITORY_NAME/opensearch-dashboards] OpenSearch Dashboards image repository
2887 ## @skip dashboards.image.tag OpenSearch Dashboards image tag (immutable tags are recommended)
2888 ## @param dashboards.image.digest OpenSearch Dashboards image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2889 ## @param dashboards.image.pullPolicy OpenSearch Dashboards image pull policy
2890 ## @param dashboards.image.pullSecrets OpenSearch Dashboards image pull secrets
2891 ## @param dashboards.image.debug Enable OpenSearch Dashboards image debug mode
2895 repository: chainguard-private/opensearch-dashboards-iamguarded
2898 ## Specify a imagePullPolicy
2899 ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2901 pullPolicy: IfNotPresent
2902 ## Optionally specify an array of imagePullSecrets.
2903 ## Secrets must be manually created in the namespace.
2904 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2907 ## - myRegistryKeySecretName
2910 ## Enable debug mode
2913 ## OpenSearch Dashboards service parameters
2916 ## @param dashboards.service.type OpenSearch Dashboards service type
2919 ## @param dashboards.service.ports.http OpenSearch Dashboards service web UI port
2923 ## Node ports to expose
2924 ## @param dashboards.service.nodePorts.http Node port for web UI
2925 ## NOTE: choose port between <30000-32767>
2929 ## @param dashboards.service.clusterIP OpenSearch Dashboards service Cluster IP
2934 ## @param dashboards.service.loadBalancerIP OpenSearch Dashboards service Load Balancer IP
2935 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2938 ## @param dashboards.service.loadBalancerSourceRanges OpenSearch Dashboards service Load Balancer sources
2939 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2941 ## loadBalancerSourceRanges:
2944 loadBalancerSourceRanges: []
2945 ## @param dashboards.service.externalTrafficPolicy OpenSearch Dashboards service external traffic policy
2946 ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2948 externalTrafficPolicy: Cluster
2949 ## @param dashboards.service.annotations Additional custom annotations for OpenSearch Dashboards service
2952 ## @param dashboards.service.extraPorts Extra ports to expose in OpenSearch Dashboards service (normally used with the `sidecars` value)
2955 ## @param dashboards.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
2956 ## If "ClientIP", consecutive client requests will be directed to the same Pod
2957 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
2959 sessionAffinity: None
2960 ## @param dashboards.service.sessionAffinityConfig Additional settings for the sessionAffinity
2961 ## sessionAffinityConfig:
2963 ## timeoutSeconds: 300
2965 sessionAffinityConfig: {}
2966 ## @param dashboards.service.nameOverride String to fully override opensearch.dashboards.servicename
2969 ## OpenSearch Dashboards ingress parameters
2970 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
2973 ## @param dashboards.ingress.enabled Enable ingress record generation for OpenSearch Dashboards
2976 ## @param dashboards.ingress.pathType Ingress path type
2978 pathType: ImplementationSpecific
2979 ## @param dashboards.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2982 ## @param dashboards.ingress.hostname Default host for the ingress record
2984 hostname: opensearch-dashboards.local
2985 ## @param dashboards.ingress.path Default path for the ingress record
2986 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2989 ## @param dashboards.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2990 ## Use this parameter to set the required annotations for cert-manager, see
2991 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2994 ## kubernetes.io/ingress.class: nginx
2995 ## cert-manager.io/cluster-issuer: cluster-issuer-name
2998 ## @param dashboards.ingress.tls Enable TLS configuration for the host defined at `dashboards.ingress.hostname` parameter
2999 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
3001 ## - Use the `ingress.secrets` parameter to create this TLS secret
3002 ## - Rely on cert-manager to create it by setting the corresponding annotations
3003 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
3006 ## @param dashboards.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3009 ## @param dashboards.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3010 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3011 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3013 ingressClassName: ""
3014 ## @param dashboards.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
3017 ## - name: opensearch-dashboards.local
3021 ## @param dashboards.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
3026 ## serviceName: ssl-redirect
3027 ## servicePort: use-annotation
3030 ## @param dashboards.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
3031 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3035 ## - opensearch-dashboards.local
3036 ## secretName: opensearch-dashboards.local-tls
3039 ## @param dashboards.ingress.secrets Custom TLS certificates as secrets
3040 ## NOTE: 'key' and 'certificate' are expected in PEM format
3041 ## NOTE: 'name' should line up with a 'secretName' set further up
3042 ## If it is not set, and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
3043 ## If it is not set, and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
3044 ## It is also possible to create and manage the certificates outside of this helm chart
3045 ## Please see README.md for more information
3048 ## - name: opensearch-dashboards.local-tls
3050 ## -----BEGIN RSA PRIVATE KEY-----
3052 ## -----END RSA PRIVATE KEY-----
3054 ## -----BEGIN CERTIFICATE-----
3056 ## -----END CERTIFICATE-----
3059 ## @param dashboards.ingress.extraRules Additional rules to be covered with this ingress record
3060 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3063 ## - host: example.local
3068 ## name: example-svc
3073 ## @param dashboards.containerPorts.http OpenSearch Dashboards HTTP port
3077 ## @param dashboards.password Password for OpenSearch Dashboards
3080 ## @param dashboards.replicaCount Number of data-only replicas to deploy
3083 ## Pod Disruption Budget configuration
3084 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3085 ## @param dashboards.pdb.create Enable/disable a Pod Disruption Budget creation
3086 ## @param dashboards.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3087 ## @param dashboards.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `dashboards.pdb.minAvailable` and `dashboards.pdb.maxUnavailable` are empty.
3093 ## @param dashboards.nameOverride String to partially override opensearch.dashboards.fullname
3096 ## @param dashboards.fullnameOverride String to fully override opensearch.dashboards.fullname
3098 fullnameOverride: ""
3099 ## @param dashboards.servicenameOverride String to fully override opensearch.dashboards.servicename
3100 ## DEPRECATED: Use dashboards.service.nameOverride instead
3102 servicenameOverride: ""
3103 ## @param dashboards.updateStrategy.type Data-only nodes statefulset strategy type
3104 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
3108 ## OpenSearch resource requests and limits
3109 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3110 ## @param dashboards.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if dashboards.resources is set (dashboards.resources is recommended for production).
3112 resourcesPreset: "small"
3113 ## @param dashboards.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3124 ## @param dashboards.heapSize OpenSearch data node heap size.
3125 ## Note: The recommended heapSize is half of the container's memory.
3126 ## If omitted, it will be automatically set.
3131 ## Configure Pods Security Context
3132 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3133 ## @param dashboards.podSecurityContext.enabled Enabled data pods' Security Context
3134 ## @param dashboards.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3135 ## @param dashboards.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3136 ## @param dashboards.podSecurityContext.supplementalGroups Set filesystem extra groups
3137 ## @param dashboards.podSecurityContext.fsGroup Set dashboards pod's Security Context fsGroup
3141 fsGroupChangePolicy: Always
3143 supplementalGroups: []
3145 ## Configure Container Security Context
3146 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3147 ## @param dashboards.containerSecurityContext.enabled Enabled containers' Security Context
3148 ## @param dashboards.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3149 ## @param dashboards.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3150 ## @param dashboards.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3151 ## @param dashboards.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
3152 ## @param dashboards.containerSecurityContext.privileged Set container's Security Context privileged
3153 ## @param dashboards.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
3154 ## @param dashboards.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
3155 ## @param dashboards.containerSecurityContext.capabilities.drop List of capabilities to be dropped
3156 ## @param dashboards.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
3158 containerSecurityContext:
3165 readOnlyRootFilesystem: true
3166 allowPrivilegeEscalation: false
3170 type: "RuntimeDefault"
3171 ## @param dashboards.automountServiceAccountToken Mount Service Account token in pod
3173 automountServiceAccountToken: false
3174 ## @param dashboards.hostAliases data pods host aliases
3175 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3178 ## @param dashboards.podLabels Extra labels for data pods
3179 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3182 ## @param dashboards.podAnnotations Annotations for data pods
3183 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3186 ## @param dashboards.podAffinityPreset Pod affinity preset. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3187 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3189 podAffinityPreset: ""
3190 ## @param dashboards.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3191 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3193 podAntiAffinityPreset: ""
3194 ## Node dashboards.affinity preset
3195 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3198 ## @param dashboards.nodeAffinityPreset.type Node affinity preset type. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3201 ## @param dashboards.nodeAffinityPreset.key Node label key to match. Ignored if `dashboards.affinity` is set
3204 ## @param dashboards.nodeAffinityPreset.values Node label values to match. Ignored if `dashboards.affinity` is set
3211 ## @param dashboards.affinity Affinity for data pods assignment
3212 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3213 ## NOTE: `dashboards.podAffinityPreset`, `dashboards.podAntiAffinityPreset`, and `dashboards.nodeAffinityPreset` will be ignored when it's set
3216 ## @param dashboards.nodeSelector Node labels for data pods assignment
3217 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3220 ## @param dashboards.tolerations Tolerations for data pods assignment
3221 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3224 ## @param dashboards.priorityClassName data pods' priorityClassName
3226 priorityClassName: ""
3227 ## @param dashboards.schedulerName Name of the k8s scheduler (other than default) for data pods
3228 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3231 ## @param dashboards.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch data pod needs to terminate gracefully
3232 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
3234 terminationGracePeriodSeconds: ""
3235 ## @param dashboards.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
3236 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3238 topologySpreadConstraints: []
3239 ## Configure extra options for OpenSearch data containers' liveness, readiness and startup probes
3240 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
3241 ## @param dashboards.startupProbe.enabled Enable/disable the startup probe (data nodes pod)
3242 ## @param dashboards.startupProbe.initialDelaySeconds Delay before startup probe is initiated (data nodes pod)
3243 ## @param dashboards.startupProbe.periodSeconds How often to perform the probe (data nodes pod)
3244 ## @param dashboards.startupProbe.timeoutSeconds When the probe times out (data nodes pod)
3245 ## @param dashboards.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3246 ## @param dashboards.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3250 initialDelaySeconds: 120
3255 ## @param dashboards.livenessProbe.enabled Enable/disable the liveness probe (data nodes pod)
3256 ## @param dashboards.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (data nodes pod)
3257 ## @param dashboards.livenessProbe.periodSeconds How often to perform the probe (data nodes pod)
3258 ## @param dashboards.livenessProbe.timeoutSeconds When the probe times out (data nodes pod)
3259 ## @param dashboards.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3260 ## @param dashboards.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3264 initialDelaySeconds: 180
3269 ## @param dashboards.readinessProbe.enabled Enable/disable the readiness probe (data nodes pod)
3270 ## @param dashboards.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (data nodes pod)
3271 ## @param dashboards.readinessProbe.periodSeconds How often to perform the probe (data nodes pod)
3272 ## @param dashboards.readinessProbe.timeoutSeconds When the probe times out (data nodes pod)
3273 ## @param dashboards.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3274 ## @param dashboards.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3278 initialDelaySeconds: 120
3283 ## @param dashboards.customStartupProbe Override default startup probe
3285 customStartupProbe: {}
3286 ## @param dashboards.customLivenessProbe Override default liveness probe
3288 customLivenessProbe: {}
3289 ## @param dashboards.customReadinessProbe Override default readiness probe
3291 customReadinessProbe: {}
3292 ## @param dashboards.command Override default container command (useful when using custom images)
3295 ## @param dashboards.args Override default container args (useful when using custom images)
3298 ## @param dashboards.lifecycleHooks for the data container(s) to automate configuration before or after startup
3301 ## @param dashboards.extraEnvVars Array with extra environment variables to add to data nodes
3308 ## @param dashboards.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
3311 ## @param dashboards.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
3313 extraEnvVarsSecret: ""
3314 ## @param dashboards.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
3317 ## @param dashboards.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
3319 extraVolumeMounts: []
3320 ## @param dashboards.sidecars Add additional sidecar containers to the data pod(s)
3323 ## - name: your-image-name
3324 ## image: your-image
3325 ## imagePullPolicy: Always
3328 ## containerPort: 1234
3331 ## @param dashboards.initContainers Add additional init containers to the data pod(s)
3332 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3335 ## - name: your-image-name
3336 ## image: your-image
3337 ## imagePullPolicy: Always
3338 ## command: ['sh', '-c', 'echo "hello world"']
3341 ## Pods Service Account
3342 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
3343 ## @param dashboards.serviceAccount.create Specifies whether a ServiceAccount should be created
3344 ## @param dashboards.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
3345 ## @param dashboards.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
3346 ## @param dashboards.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
3351 automountServiceAccountToken: false
3353 ## Network Policy configuration
3354 ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3357 ## @param dashboards.networkPolicy.enabled Enable creation of NetworkPolicy resources
3360 ## @param dashboards.networkPolicy.allowExternal The Policy model to apply
3361 ## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
3362 ## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
3365 ## @param dashboards.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3367 allowExternalEgress: true
3368 ## @param dashboards.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3378 ## - matchExpressions:
3385 ## @param dashboards.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3395 ## - matchExpressions:
3402 ## @param dashboards.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
3403 ## @param dashboards.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
3405 ingressNSMatchLabels: {}
3406 ingressNSPodMatchLabels: {}
3409 ## @param dashboards.autoscaling.vpa.enabled Enable VPA
3412 ## @param dashboards.autoscaling.vpa.annotations Annotations for VPA resource
3415 ## @param dashboards.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
3417 controlledResources: []
3418 ## @param dashboards.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
3422 ## @param dashboards.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
3427 ## @param dashboards.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
3428 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
3432 ## @param dashboards.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
3435 ## @param dashboards.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
3438 ## @param dashboards.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
3441 ## @param dashboards.autoscaling.hpa.targetCPU Target CPU utilization percentage
3444 ## @param dashboards.autoscaling.hpa.targetMemory Target Memory utilization percentage
3447 ## TLS configuration
3450 ## @param dashboards.tls.enabled Enable TLS for OpenSearch Dashboards webserver
3453 ## @param dashboards.tls.existingSecret Existing secret containing the certificates for OpenSearch Dashboards webserver
3456 ## @param dashboards.tls.autoGenerated Create self-signed TLS certificates.
3457 ## NOTE: If autoGenerated certs are enabled and a new node type is enabled using helm upgrade, make sure you remove previously existing TLS secrets.
3458 ## Otherwise, the new node certs won't match the existing certs.
3461 ## Enable persistence using Persistent Volume Claims
3462 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3465 ## @param dashboards.persistence.enabled Enable persistence using Persistent Volume Claims
3468 ## @param dashboards.persistence.mountPath Path to mount the volume at.
3470 mountPath: /iamguarded/opensearch-dashboards
3471 ## @param dashboards.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
3474 ## @param dashboards.persistence.storageClass Storage class of backing PVC
3475 ## If defined, storageClassName: <storageClass>
3476 ## If set to "-", storageClassName: "", which disables dynamic provisioning
3477 ## If undefined (the default) or set to null, no storageClassName spec is
3478 ## set, choosing the default provisioner. (gp2 on AWS, standard on
3479 ## GKE, AWS & OpenStack)
3482 ## @param dashboards.persistence.annotations Persistent Volume Claim annotations
3485 ## @param dashboards.persistence.accessModes Persistent Volume Access Modes
3489 ## @param dashboards.persistence.size Size of data volume
3492 ## @param dashboards.persistence.existingClaim The name of an existing PVC to use for persistence
3495 ## @param dashboards.persistence.selector Selector to match an existing Persistent Volume for OpenSearch data PVC
3496 ## If set, the PVC can't have a PV dynamically provisioned for it
3503 ## @param dashboards.persistence.dataSource Custom PVC data source
3506## @section OpenSearch Snapshots Parameters
3508 ## @param snapshots.enabled Enable automatic setup of repositories and snapshot policies
3511 ## @param snapshots.command Override default container command (useful when using custom images)
3514 ## Configure Container Security Context
3515 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3516 ## @param snapshots.containerSecurityContext.enabled Enabled containers' Security Context
3517 ## @param snapshots.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3518 ## @param snapshots.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3519 ## @param snapshots.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3520 ## @param snapshots.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
3521 ## @param snapshots.containerSecurityContext.privileged Set container's Security Context privileged
3522 ## @param snapshots.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
3523 ## @param snapshots.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
3524 ## @param snapshots.containerSecurityContext.capabilities.drop List of capabilities to be dropped
3525 ## @param snapshots.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
3527 containerSecurityContext:
3529 seLinuxOptions: null
3534 readOnlyRootFilesystem: true
3535 allowPrivilegeEscalation: false
3539 type: "RuntimeDefault"
3540 ## @param snapshots.fullnameOverride String to fully override opensearch.snapshots.fullname
3542 fullnameOverride: ""
3543 ## Iamguarded OpenSearch Snapshots image
3544 ## @param snapshots.image.registry [default: REGISTRY_NAME] OpenSearch Snapshots image registry
3545 ## @param snapshots.image.repository [default: REPOSITORY_NAME/os-shell] OpenSearch Snapshots image repository
3546 ## @skip snapshots.image.tag OpenSearch Snapshots image tag (immutable tags are recommended)
3547 ## @param snapshots.image.digest OpenSearch Snapshots image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
3548 ## @param snapshots.image.pullPolicy OpenSearch Snapshots image pull policy
3549 ## @param snapshots.image.pullSecrets OpenSearch Snapshots image pull secrets
3550 ## @param snapshots.image.debug Enable OpenSearch Snapshots image debug mode
3554 repository: chainguard-private/os-shell-iamguarded
3557 ## Specify a imagePullPolicy
3558 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
3559 ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
3561 pullPolicy: IfNotPresent
3562 ## Optionally specify an array of imagePullSecrets.
3563 ## Secrets must be manually created in the namespace.
3564 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3567 ## - myRegistryKeySecretName
3570 ## Enable debug mode
3573 ## @param snapshots.nameOverride String to partially override common.names.fullname
3576 ## Enable persistence using Persistent Volume Claims
3577 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3580 ## @param snapshots.persistence.enabled Enable persistence using Persistent Volume Claims
3583 ## @param snapshots.persistence.accessModes Persistent Volume Access Modes
3587 ## @param snapshots.persistence.annotations Persistent Volume Claim annotations
3590 ## @param snapshots.persistence.dataSource Custom PVC data source
3593 ## @param snapshots.persistence.existingClaim The name of an existing PVC to use for persistence
3596 ## @param snapshots.persistence.labels Extra labels for the Persistent Volume Claim
3599 ## @param snapshots.persistence.selector Selector to match an existing Persistent Volume for OpenSearch data PVC
3600 ## If set, the PVC can't have a PV dynamically provisioned for it
3607 ## @param snapshots.persistence.size Size of data volume
3610 ## @param snapshots.persistence.storageClass Storage class of backing PVC
3611 ## If defined, storageClassName: <storageClass>
3612 ## If set to "-", storageClassName: "", which disables dynamic provisioning
3613 ## If undefined (the default) or set to null, no storageClassName spec is
3614 ## set, choosing the default provisioner. (gp2 on AWS, standard on
3615 ## GKE, AWS & OpenStack)
3618 ## @param snapshots.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
3621 ## Configure Pods Security Context
3622 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3623 ## @param snapshots.podSecurityContext.enabled Enabled data pods' Security Context
3624 ## @param snapshots.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3625 ## @param snapshots.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3626 ## @param snapshots.podSecurityContext.supplementalGroups Set filesystem extra groups
3627 ## @param snapshots.podSecurityContext.fsGroup Set snapshots pod's Security Context fsGroup
3631 fsGroupChangePolicy: Always
3633 supplementalGroups: []
3635 ## @param snapshots.policies [default: SNAPSHOT_POLICY_API_BODY] Each object represents a snapshot policy in YAML form, which will be converted to JSON and then passed as the HTTP body data to the OpenSearch REST API.
3636 ## NOTE: The field `snapshot_config.repository` in each policy must match a repo name in `snapshots.repositories`.
3643 expression: "0 20 * * *"
3651 expression: 0 20 * * *
3653 description: Default snapshot policy
3657 ## @param snapshots.repositories [default: SNAPSHOT_REPO_API_BODY] Each object represents a snapshot repository in YAML form, which will be converted to JSON and then passed as the HTTP body data to the OpenSearch REST API.
3658 ## NOTE: The field `settings.location` in each repo must match the snapshot repo path configured in `snapshotRepoPath`, if its `type` is `fs`.
3663 location: /snapshots
3665 ## OpenSearch resource requests and limits
3666 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3667 ## @param snapshots.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if snapshots.resources is set (snapshots.resources is recommended for production).
3669 resourcesPreset: "nano"
3670 ## @param snapshots.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)