1# This file has been modified by Chainguard, Inc.
3# Copyright Chainguard, Inc. All Rights Reserved.
4# Chainguard, Inc. modifications are subject to the license
5# available at: https://www.chainguard.dev/legal/software-license-agreement
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
10## @section Global parameters
11## Global Docker image parameters
12## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
16## @param global.imageRegistry Global Docker image registry
17## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18## @param global.imagePullSecrets Global Docker registry secret names as an array
19## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
27 ## - myRegistryKeySecretName
30 defaultStorageClass: ""
32 ## Security parameters
35 ## @param global.security.allowInsecureImages Allows skipping image verification
36 allowInsecureImages: false
37 ## Compatibility adaptations for Kubernetes platforms
40 ## Compatibility adaptations for Openshift
43 ## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
45 adaptSecurityContext: auto
47## @section Common parameters
50## @param kubeVersion Override Kubernetes version
53## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
56## @param fullnameOverride String to fully override common.names.fullname template
59## @param clusterDomain Kubernetes cluster domain
61clusterDomain: cluster.local
62## @param commonLabels Add labels to all the deployed resources
65## @param commonAnnotations Add annotations to all the deployed resources
68## @param extraDeploy Extra objects to deploy (value evaluated as a template)
71## @param usePasswordFiles Mount credentials as files instead of using environment variables
74## Enable diagnostic mode in the statefulset
77 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
80 ## @param diagnosticMode.command Command to override all containers in the statefulset
84 ## @param diagnosticMode.args Args to override all containers in the statefulset
88## @section Solr parameters
91## Iamguarded Solr image version
92## @param image.registry [default: REGISTRY_NAME] Solr image registry
93## @param image.repository [default: REPOSITORY_NAME/solr] Solr image repository
94## @skip image.tag Solr image tag (immutable tags are recommended)
95## @param image.digest Solr image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
96## @param image.pullPolicy image pull policy
97## @param image.pullSecrets Specify docker-registry secret names as an array
98## @param image.debug Specify if debug values should be set
102 repository: chainguard-private/solr-iamguarded
105 ## Specify a imagePullPolicy
106 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
108 pullPolicy: IfNotPresent
109 ## Optionally specify an array of imagePullSecrets.
110 ## Secrets must be manually created in the namespace.
111 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
114 ## - myRegistryKeySecretName
117 ## Set to true if you would like to see extra information on logs
121 ## @param auth.enabled Enable Solr authentication
124 ## @param auth.adminUsername Solr admin username
127 ## @param auth.adminPassword Solr admin password. Autogenerated if not provided.
130 ## @param auth.existingSecret Existing secret with Solr password
133 ## @param auth.existingSecretPasswordKey Password key to be retrieved from existing secret
134 ## NOTE: ignored unless `auth.existingSecret` parameter is set
136 existingSecretPasswordKey: "solr-password"
137## @param coreNames Solr core names to be created
141## @param cloudEnabled Enable Solr cloud mode
144## @param cloudBootstrap Enable cloud bootstrap. It will be performed from the node 0.
147## @param collection Solr collection name
149collection: my-collection
150## @param collectionShards Number of collection shards
153## @param collectionReplicas Number of collection replicas
156## @param serverDirectory Name of the created directory for the server
158serverDirectory: "server"
159## @param javaMem Java memory options to pass to the Solr container
162## @param heap Java Heap options to pass to the Solr container
165## @param command Override Solr entrypoint string
169## @param args Arguments for the provided command if needed
172## @param extraEnvVars Additional environment variables to set
179## @param extraEnvVarsCM ConfigMap with extra environment variables
182## @param extraEnvVarsSecret Secret with extra environment variables
184extraEnvVarsSecret: ""
185## @section Solr statefulset parameters
188## @param replicaCount Number of solr replicas
191## @param revisionHistoryLimit The number of old history to retain to allow rollback
192## NOTE: Explicitly setting this field to 0, will result in cleaning up all the history of your Deployment, thus that Deployment will not be able to roll back.
193revisionHistoryLimit: 10
194## @param containerPorts.http Solr HTTP container port
198## Configure extra options for Solr containers' liveness, readiness and startup probes
199## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
200## @param livenessProbe.enabled Enable livenessProbe on Solr containers
201## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
202## @param livenessProbe.periodSeconds Period seconds for livenessProbe
203## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
204## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
205## @param livenessProbe.successThreshold Success threshold for livenessProbe
209 initialDelaySeconds: 40
214## @param readinessProbe.enabled Enable readinessProbe on Solr containers
215## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
216## @param readinessProbe.periodSeconds Period seconds for readinessProbe
217## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
218## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
219## @param readinessProbe.successThreshold Success threshold for readinessProbe
223 initialDelaySeconds: 60
228## @param startupProbe.enabled Enable startupProbe on Solr containers
229## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
230## @param startupProbe.periodSeconds Period seconds for startupProbe
231## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
232## @param startupProbe.failureThreshold Failure threshold for startupProbe
233## @param startupProbe.successThreshold Success threshold for startupProbe
237 initialDelaySeconds: 40
242## @param customLivenessProbe Custom livenessProbe that overrides the default one
244customLivenessProbe: {}
245## @param customReadinessProbe Custom readinessProbe that overrides the default one
247customReadinessProbe: {}
248## @param customStartupProbe Custom startupProbe that overrides the default one
250customStartupProbe: {}
251## @param lifecycleHooks lifecycleHooks for the Solr container to automate configuration before or after startup
254## Solr resource requests and limits
255## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
256## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
258resourcesPreset: "medium"
259## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
270## Solr pods' Security Context
271## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
272## @param podSecurityContext.enabled Enable Solr pods' Security Context
273## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
274## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
275## @param podSecurityContext.supplementalGroups Set filesystem extra groups
276## @param podSecurityContext.fsGroup Set Solr pod's Security Context fsGroup
280 fsGroupChangePolicy: Always
282 supplementalGroups: []
284## Solr containers' Security Context
285## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
286## @param containerSecurityContext.enabled Enabled containers' Security Context
287## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
288## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
289## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
290## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
291## @param containerSecurityContext.privileged Set container's Security Context privileged
292## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
293## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
294## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
295## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
297containerSecurityContext:
304 readOnlyRootFilesystem: true
305 allowPrivilegeEscalation: false
309 type: "RuntimeDefault"
310## @param automountServiceAccountToken Mount Service Account token in pod
312automountServiceAccountToken: false
313## @param hostAliases Solr pods host aliases
314## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
317## @param podLabels Extra labels for Solr pods
318## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
321## @param podAnnotations Annotations for Solr pods
322## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
325## @param podAffinityPreset Solr pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
326## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
329## @param podAntiAffinityPreset Solr pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
330## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
332podAntiAffinityPreset: soft
333## Node affinity preset
334## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
337 ## @param nodeAffinityPreset.type Solr node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
340 ## @param nodeAffinityPreset.key Solr node label key to match Ignored if `affinity` is set.
342 ## key: "kubernetes.io/e2e-az-name"
345 ## @param nodeAffinityPreset.values Solr node label values to match. Ignored if `affinity` is set.
352## @param affinity Affinity settings for Solr pod assignment. Evaluated as a template
353## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
356## @param nodeSelector Node labels for Solr pods assignment. Evaluated as a template
357## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
360## @param tolerations Tolerations for Solr pods assignment. Evaluated as a template
361## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
364## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
365## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
367topologySpreadConstraints: []
368## @param podManagementPolicy Management Policy for Solr StatefulSet
369## StatefulSet controller supports relaxing its ordering guarantees while preserving its uniqueness and identity guarantees
370## There are two valid pod management policies: OrderedReady and Parallel
371## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
373podManagementPolicy: Parallel
374## @param priorityClassName Solr pods' priority.
375## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
378## @param schedulerName Kubernetes pod scheduler registry
379## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
382## @param updateStrategy.type Solr statefulset strategy type
383## @param updateStrategy.rollingUpdate Solr statefulset rolling update configuration parameters
384## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
389## @param enableServiceLinks Whether information about services should be injected into pod's environment variable
390## The environment variables injected by service links are not used, but can lead to slow boot times or slow running of the scripts when there are many services in the current namespace.
391## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
393enableServiceLinks: true
394## Solr Pod Disruption Budget configuration
395## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
396## @param pdb.create Enable a Pod Disruption Budget creation
397## @param pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
398## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
404## @param extraVolumes Optionally specify extra list of additional volumes for the Solr pod(s)
407## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Solr container(s)
410## @param initContainers Add init containers to the Solr pod(s)
413## - name: your-image-name
415## imagePullPolicy: Always
418## containerPort: 1234
421## @param sidecars Add sidecars to the Solr pod(s)
424## - name: your-image-name
426## imagePullPolicy: Always
429## containerPort: 1234
432## @section Traffic Exposure parameters
435 ## @param service.type Kubernetes Service type
438 ## @param service.ports.http Solr HTTP service port
442 ## @param service.nodePorts.http Node port for the HTTP service
443 ## NOTE: choose port between <30000-32767>
447 ## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
448 ## Values: ClientIP or None
449 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
451 sessionAffinity: None
452 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
453 ## sessionAffinityConfig:
455 ## timeoutSeconds: 300
457 sessionAffinityConfig: {}
458 ## @param service.clusterIP Solr service Cluster IP
463 ## @param service.loadBalancerIP Solr service Load Balancer IP
464 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
467 ## @param service.loadBalancerSourceRanges Solr service Load Balancer sources
468 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
470 ## loadBalancerSourceRanges:
473 loadBalancerSourceRanges: []
474 ## @param service.externalTrafficPolicy Solr service external traffic policy
475 ## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
477 externalTrafficPolicy: Cluster
478 ## @param service.annotations Additional custom annotations for Solr service
481 ## @param service.extraPorts Extra ports to expose in the Solr service (normally used with the `sidecar` value)
484 ## Headless service properties
487 ## @param service.headless.annotations Annotations for the headless service.
491## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
494 ## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
497 ## @param networkPolicy.allowExternal Don't require client label for connections
498 ## The Policy model to apply. When set to false, only pods with the correct
499 ## client label will have network access to the ports the application is listening
500 ## on. When true, the app will accept connections from any source
501 ## (with the correct destination port).
504 ## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
506 allowExternalEgress: true
507 ## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
517 ## - matchExpressions:
523 ## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
533 ## - matchExpressions:
540 ## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
541 ## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
543 ingressNSMatchLabels: {}
544 ingressNSPodMatchLabels: {}
545## Solr ingress parameters
546## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
549 ## @param ingress.enabled Enable ingress record generation for Solr
552 ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
553 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
554 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
557 ## @param ingress.pathType Ingress path type
559 pathType: ImplementationSpecific
560 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
563 ## @param ingress.hostname Default host for the ingress record
566 ## @param ingress.path Default path for the ingress record
567 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
570 ## @param ingress.annotations [object] Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
571 ## Use this parameter to set the required annotations for cert-manager, see
572 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
575 ## kubernetes.io/ingress.class: nginx
576 ## cert-manager.io/cluster-issuer: cluster-issuer-name
579 ## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
580 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
582 ## - Use the `ingress.secrets` parameter to create this TLS secret
583 ## - Rely on cert-manager to create it by setting the corresponding annotations
584 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
587 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
590 ## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
593 ## - name: solr.local
597 ## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
598 ## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
602 ## serviceName: ssl-redirect
603 ## servicePort: use-annotation
606 ## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
607 ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
611 ## secretName: solr.local-tls
614 ## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
615 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
616 ## -----BEGIN RSA PRIVATE KEY-----
618 ## name should line up with a tlsSecret set further up
619 ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
621 ## It is also possible to create and manage the certificates outside of this helm chart
622 ## Please see README.md for more information
624 ## - name: solr.local-tls
629 ## @param ingress.extraRules Additional rules to be covered with this ingress record
630 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
633 ## - host: solr.local
643## @section Persistence parameters
646## Enable persistence using Persistent Volume Claims
647## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
650 ## @param persistence.enabled Use a PVC to persist data.
653 ## @param persistence.existingClaim A manually managed Persistent Volume and Claim
654 ## If defined, PVC must be created manually before volume will be bound
655 ## The value is evaluated as a template
658 ## @param persistence.storageClass Storage class of backing PVC
659 ## If defined, storageClassName: <storageClass>
660 ## If set to "-", storageClassName: "", which disables dynamic provisioning
661 ## If undefined (the default) or set to null, no storageClassName spec is
662 ## set, choosing the default provisioner.
665 ## @param persistence.accessModes Persistent Volume Access Modes
669 ## @param persistence.size Size of data volume
672 ## @param persistence.annotations Persistence annotations for Solr
675 ## @param persistence.mountPath Persistence mount path for Solr
677 mountPath: /iamguarded/solr
678 ## @param persistence.subPath Path within the volume from which the container's
679 ## volume should be mounted. Defaults to "" (volume's root).
682 ## @param persistence.subPathExpr Expanded path within the volume from which
683 ## the container's volume should be mounted. Behaves similarly to SubPath but
684 ## environment variable references $(VAR_NAME) are expanded using the
685 ## container's environment. Defaults to "" (volume's root).
686 ## SubPathExpr and SubPath are mutually exclusive.
689 ## @param persistence.selector Selector to match an existing Persistent Volume for Solr data PVC
690 ## If set, the PVC can't have a PV dynamically provisioned for it
697## @section Persistent Volume Claim Retention Policy
698## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
700persistentVolumeClaimRetentionPolicy:
701 ## @param persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Solr Statefulset
704 ## @param persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
707 ## @param persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
710## @section Volume Permissions parameters
713## Init containers parameters:
714## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
717 ## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
720 ## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
721 ## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
722 ## @skip volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
723 ## @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
724 ## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
725 ## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
729 repository: chainguard-private/os-shell-iamguarded
732 pullPolicy: IfNotPresent
733 ## Optionally specify an array of imagePullSecrets.
734 ## Secrets must be manually created in the namespace.
735 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
738 ## - myRegistryKeySecretName
741 ## Init container resource requests and limits
742 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
743 ## @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).
745 resourcesPreset: "nano"
746 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
757 ## Init container' Security Context
758 ## Note: the chown of the data folder is done to containerSecurityContext.runAsUser
759 ## and not the below volumePermissions.containerSecurityContext.runAsUser
760 ## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
761 ## @param volumePermissions.containerSecurityContext.runAsUser User ID for the init container
763 containerSecurityContext:
766## @section Other Parameters
769## Service account for Solr to use.
770## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
773 ## @param serviceAccount.create Enable creation of ServiceAccount for Solr pod
776 ## @param serviceAccount.name The name of the ServiceAccount to use.
777 ## If not set and create is true, a name is generated using the common.names.fullname template
780 ## @param serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
781 ## Can be set to false if pods using this serviceAccount do not need to use K8s API
783 automountServiceAccountToken: false
784 ## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
787## @section Solr TLS parameters
793 ## @param tls.enabled Enable the TLS/SSL configuration
796 ## @param tls.autoGenerated Create self-signed TLS certificates. Currently only supports PEM certificates
799 ## @param tls.certificatesSecretName Name of the secret that contains the certificates
800 ## It should contain two keys called "keystore.p12" and "trustore.p12" with the files in JKS or P12 format
801 ## certificatesSecretName: cert-files
803 certificatesSecretName: ""
804 ## @param tls.passwordsSecretName Set the name of the secret that contains the passwords for the certificate files
805 ## It should contain two keys called "tls-keystore-password" and "tls-truststore-password".
807 ## passwordsSecretName: my-passwords
809 passwordsSecretName: ""
810 ## @param tls.keystorePassword Password to access the keystore when it's password-protected
813 ## @param tls.truststorePassword Password to access the truststore when it's password-protected
815 truststorePassword: ""
816 ## We usually recommend not to specify default resources and to leave this as a conscious
817 ## choice for the user. This also increases chances charts run on environments with little
818 ## resources, such as Minikube. If you do want to specify resources, uncomment the following
819 ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
820 ## @param tls.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if tls.resources is set (tls.resources is recommended for production).
822 resourcesPreset: "nano"
823 ## @param tls.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
834## @section Metrics parameters
837## Configuration for the Solr Prometheus exporter
840 ## @param metrics.enabled Deploy a Solr Prometheus exporter deployment to expose metrics
843 ## @param metrics.revisionHistoryLimit The number of old history to retain to allow rollback
844 ## NOTE: Explicitly setting this field to 0, will result in cleaning up all the history of your Deployment, thus that Deployment will not be able to rollback.
845 revisionHistoryLimit: 10
846 ## @param metrics.configFile Config file with metrics to export by the Solr prometheus metrics. To change it mount a different file using `extraConfigMaps`
848 configFile: "/opt/iamguarded/solr/prometheus-exporter/conf/solr-exporter-config.xml"
849 ## @param metrics.threads Number of Solr exporter threads
852 ## @param metrics.command Override Solr entrypoint string.
855 ## @param metrics.args Arguments for the provided command if needed
858 ## @param metrics.extraEnvVars Additional environment variables to set
865 ## @param metrics.extraEnvVarsCM ConfigMap with extra environment variables
868 ## @param metrics.extraEnvVarsSecret Secret with extra environment variables
870 extraEnvVarsSecret: ""
871 ## @param metrics.containerPorts.http Solr Prometheus exporter HTTP container port
875 ## Configure extra options for liveness probe
876 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
877 ## @param metrics.livenessProbe.enabled Enable livenessProbe on Solr Prometheus exporter containers
878 ## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
879 ## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
880 ## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
881 ## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
882 ## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
886 initialDelaySeconds: 10
891 ## @param metrics.readinessProbe.enabled Enable readinessProbe on Solr Prometheus exporter containers
892 ## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
893 ## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
894 ## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
895 ## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
896 ## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
900 initialDelaySeconds: 10
905 ## @param metrics.startupProbe.enabled Enable startupProbe on Solr Prometheus exporter containers
906 ## @param metrics.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
907 ## @param metrics.startupProbe.periodSeconds Period seconds for startupProbe
908 ## @param metrics.startupProbe.timeoutSeconds Timeout seconds for startupProbe
909 ## @param metrics.startupProbe.failureThreshold Failure threshold for startupProbe
910 ## @param metrics.startupProbe.successThreshold Success threshold for startupProbe
914 initialDelaySeconds: 30
919 ## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
921 customLivenessProbe: {}
922 ## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
924 customReadinessProbe: {}
925 ## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
927 customStartupProbe: {}
928 ## Solr Prometheus exporter resource requests and limits
929 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
930 ## @param metrics.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production).
932 resourcesPreset: "nano"
933 ## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
944 ## Solr Prometheus exporter containers' Security Context
945 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
946 ## @param metrics.containerSecurityContext.enabled Enabled containers' Security Context
947 ## @param metrics.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
948 ## @param metrics.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
949 ## @param metrics.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
950 ## @param metrics.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
951 ## @param metrics.containerSecurityContext.privileged Set container's Security Context privileged
952 ## @param metrics.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
953 ## @param metrics.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
954 ## @param metrics.containerSecurityContext.capabilities.drop List of capabilities to be dropped
955 ## @param metrics.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
957 containerSecurityContext:
964 readOnlyRootFilesystem: true
965 allowPrivilegeEscalation: false
969 type: "RuntimeDefault"
970 ## Solr Prometheus exporter pods' Security Context
971 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
972 ## @param metrics.podSecurityContext.enabled Enable Solr Prometheus exporter pods' Security Context
973 ## @param metrics.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
974 ## @param metrics.podSecurityContext.sysctls Set kernel settings using the sysctl interface
975 ## @param metrics.podSecurityContext.supplementalGroups Set filesystem extra groups
976 ## @param metrics.podSecurityContext.fsGroup Group ID for the pods.
980 fsGroupChangePolicy: Always
982 supplementalGroups: []
984 ## @param metrics.podLabels Additional labels for Solr Prometheus exporter pod(s)
985 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
988 ## @param metrics.podAnnotations Additional annotations for Solr Prometheus exporter pod(s)
989 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
992 ## @param metrics.podAffinityPreset Solr Prometheus exporter pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
993 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
995 podAffinityPreset: ""
996 ## @param metrics.podAntiAffinityPreset Solr Prometheus exporter pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
997 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
999 podAntiAffinityPreset: soft
1000 ## Node affinity preset
1001 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1004 ## @param metrics.nodeAffinityPreset.type Solr Prometheus exporter node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
1007 ## @param metrics.nodeAffinityPreset.key Solr Prometheus exporter node label key to match Ignored if `affinity` is set.
1009 ## key: "kubernetes.io/e2e-az-name"
1012 ## @param metrics.nodeAffinityPreset.values Solr Prometheus exporter node label values to match. Ignored if `affinity` is set.
1019 ## @param metrics.affinity Affinity settings for Solr Prometheus exporter pod assignment. Evaluated as a template
1020 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1023 ## @param metrics.nodeSelector Node labels for Solr Prometheus exporter pods assignment. Evaluated as a template
1024 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1027 ## @param metrics.tolerations Tolerations for Solr Prometheus exporter pods assignment. Evaluated as a template
1028 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1031 ## @param metrics.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1032 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1034 topologySpreadConstraints: []
1035 ## @param metrics.priorityClassName Solr Prometheus exporter pods' priority.
1036 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
1038 priorityClassName: ""
1039 ## @param metrics.schedulerName Kubernetes pod scheduler registry
1040 ## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1043 ## @param metrics.automountServiceAccountToken Mount Service Account token in pod
1045 automountServiceAccountToken: false
1046 ## @param metrics.hostAliases Solr Prometheus exporter pod host aliases
1047 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1050 ## @param metrics.updateStrategy.type Solr Prometheus exporter deployment strategy type
1051 ## @param metrics.updateStrategy.rollingUpdate Solr Prometheus exporter deployment rolling update configuration parameters
1052 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1057 ## @param metrics.extraVolumes Optionally specify extra list of additional volumes for the Solr Prometheus exporter pod(s)
1060 ## @param metrics.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Solr Prometheus exporter container(s)
1062 extraVolumeMounts: []
1063 ## @param metrics.initContainers Add init containers to the Solr Prometheus exporter pod(s)
1066 ## - name: your-image-name
1067 ## image: your-image
1068 ## imagePullPolicy: Always
1071 ## containerPort: 1234
1074 ## @param metrics.sidecars Add sidecars to the Solr Prometheus exporter pod(s)
1077 ## - name: your-image-name
1078 ## image: your-image
1079 ## imagePullPolicy: Always
1082 ## containerPort: 1234
1085 ## Service for the Solr Prometheus exporter deployment
1088 ## @param metrics.service.type Kubernetes Service type
1091 ## @param metrics.service.ports.http Solr Prometheus exporter HTTP service port
1095 ## @param metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1096 ## Values: ClientIP or None
1097 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1099 sessionAffinity: None
1100 ## @param metrics.service.clusterIP Solr Prometheus exporter service Cluster IP
1105 ## @param metrics.service.annotations annotations for Solr Prometheus exporter service
1108 ## @param metrics.service.labels Additional labels for Solr Prometheus exporter service
1111 ## Prometheus Operator ServiceMonitor configuration
1114 ## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using Prometheus Operator
1117 ## @param metrics.serviceMonitor.namespace Namespace for the ServiceMonitor Resource (defaults to the Release Namespace)
1120 ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
1121 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1124 ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1125 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1128 ## @param metrics.serviceMonitor.additionalLabels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
1130 additionalLabels: {}
1131 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
1134 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1137 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1139 metricRelabelings: []
1140 ## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
1143 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1146 ## Custom PrometheusRule to be defined
1147 ## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
1150 ## @param metrics.prometheusRule.enabled Create a custom prometheusRule Resource for scraping metrics using PrometheusOperator
1153 ## @param metrics.prometheusRule.namespace The namespace in which the prometheusRule will be created
1156 ## @param metrics.prometheusRule.additionalLabels Additional labels for the prometheusRule
1158 additionalLabels: {}
1159 ## @param metrics.prometheusRule.rules Custom Prometheus rules
1162 ## - alert: SolrDown
1163 ## expr: solr_up{service="{{ template "common.names.fullname" . }}-exporter"} == 0
1168 ## summary: Solr instance {{ "{{ $labels.instance }}" }} down
1169 ## description: Solr instance {{ "{{ $labels.instance }}" }} is down
1172## @section ZooKeeper parameters
1175## ZooKeeper chart configuration
1178 ## @param zookeeper.enabled Enable ZooKeeper deployment. Needed for Solr cloud
1181 ## @param zookeeper.fourlwCommandsWhitelist A list of comma separated Four Letter Words commands that can be executed
1183 fourlwCommandsWhitelist: srvr,mntr,conf,ruok
1184 ## @param zookeeper.containerPorts.client ZooKeeper client container port
1188 ## @param zookeeper.replicaCount Number of ZooKeeper nodes
1191 ## ZooKeeper Persistence parameters
1192 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1193 ## @param zookeeper.persistence.enabled Enable persistence on ZooKeeper using PVC(s)
1194 ## @param zookeeper.persistence.storageClass Persistent Volume storage class
1195 ## @param zookeeper.persistence.accessModes Persistent Volume access modes
1196 ## @param zookeeper.persistence.size Persistent Volume size
1207 repository: chainguard-private/zookeeper-iamguarded
1213 repository: chainguard-private/os-shell-iamguarded
1215## External Zookeeper Configuration
1216## All of these values are only used if `zookeeper.enabled=false`
1219 ## @param externalZookeeper.servers List of external zookeeper servers to use