---
title: "Helm Chart Values | Grafana Loki documentation"
description: "Reference for Helm Chart values."
---

# Helm Chart Values

This is the generated reference for the Loki Helm Chart values.

> **Note:** This reference is for the Loki Helm chart version 3.0 or greater. If you are using the `grafana/loki-stack` Helm chart from the community repo, please refer to the `values.yaml` of the respective Github repository [grafana/helm-charts](https://github.com/grafana/helm-charts/tree/main/charts/loki-stack).

| Key                                                        | Type   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Default                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|------------------------------------------------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| backend.affinity                                           | string | Affinity for backend pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| backend.annotations                                        | object | Annotations for backend StatefulSet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.autoscaling.behavior                               | object | Behavior policies while scaling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.autoscaling.enabled                                | bool   | Enable autoscaling for the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| backend.autoscaling.maxReplicas                            | int    | Maximum autoscaling replicas for the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| backend.autoscaling.minReplicas                            | int    | Minimum autoscaling replicas for the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| backend.autoscaling.targetCPUUtilizationPercentage         | int    | Target CPU utilization percentage for the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />60<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.autoscaling.targetMemoryUtilizationPercentage      | string | Target memory utilization percentage for the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.extraArgs                                          | list   | Additional CLI args for the backend                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.extraEnv                                           | list   | Environment variables to add to the backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.extraEnvFrom                                       | list   | Environment variables from secrets or configmaps to add to the backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.extraVolumeMounts                                  | list   | Volume mounts to add to the backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.extraVolumes                                       | list   | Volumes to add to the backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.image.registry                                     | string | The Docker registry for the backend image. Overrides \`loki.image.registry\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.image.repository                                   | string | Docker image repository for the backend image. Overrides \`loki.image.repository\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.image.tag                                          | string | Docker image tag for the backend image. Overrides \`loki.image.tag\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.initContainers                                     | list   | Init containers to add to the backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.nodeSelector                                       | object | Node selector for backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.persistence.enableStatefulSetAutoDeletePVC         | bool   | Enable StatefulSetAutoDeletePVC feature                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.persistence.selector                               | string | Selector for persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.persistence.size                                   | string | Size of persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"10Gi"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| backend.persistence.storageClass                           | string | Storage class to be used. If defined, storageClassName: . If set to "-", storageClassName: "", which disables dynamic provisioning. If empty or set to null, no storageClassName spec is set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.podAnnotations                                     | object | Annotations for backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.podLabels                                          | object | Additional labels for each \`backend\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.podManagementPolicy                                | string | The default is to deploy all pods in parallel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />"Parallel"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| backend.priorityClassName                                  | string | The name of the PriorityClass for backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| backend.replicas                                           | int    | Number of replicas for the backend                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| backend.resources                                          | object | Resource requests and limits for the backend                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.selectorLabels                                     | object | Additional selector labels for each \`backend\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.serviceLabels                                      | object | Labels for ingester service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| backend.targetModule                                       | string | Comma-separated list of Loki modules to load for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />"backend"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| backend.terminationGracePeriodSeconds                      | int    | Grace period to allow the backend to shutdown before it is killed. Especially for the ingester, this must be increased. It must be long enough so backends can be gracefully shutdown flushing/transferring all data and to successfully leave the member ring on shutdown.                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />300<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| backend.tolerations                                        | list   | Tolerations for backend pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| clusterLabelOverride                                       | string | Overrides the chart's cluster label                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.adminApi                                        | object | If enabled, the correct admin\_client storage will be configured. If disabled while running enterprise, make sure auth is set to \`type: trust\`, or that \`auth\_enabled\` is set to \`false\`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{
  "enabled": true
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| enterprise.adminToken.additionalNamespaces                 | list   | Additional namespace to also create the token in. Useful if your Grafana instance is in a different namespace                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.adminToken.secret                               | string | Alternative name for admin token secret, needed by tokengen and provisioner jobs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.canarySecret                                    | string | Alternative name of the secret to store token for the canary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.cluster\_name                                   | string | Optional name of the GEL cluster, otherwise will use .Release.Name The cluster name must match what is in your GEL license                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.config                                          | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"{{- if .Values.enterprise.adminApi.enabled }}\n{{- if or .Values.minio.enabled (eq .Values.loki.storage.type \"s3\") (eq .Values.loki.storage.type \"gcs\") (eq .Values.loki.storage.type \"azure\") }}\nadmin_client:\n  storage:\n    s3:\n      bucket_name: {{ .Values.loki.storage.bucketNames.admin }}\n{{- end }}\n{{- end }}\nauth:\n  type: {{ .Values.enterprise.adminApi.enabled | ternary \"enterprise\" \"trust\" }}\nauth_enabled: {{ .Values.loki.auth_enabled }}\ncluster_name: {{ include \"loki.clusterName\" . }}\nlicense:\n  path: /etc/loki/license/license.jwt\n"<br />```                                                                                                                                                                                               |
| enterprise.enabled                                         | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| enterprise.externalConfigName                              | string | Name of the external config secret to use                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.externalLicenseName                             | string | Name of external license secret to use                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.image.digest                                    | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.image.pullPolicy                                | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| enterprise.image.registry                                  | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| enterprise.image.repository                                | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"grafana/enterprise-logs"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| enterprise.image.tag                                       | string | Docker image tag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.license                                         | object | Grafana Enterprise Logs license In order to use Grafana Enterprise Logs features, you will need to provide the contents of your Grafana Enterprise Logs license, either by providing the contents of the license.jwt, or the name Kubernetes Secret that contains your license.jwt. To set the license contents, use the flag \`--set-file 'enterprise.license.contents=./license.jwt'\`                                                                                                                                                                                                                                                                                                      | ```<br />{
  "contents": "NOTAVALIDLICENSE"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner                                     | object | Configuration for \`provisioner\` target                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />{
  "additionalTenants": [],
  "annotations": {},
  "enabled": true,
  "env": [],
  "extraVolumeMounts": [],
  "image": {
    "digest": null,
    "pullPolicy": "IfNotPresent",
    "registry": "docker.io",
    "repository": "grafana/enterprise-logs-provisioner",
    "tag": null
  },
  "labels": {},
  "priorityClassName": null,
  "provisionedSecretPrefix": null,
  "securityContext": {
    "fsGroup": 10001,
    "runAsGroup": 10001,
    "runAsNonRoot": true,
    "runAsUser": 10001
  }
}<br />```                                                                                                                                                                                                                                                                                 |
| enterprise.provisioner.additionalTenants                   | list   | Additional tenants to be created. Each tenant will get a read and write policy and associated token. Tenant must have a name and a namespace for the secret containting the token to be created in. For example additionalTenants: - name: loki secretNamespace: grafana                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.provisioner.annotations                         | object | Additional annotations for the \`provisioner\` Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.provisioner.enabled                             | bool   | Whether the job should be part of the deployment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner.env                                 | list   | Additional Kubernetes environment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.provisioner.extraVolumeMounts                   | list   | Volume mounts to add to the provisioner pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.provisioner.image                               | object | Provisioner image to Utilize                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{
  "digest": null,
  "pullPolicy": "IfNotPresent",
  "registry": "docker.io",
  "repository": "grafana/enterprise-logs-provisioner",
  "tag": null
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| enterprise.provisioner.image.digest                        | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner.image.pullPolicy                    | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| enterprise.provisioner.image.registry                      | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| enterprise.provisioner.image.repository                    | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"grafana/enterprise-logs-provisioner"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| enterprise.provisioner.image.tag                           | string | Overrides the image tag whose default is the chart's appVersion                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner.labels                              | object | Additional labels for the \`provisioner\` Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.provisioner.priorityClassName                   | string | The name of the PriorityClass for provisioner Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner.provisionedSecretPrefix             | string | Name of the secret to store provisioned tokens in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.provisioner.securityContext                     | object | Run containers as user \`enterprise-logs(uid=10001)\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />{
  "fsGroup": 10001,
  "runAsGroup": 10001,
  "runAsNonRoot": true,
  "runAsUser": 10001
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| enterprise.tokengen                                        | object | Configuration for \`tokengen\` target                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />{
  "annotations": {},
  "enabled": true,
  "env": [],
  "extraArgs": [],
  "extraEnvFrom": [],
  "extraVolumeMounts": [],
  "extraVolumes": [],
  "labels": {},
  "priorityClassName": "",
  "securityContext": {
    "fsGroup": 10001,
    "runAsGroup": 10001,
    "runAsNonRoot": true,
    "runAsUser": 10001
  },
  "targetModule": "tokengen",
  "tolerations": []
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                             |
| enterprise.tokengen.annotations                            | object | Additional annotations for the \`tokengen\` Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.enabled                                | bool   | Whether the job should be part of the deployment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enterprise.tokengen.env                                    | list   | Additional Kubernetes environment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.extraArgs                              | list   | Additional CLI arguments for the \`tokengen\` target                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.extraEnvFrom                           | list   | Environment variables from secrets or configmaps to add to the tokengen pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.extraVolumeMounts                      | list   | Additional volume mounts for Pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.extraVolumes                           | list   | Additional volumes for Pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.labels                                 | object | Additional labels for the \`tokengen\` Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.priorityClassName                      | string | The name of the PriorityClass for tokengen Pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.tokengen.securityContext                        | object | Run containers as user \`enterprise-logs(uid=10001)\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />{
  "fsGroup": 10001,
  "runAsGroup": 10001,
  "runAsNonRoot": true,
  "runAsUser": 10001
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| enterprise.tokengen.targetModule                           | string | Comma-separated list of Loki modules to load for tokengen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />"tokengen"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| enterprise.tokengen.tolerations                            | list   | Tolerations for tokengen Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| enterprise.useExternalLicense                              | bool   | Set to true when providing an external license                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| enterprise.version                                         | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"v1.7.3"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| extraObjects                                               | list   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fullnameOverride                                           | string | Overrides the chart's computed fullname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.affinity                                           | string | Affinity for gateway pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| gateway.annotations                                        | object | Annotations for gateway deployment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.autoscaling.behavior                               | object | Behavior policies while scaling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.autoscaling.enabled                                | bool   | Enable autoscaling for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| gateway.autoscaling.maxReplicas                            | int    | Maximum autoscaling replicas for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| gateway.autoscaling.minReplicas                            | int    | Minimum autoscaling replicas for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| gateway.autoscaling.targetCPUUtilizationPercentage         | int    | Target CPU utilisation percentage for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />60<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.autoscaling.targetMemoryUtilizationPercentage      | string | Target memory utilisation percentage for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.basicAuth.enabled                                  | bool   | Enables basic authentication for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| gateway.basicAuth.existingSecret                           | string | Existing basic auth secret to use. Must contain '.htpasswd'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.basicAuth.htpasswd                                 | string | Uses the specified users from the \`loki.tenants\` list to create the htpasswd file if \`loki.tenants\` is not set, the \`gateway.basicAuth.username\` and \`gateway.basicAuth.password\` are used The value is templated using \`tpl\`. Override this to use a custom htpasswd, e.g. in case the default causes high CPU load.                                                                                                                                                                                                                                                                                                                                                               | ```<br />"{{ if .Values.loki.tenants }}\n  {{- range $t := .Values.loki.tenants }}\n{{ htpasswd (required \"All tenants must have a 'name' set\" $t.name) (required \"All tenants must have a 'password' set\" $t.password) }}\n  {{- end }}\n{{ else }} {{ htpasswd (required \"'gateway.basicAuth.username' is required\" .Values.gateway.basicAuth.username) (required \"'gateway.basicAuth.password' is required\" .Values.gateway.basicAuth.password) }} {{ end }}"<br />```                                                                                                                                                                                                                                                                                                                         |
| gateway.basicAuth.password                                 | string | The basic auth password for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.basicAuth.username                                 | string | The basic auth username for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.containerSecurityContext                           | object | The SecurityContext for gateway containers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{
  "allowPrivilegeEscalation": false,
  "capabilities": {
    "drop": [
      "ALL"
    ]
  },
  "readOnlyRootFilesystem": true
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.deploymentStrategy.type                            | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"RollingUpdate"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| gateway.enabled                                            | bool   | Specifies whether the gateway should be enabled                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.extraArgs                                          | list   | Additional CLI args for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.extraEnv                                           | list   | Environment variables to add to the gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.extraEnvFrom                                       | list   | Environment variables from secrets or configmaps to add to the gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.extraVolumeMounts                                  | list   | Volume mounts to add to the gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.extraVolumes                                       | list   | Volumes to add to the gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.image.digest                                       | string | Overrides the gateway image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.image.pullPolicy                                   | string | The gateway image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| gateway.image.registry                                     | string | The Docker registry for the gateway image                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| gateway.image.repository                                   | string | The gateway image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />"nginxinc/nginx-unprivileged"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| gateway.image.tag                                          | string | The gateway image tag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />"1.23-alpine"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| gateway.ingress.annotations                                | object | Annotations for the gateway ingress                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.ingress.enabled                                    | bool   | Specifies whether an ingress for the gateway should be created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| gateway.ingress.hosts                                      | list   | Hosts configuration for the gateway ingress                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[
  {
    "host": "gateway.loki.example.com",
    "paths": [
      {
        "path": "/"
      }
    ]
  }
]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| gateway.ingress.ingressClassName                           | string | Ingress Class Name. MAY be required for Kubernetes versions &gt;= 1.18                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.ingress.labels                                     | object | Labels for the gateway ingress                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.ingress.tls                                        | list   | TLS configuration for the gateway ingress                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />[
  {
    "hosts": [
      "gateway.loki.example.com"
    ],
    "secretName": "loki-gateway-tls"
  }
]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| gateway.lifecycle                                          | object | Lifecycle for the gateway container                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.nginxConfig.customBackendUrl                       | string | Override Backend URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.nginxConfig.customReadUrl                          | string | Override Read URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.nginxConfig.customWriteUrl                         | string | Override Write URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.nginxConfig.file                                   | string | Config file contents for Nginx. Passed through the \`tpl\` function to allow templating                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />See values.yaml<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| gateway.nginxConfig.httpSnippet                            | string | Allows appending custom configuration to the http block, passed through the \`tpl\` function to allow templating                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />"{{ if .Values.loki.tenants }}proxy_set_header X-Scope-OrgID $remote_user;{{ end }}"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.nginxConfig.logFormat                              | string | NGINX log format                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />"main '$remote_addr - $remote_user [$time_local]  $status '\n        '\"$request\" $body_bytes_sent \"$http_referer\" '\n        '\"$http_user_agent\" \"$http_x_forwarded_for\"';"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| gateway.nginxConfig.serverSnippet                          | string | Allows appending custom configuration to the server block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.nodeSelector                                       | object | Node selector for gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.podAnnotations                                     | object | Annotations for gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.podLabels                                          | object | Additional labels for gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.podSecurityContext                                 | object | The SecurityContext for gateway containers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{
  "fsGroup": 101,
  "runAsGroup": 101,
  "runAsNonRoot": true,
  "runAsUser": 101
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| gateway.priorityClassName                                  | string | The name of the PriorityClass for gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.readinessProbe.httpGet.path                        | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| gateway.readinessProbe.httpGet.port                        | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"http"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| gateway.readinessProbe.initialDelaySeconds                 | int    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />15<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.readinessProbe.timeoutSeconds                      | int    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| gateway.replicas                                           | int    | Number of replicas for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| gateway.resources                                          | object | Resource requests and limits for the gateway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.service.annotations                                | object | Annotations for the gateway service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.service.clusterIP                                  | string | ClusterIP of the gateway service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.service.labels                                     | object | Labels for gateway service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.service.loadBalancerIP                             | string | Load balancer IPO address if service type is LoadBalancer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.service.nodePort                                   | int    | Node port if service type is NodePort                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gateway.service.port                                       | int    | Port of the gateway service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />80<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.service.type                                       | string | Type of the gateway service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />"ClusterIP"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| gateway.terminationGracePeriodSeconds                      | int    | Grace period to allow the gateway to shutdown before it is killed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />30<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.tolerations                                        | list   | Tolerations for gateway pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| gateway.verboseLogging                                     | bool   | Enable logging of 2xx and 3xx HTTP requests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| global.clusterDomain                                       | string | configures cluster domain ("cluster.local" by default)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />"cluster.local"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| global.dnsNamespace                                        | string | configures DNS service namespace                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />"kube-system"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| global.dnsService                                          | string | configures DNS service name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />"kube-dns"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| global.image.registry                                      | string | Overrides the Docker registry globally for all images                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| global.priorityClassName                                   | string | Overrides the priorityClassName for all pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| imagePullSecrets                                           | list   | Image pull secrets for Docker images                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ingress.annotations                                        | object |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ingress.enabled                                            | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ingress.hosts\[0]                                          | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"loki.example.com"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ingress.ingressClassName                                   | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ingress.labels                                             | object |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ingress.paths.read\[0]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/tail"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ingress.paths.read\[1]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/tail"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ingress.paths.read\[2]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ingress.paths.read\[3]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ingress.paths.read\[4]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ingress.paths.read\[5]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/prometheus/api/v1/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ingress.paths.read\[6]                                     | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/prometheus/api/v1/alerts"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ingress.paths.singleBinary\[0]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/push"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ingress.paths.singleBinary\[1]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/push"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ingress.paths.singleBinary\[2]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/tail"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ingress.paths.singleBinary\[3]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/tail"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ingress.paths.singleBinary\[4]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ingress.paths.singleBinary\[5]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ingress.paths.singleBinary\[6]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ingress.paths.singleBinary\[7]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/prometheus/api/v1/rules"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ingress.paths.singleBinary\[8]                             | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/prometheus/api/v1/alerts"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ingress.paths.write\[0]                                    | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/api/prom/push"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ingress.paths.write\[1]                                    | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/loki/api/v1/push"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ingress.tls                                                | list   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| kubectlImage.digest                                        | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| kubectlImage.pullPolicy                                    | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| kubectlImage.registry                                      | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| kubectlImage.repository                                    | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"bitnami/kubectl"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| kubectlImage.tag                                           | string | Overrides the image tag whose default is the chart's appVersion                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.analytics                                             | object | Optional analytics configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.annotations                                           | object | Common annotations for all deployments/StatefulSets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.auth\_enabled                                         | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.commonConfig                                          | object | Check https://grafana.com/docs/loki/latest/configuration/#common\_config for more info on how to provide a common configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{
  "compactor_address": "{{ include \"loki.compactorAddress\" . }}",
  "path_prefix": "/var/loki",
  "replication_factor": 3
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| loki.compactor                                             | object | Optional compactor configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.config                                                | string | Config file contents for Loki                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />See values.yaml<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| loki.configStorageType                                     | string | Defines what kind of object stores the configuration, a ConfigMap or a Secret. In order to move sensitive information (such as credentials) from the ConfigMap/Secret to a more secure location (e.g. vault), it is possible to use \[environment variables in the configuration](https://grafana.com/docs/loki/latest/configuration/#use-environment-variables-in-the-configuration). Such environment variables can be then stored in a separate Secret and injected via the global.extraEnvFrom value. For details about environment injection from a Secret please see \[Secrets](https://kubernetes.io/docs/concepts/configuration/secret/#use-case-as-container-environment-variables). | ```<br />"ConfigMap"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| loki.containerSecurityContext                              | object | The SecurityContext for Loki containers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />{
  "allowPrivilegeEscalation": false,
  "capabilities": {
    "drop": [
      "ALL"
    ]
  },
  "readOnlyRootFilesystem": true
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.enableServiceLinks                                    | bool   | Should enableServiceLinks be enabled. Default to enable                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.existingSecretForConfig                               | string | Specify an existing secret containing loki configuration. If non-empty, overrides \`loki.config\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.externalConfigSecretName                              | string | Name of the Secret or ConfigMap that contains the configuration (used for naming even if config is internal).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />"{{ include \"loki.name\" . }}"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| loki.extraMemberlistConfig                                 | object | Extra memberlist configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.frontend.scheduler\_address                           | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"{{ include \"loki.querySchedulerAddress\" . }}"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| loki.frontend\_worker.scheduler\_address                   | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"{{ include \"loki.querySchedulerAddress\" . }}"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| loki.image.digest                                          | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.image.pullPolicy                                      | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| loki.image.registry                                        | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| loki.image.repository                                      | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"grafana/loki"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| loki.image.tag                                             | string | Overrides the image tag whose default is the chart's appVersion TODO: needed for 3rd target backend functionality revert to null or latest once this behavior is relased                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.index\_gateway                                        | object | Optional index gateway configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />{
  "mode": "ring"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| loki.ingester                                              | object | Optional ingester configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.limits\_config                                        | object | Limits config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />{
  "enforce_metric_name": false,
  "max_cache_freshness_per_query": "10m",
  "reject_old_samples": true,
  "reject_old_samples_max_age": "168h",
  "split_queries_by_interval": "15m"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| loki.memberlistConfig                                      | object | memberlist configuration (overrides embedded default)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.memcached                                             | object | Configure memcached as an external cache for chunk and results cache. Disabled by default must enable and specify a host for each cache you would like to use.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{
  "chunk_cache": {
    "batch_size": 256,
    "enabled": false,
    "host": "",
    "parallelism": 10,
    "service": "memcached-client"
  },
  "results_cache": {
    "default_validity": "12h",
    "enabled": false,
    "host": "",
    "service": "memcached-client",
    "timeout": "500ms"
  }
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| loki.podAnnotations                                        | object | Common annotations for all pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.podLabels                                             | object | Common labels for all pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.podSecurityContext                                    | object | The SecurityContext for Loki pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{
  "fsGroup": 10001,
  "runAsGroup": 10001,
  "runAsNonRoot": true,
  "runAsUser": 10001
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| loki.querier                                               | object | Optional querier configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.query\_scheduler                                      | object | Additional query scheduler config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.readinessProbe.httpGet.path                           | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"/ready"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| loki.readinessProbe.httpGet.port                           | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />"http-metrics"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| loki.readinessProbe.initialDelaySeconds                    | int    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />30<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.readinessProbe.timeoutSeconds                         | int    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| loki.revisionHistoryLimit                                  | int    | The number of old ReplicaSets to retain to allow rollback                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />10<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.rulerConfig                                           | object | Check https://grafana.com/docs/loki/latest/configuration/#ruler for more info on configuring ruler                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.runtimeConfig                                         | object | Provides a reloadable runtime configuration file for some specific configuration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.schemaConfig                                          | object | Check https://grafana.com/docs/loki/latest/configuration/#schema\_config for more info on how to configure schemas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.server                                                | object | Check https://grafana.com/docs/loki/latest/configuration/#server for more info on the server configuration.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{
  "grpc_listen_port": 9095,
  "http_listen_port": 3100
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| loki.storage                                               | object | Storage config. Providing this will automatically populate all necessary storage configs in the templated config.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{
  "azure": {
    "accountKey": null,
    "accountName": null,
    "endpointSuffix": null,
    "requestTimeout": null,
    "useFederatedToken": false,
    "useManagedIdentity": false,
    "userAssignedId": null
  },
  "bucketNames": {
    "admin": "admin",
    "chunks": "chunks",
    "ruler": "ruler"
  },
  "filesystem": {
    "chunks_directory": "/var/loki/chunks",
    "rules_directory": "/var/loki/rules"
  },
  "gcs": {
    "chunkBufferSize": 0,
    "enableHttp2": true,
    "requestTimeout": "0s"
  },
  "s3": {
    "accessKeyId": null,
    "endpoint": null,
    "http_config": {},
    "insecure": false,
    "region": null,
    "s3": null,
    "s3ForcePathStyle": false,
    "secretAccessKey": null,
    "signatureVersion": null
  },
  "type": "s3"
}<br />``` |
| loki.storage\_config                                       | object | Additional storage config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{
  "hedging": {
    "at": "250ms",
    "max_per_second": 20,
    "up_to": 3
  }
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.structuredConfig                                      | object | Structured loki configuration, takes precedence over \`loki.config\`, \`loki.schemaConfig\`, \`loki.storageConfig\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| loki.tenants                                               | list   | Tenants list to be created on nginx htpasswd file, with name and password keys                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| memberlist.service.publishNotReadyAddresses                | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| migrate                                                    | object | Options that may be necessary when performing a migration from another helm chart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{
  "fromDistributed": {
    "enabled": false,
    "memberlistService": ""
  }
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| migrate.fromDistributed                                    | object | When migrating from a distributed chart like loki-distributed or enterprise-logs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{
  "enabled": false,
  "memberlistService": ""
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| migrate.fromDistributed.enabled                            | bool   | Set to true if migrating from a distributed helm chart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| migrate.fromDistributed.memberlistService                  | string | If migrating from a distributed service, provide the distributed deployment's memberlist service DNS so the new deployment can join its ring.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| minio                                                      | object | \-----------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />{
  "buckets": [
    {
      "name": "chunks",
      "policy": "none",
      "purge": false
    },
    {
      "name": "ruler",
      "policy": "none",
      "purge": false
    },
    {
      "name": "admin",
      "policy": "none",
      "purge": false
    }
  ],
  "drivesPerNode": 2,
  "enabled": false,
  "persistence": {
    "size": "5Gi"
  },
  "replicas": 1,
  "resources": {
    "requests": {
      "cpu": "100m",
      "memory": "128Mi"
    }
  },
  "rootPassword": "supersecret",
  "rootUser": "enterprise-logs"
}<br />```                                                                                                                                                                                                                                             |
| monitoring.dashboards.annotations                          | object | Additional annotations for the dashboards ConfigMap                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.dashboards.enabled                              | bool   | If enabled, create configmap with dashboards for monitoring Loki                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.dashboards.labels                               | object | Labels for the dashboards ConfigMap                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{
  "grafana_dashboard": "1"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| monitoring.dashboards.namespace                            | string | Alternative namespace to create dashboards ConfigMap in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.lokiCanary.annotations                          | object | Additional annotations for the \`loki-canary\` Daemonset                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.enabled                              | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.lokiCanary.extraArgs                            | list   | Additional CLI arguments for the \`loki-canary' command                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.extraEnv                             | list   | Environment variables to add to the canary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.extraEnvFrom                         | list   | Environment variables from secrets or configmaps to add to the canary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.image                                | object | Image to use for loki canary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{
  "digest": null,
  "pullPolicy": "IfNotPresent",
  "registry": "docker.io",
  "repository": "grafana/loki-canary",
  "tag": null
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| monitoring.lokiCanary.image.digest                         | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.lokiCanary.image.pullPolicy                     | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| monitoring.lokiCanary.image.registry                       | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| monitoring.lokiCanary.image.repository                     | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"grafana/loki-canary"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| monitoring.lokiCanary.image.tag                            | string | Overrides the image tag whose default is the chart's appVersion                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.lokiCanary.labelname                            | string | The name of the label to look for at loki when doing the checks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />"pod"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| monitoring.lokiCanary.nodeSelector                         | object | Node selector for canary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.podLabels                            | object | Additional labels for each \`loki-canary\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.priorityClassName                    | string | The name of the PriorityClass for loki-canary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.lokiCanary.resources                            | object | Resource requests and limits for the canary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.tolerations                          | list   | Tolerations for canary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.lokiCanary.updateStrategy                       | object | Update strategy for the \`loki-canary\` Daemonset pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />{
  "rollingUpdate": {
    "maxUnavailable": 1
  },
  "type": "RollingUpdate"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| monitoring.rules.additionalGroups                          | list   | Additional groups to add to the rules file                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.rules.additionalRuleLabels                      | object | Additional labels for PrometheusRule alerts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.rules.alerting                                  | bool   | Include alerting rules                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.rules.annotations                               | object | Additional annotations for the rules PrometheusRule resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.rules.enabled                                   | bool   | If enabled, create PrometheusRule resource with Loki recording rules                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.rules.labels                                    | object | Additional labels for the rules PrometheusRule resource                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.rules.namespace                                 | string | Alternative namespace to create PrometheusRule resources in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.selfMonitoring.enabled                          | bool   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.selfMonitoring.grafanaAgent.annotations         | object | Grafana Agent annotations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.grafanaAgent.enableConfigReadAPI | bool   | Enable the config read api on port 8080 of the agent                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| monitoring.selfMonitoring.grafanaAgent.installOperator     | bool   | Controls whether to install the Grafana Agent Operator and its CRDs. Note that helm will not install CRDs if this flag is enabled during an upgrade. In that case install the CRDs manually from https://github.com/grafana/agent/tree/main/production/operator/crds                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.selfMonitoring.grafanaAgent.labels              | object | Additional Grafana Agent labels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.grafanaAgent.priorityClassName   | string | The name of the PriorityClass for GrafanaAgent pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.selfMonitoring.logsInstance.annotations         | object | LogsInstance annotations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.logsInstance.clients             | string | Additional clients for remote write                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.selfMonitoring.logsInstance.labels              | object | Additional LogsInstance labels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.podLogs.annotations              | object | PodLogs annotations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.podLogs.labels                   | object | Additional PodLogs labels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.podLogs.relabelings              | list   | PodLogs relabel configs to apply to samples before scraping https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.selfMonitoring.tenant                           | object | Tenant to use for self monitoring                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{
  "name": "self-monitoring",
  "secretNamespace": "{{ .Release.Namespace }}"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| monitoring.selfMonitoring.tenant.name                      | string | Name of the tenant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />"self-monitoring"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| monitoring.selfMonitoring.tenant.secretNamespace           | string | Namespace to create additional tenant token secret in. Useful if your Grafana instance is in a separate namespace. Token will still be created in the canary namespace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"{{ .Release.Namespace }}"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| monitoring.serviceMonitor.annotations                      | object | ServiceMonitor annotations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.enabled                          | bool   | If enabled, ServiceMonitor resources for Prometheus Operator are created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.serviceMonitor.interval                         | string | ServiceMonitor scrape interval Default is 15s because included recording rules use a 1m rate, and scrape interval needs to be at least 1/4 rate interval.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />"15s"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| monitoring.serviceMonitor.labels                           | object | Additional ServiceMonitor labels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.metricRelabelings                | list   | ServiceMonitor metric relabel configs to apply to samples before ingestion https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.metricsInstance                  | object | If defined, will create a MetricsInstance for the Grafana Agent Operator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{
  "annotations": {},
  "enabled": true,
  "labels": {},
  "remoteWrite": null
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| monitoring.serviceMonitor.metricsInstance.annotations      | object | MetricsInstance annotations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.metricsInstance.enabled          | bool   | If enabled, MetricsInstance resources for Grafana Agent Operator are created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.serviceMonitor.metricsInstance.labels           | object | Additional MetricsInstance labels                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.metricsInstance.remoteWrite      | string | If defined a MetricsInstance will be created to remote write metrics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.serviceMonitor.namespaceSelector                | object | Namespace selector for ServiceMonitor resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.relabelings                      | list   | ServiceMonitor relabel configs to apply to samples before scraping https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| monitoring.serviceMonitor.scheme                           | string | ServiceMonitor will use http by default, but you can pick https as well                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"http"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| monitoring.serviceMonitor.scrapeTimeout                    | string | ServiceMonitor scrape timeout in Go duration format (e.g. 15s)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| monitoring.serviceMonitor.tlsConfig                        | string | ServiceMonitor will use these tlsConfig settings to make the health check requests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| nameOverride                                               | string | Overrides the chart's name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| networkPolicy.alertmanager.namespaceSelector               | object | Specifies the namespace the alertmanager is running in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.alertmanager.podSelector                     | object | Specifies the alertmanager Pods. As this is cross-namespace communication, you also need the namespaceSelector.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.alertmanager.port                            | int    | Specify the alertmanager port used for alerting                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />9093<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| networkPolicy.discovery.namespaceSelector                  | object | Specifies the namespace the discovery Pods are running in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.discovery.podSelector                        | object | Specifies the Pods labels used for discovery. As this is cross-namespace communication, you also need the namespaceSelector.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.discovery.port                               | int    | Specify the port used for discovery                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| networkPolicy.enabled                                      | bool   | Specifies whether Network Policies should be created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| networkPolicy.externalStorage.cidrs                        | list   | Specifies specific network CIDRs you want to limit access to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.externalStorage.ports                        | list   | Specify the port used for external storage, e.g. AWS S3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.ingress.namespaceSelector                    | object | Specifies the namespaces which are allowed to access the http port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.ingress.podSelector                          | object | Specifies the Pods which are allowed to access the http port. As this is cross-namespace communication, you also need the namespaceSelector.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.metrics.cidrs                                | list   | Specifies specific network CIDRs which are allowed to access the metrics port. In case you use namespaceSelector, you also have to specify your kubelet networks here. The metrics ports are also used for probes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.metrics.namespaceSelector                    | object | Specifies the namespaces which are allowed to access the metrics port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| networkPolicy.metrics.podSelector                          | object | Specifies the Pods which are allowed to access the metrics port. As this is cross-namespace communication, you also need the namespaceSelector.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| rbac.pspEnabled                                            | bool   | If pspEnabled true, a PodSecurityPolicy is created for K8s that use psp.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| rbac.sccEnabled                                            | bool   | For OpenShift set pspEnabled to 'false' and sccEnabled to 'true' to use the SecurityContextConstraints.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| read.affinity                                              | string | Affinity for read pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| read.annotations                                           | object | Annotations for read deployment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.autoscaling.behavior                                  | object | Behavior policies while scaling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.autoscaling.enabled                                   | bool   | Enable autoscaling for the read, this is only used if \`queryIndex.enabled: true\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| read.autoscaling.maxReplicas                               | int    | Maximum autoscaling replicas for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| read.autoscaling.minReplicas                               | int    | Minimum autoscaling replicas for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| read.autoscaling.targetCPUUtilizationPercentage            | int    | Target CPU utilisation percentage for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />60<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.autoscaling.targetMemoryUtilizationPercentage         | string | Target memory utilisation percentage for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.extraArgs                                             | list   | Additional CLI args for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.extraEnv                                              | list   | Environment variables to add to the read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.extraEnvFrom                                          | list   | Environment variables from secrets or configmaps to add to the read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.extraVolumeMounts                                     | list   | Volume mounts to add to the read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.extraVolumes                                          | list   | Volumes to add to the read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.image.registry                                        | string | The Docker registry for the read image. Overrides \`loki.image.registry\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.image.repository                                      | string | Docker image repository for the read image. Overrides \`loki.image.repository\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.image.tag                                             | string | Docker image tag for the read image. Overrides \`loki.image.tag\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.legacyReadTarget                                      | bool   | Whether or not to use the 2 target type simple scalable mode (read, write) or the 3 target type (read, write, backend). Legacy refers to the 2 target type, so true will run two targets, false will run 3 targets.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| read.lifecycle                                             | object | Lifecycle for the read container                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.nodeSelector                                          | object | Node selector for read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.persistence.enableStatefulSetAutoDeletePVC            | bool   | Enable StatefulSetAutoDeletePVC feature                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.persistence.selector                                  | string | Selector for persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.persistence.size                                      | string | Size of persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"10Gi"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| read.persistence.storageClass                              | string | Storage class to be used. If defined, storageClassName: . If set to "-", storageClassName: "", which disables dynamic provisioning. If empty or set to null, no storageClassName spec is set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.podAnnotations                                        | object | Annotations for read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.podLabels                                             | object | Additional labels for each \`read\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.podManagementPolicy                                   | string | The default is to deploy all pods in parallel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />"Parallel"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| read.priorityClassName                                     | string | The name of the PriorityClass for read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| read.replicas                                              | int    | Number of replicas for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| read.resources                                             | object | Resource requests and limits for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.selectorLabels                                        | object | Additional selector labels for each \`read\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.serviceLabels                                         | object | Labels for read service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.targetModule                                          | string | Comma-separated list of Loki modules to load for the read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />"read"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| read.terminationGracePeriodSeconds                         | int    | Grace period to allow the read to shutdown before it is killed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />30<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| read.tolerations                                           | list   | Tolerations for read pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| serviceAccount.annotations                                 | object | Annotations for the service account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| serviceAccount.automountServiceAccountToken                | bool   | Set this toggle to false to opt out of automounting API credentials for the service account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| serviceAccount.create                                      | bool   | Specifies whether a ServiceAccount should be created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| serviceAccount.imagePullSecrets                            | list   | Image pull secrets for the service account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| serviceAccount.labels                                      | object | Labels for the service account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| serviceAccount.name                                        | string | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.affinity                                      | string | Affinity for single binary pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| singleBinary.annotations                                   | object | Annotations for single binary StatefulSet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.autoscaling.enabled                           | bool   | Enable autoscaling                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| singleBinary.autoscaling.maxReplicas                       | int    | Maximum autoscaling replicas for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| singleBinary.autoscaling.minReplicas                       | int    | Minimum autoscaling replicas for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| singleBinary.autoscaling.targetCPUUtilizationPercentage    | int    | Target CPU utilisation percentage for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />60<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.autoscaling.targetMemoryUtilizationPercentage | string | Target memory utilisation percentage for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.extraArgs                                     | list   | Labels for single binary service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.extraContainers                               | list   | Extra containers to add to the single binary loki pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.extraEnv                                      | list   | Environment variables to add to the single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.extraEnvFrom                                  | list   | Environment variables from secrets or configmaps to add to the single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.extraVolumeMounts                             | list   | Volume mounts to add to the single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.extraVolumes                                  | list   | Volumes to add to the single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.image.registry                                | string | The Docker registry for the single binary image. Overrides \`loki.image.registry\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.image.repository                              | string | Docker image repository for the single binary image. Overrides \`loki.image.repository\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.image.tag                                     | string | Docker image tag for the single binary image. Overrides \`loki.image.tag\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.initContainers                                | list   | Init containers to add to the single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.nodeSelector                                  | object | Node selector for single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.persistence.enableStatefulSetAutoDeletePVC    | bool   | Enable StatefulSetAutoDeletePVC feature                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.persistence.enabled                           | bool   | Enable persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />true<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.persistence.selector                          | string | Selector for persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.persistence.size                              | string | Size of persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"10Gi"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| singleBinary.persistence.storageClass                      | string | Storage class to be used. If defined, storageClassName: . If set to "-", storageClassName: "", which disables dynamic provisioning. If empty or set to null, no storageClassName spec is set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.podAnnotations                                | object | Annotations for single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.podLabels                                     | object | Additional labels for each \`single binary\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.priorityClassName                             | string | The name of the PriorityClass for single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| singleBinary.replicas                                      | int    | Number of replicas for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />0<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| singleBinary.resources                                     | object | Resource requests and limits for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.selectorLabels                                | object | Additional selector labels for each \`single binary\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.targetModule                                  | string | Comma-separated list of Loki modules to load for the single binary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />"all"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| singleBinary.terminationGracePeriodSeconds                 | int    | Grace period to allow the single binary to shutdown before it is killed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />30<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| singleBinary.tolerations                                   | list   | Tolerations for single binary pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.affinity                                      | string | Affinity for table-manager pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| tableManager.annotations                                   | object | Annotations for table-manager deployment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.command                                       | string | Command to execute instead of defined in Docker image                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tableManager.enabled                                       | bool   | Specifies whether the table-manager should be enabled                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| tableManager.extraArgs                                     | list   | Additional CLI args for the table-manager                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.extraContainers                               | list   | Containers to add to the table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.extraEnv                                      | list   | Environment variables to add to the table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.extraEnvFrom                                  | list   | Environment variables from secrets or configmaps to add to the table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.extraVolumeMounts                             | list   | Volume mounts to add to the table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.extraVolumes                                  | list   | Volumes to add to the table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.image.registry                                | string | The Docker registry for the table-manager image. Overrides \`loki.image.registry\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tableManager.image.repository                              | string | Docker image repository for the table-manager image. Overrides \`loki.image.repository\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tableManager.image.tag                                     | string | Docker image tag for the table-manager image. Overrides \`loki.image.tag\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tableManager.nodeSelector                                  | object | Node selector for table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.podAnnotations                                | object | Annotations for table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.podLabels                                     | object | Labels for table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.priorityClassName                             | string | The name of the PriorityClass for table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tableManager.resources                                     | object | Resource requests and limits for the table-manager                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.retention\_deletes\_enabled                   | bool   | Enable deletes by retention                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| tableManager.retention\_period                             | int    | Set retention period                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />0<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| tableManager.serviceLabels                                 | object | Labels for table-manager service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.terminationGracePeriodSeconds                 | int    | Grace period to allow the table-manager to shutdown before it is killed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />30<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tableManager.tolerations                                   | list   | Tolerations for table-manager pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| test                                                       | object | Section for configuring optional Helm test                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{
  "annotations": {},
  "enabled": true,
  "image": {
    "digest": null,
    "pullPolicy": "IfNotPresent",
    "registry": "docker.io",
    "repository": "grafana/loki-helm-test",
    "tag": null
  },
  "labels": {},
  "prometheusAddress": "http://prometheus:9090",
  "timeout": "1m"
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| test.annotations                                           | object | Additional annotations for test pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| test.image                                                 | object | Image to use for loki canary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{
  "digest": null,
  "pullPolicy": "IfNotPresent",
  "registry": "docker.io",
  "repository": "grafana/loki-helm-test",
  "tag": null
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| test.image.digest                                          | string | Overrides the image tag with an image digest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| test.image.pullPolicy                                      | string | Docker image pull policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />"IfNotPresent"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| test.image.registry                                        | string | The Docker registry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />"docker.io"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| test.image.repository                                      | string | Docker image repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"grafana/loki-helm-test"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| test.image.tag                                             | string | Overrides the image tag whose default is the chart's appVersion                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| test.labels                                                | object | Additional labels for the test pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| test.prometheusAddress                                     | string | Address of the prometheus server to query for the test                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />"http://prometheus:9090"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| test.timeout                                               | string | Number of times to retry the test before failing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />"1m"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tracing.jaegerAgentHost                                    | string |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ```<br />""<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.affinity                                             | string | Affinity for write pods. Passed through \`tpl\` and, thus, to be configured as string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ```<br />Hard node and soft zone anti-affinity<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| write.annotations                                          | object | Annotations for write StatefulSet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.autoscaling.behavior                                 | object | Behavior policies while scaling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />{
  "scaleDown": {
    "policies": [
      {
        "periodSeconds": 1800,
        "type": "Pods",
        "value": 1
      }
    ],
    "stabilizationWindowSeconds": 3600
  },
  "scaleUp": {
    "policies": [
      {
        "periodSeconds": 900,
        "type": "Pods",
        "value": 1
      }
    ]
  }
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| write.autoscaling.behavior.scaleUp                         | object | see https://github.com/grafana/loki/blob/main/docs/sources/operations/storage/wal.md#how-to-scale-updown for scaledown details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />{
  "policies": [
    {
      "periodSeconds": 900,
      "type": "Pods",
      "value": 1
    }
  ]
}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| write.autoscaling.enabled                                  | bool   | Enable autoscaling for the write.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| write.autoscaling.maxReplicas                              | int    | Maximum autoscaling replicas for the write.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| write.autoscaling.minReplicas                              | int    | Minimum autoscaling replicas for the write.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />1<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| write.autoscaling.targetCPUUtilizationPercentage           | int    | Target CPU utilisation percentage for the write.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />60<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.autoscaling.targetMemoryUtilizationPercentage        | string | Target memory utilization percentage for the write.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.extraArgs                                            | list   | Additional CLI args for the write                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.extraEnv                                             | list   | Environment variables to add to the write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.extraEnvFrom                                         | list   | Environment variables from secrets or configmaps to add to the write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.extraVolumeClaimTemplates                            | list   | volumeClaimTemplates to add to StatefulSet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.extraVolumeMounts                                    | list   | Volume mounts to add to the write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.extraVolumes                                         | list   | Volumes to add to the write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.image.registry                                       | string | The Docker registry for the write image. Overrides \`loki.image.registry\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.image.repository                                     | string | Docker image repository for the write image. Overrides \`loki.image.repository\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.image.tag                                            | string | Docker image tag for the write image. Overrides \`loki.image.tag\`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.initContainers                                       | list   | Init containers to add to the write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.lifecycle                                            | object | Lifecycle for the write container                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.nodeSelector                                         | object | Node selector for write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.persistence.enableStatefulSetAutoDeletePVC           | bool   | Enable StatefulSetAutoDeletePVC feature                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />false<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| write.persistence.selector                                 | string | Selector for persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.persistence.size                                     | string | Size of persistent disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />"10Gi"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| write.persistence.storageClass                             | string | Storage class to be used. If defined, storageClassName: . If set to "-", storageClassName: "", which disables dynamic provisioning. If empty or set to null, no storageClassName spec is set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack).                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.podAnnotations                                       | object | Annotations for write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.podLabels                                            | object | Additional labels for each \`write\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.podManagementPolicy                                  | string | The default is to deploy all pods in parallel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ```<br />"Parallel"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| write.priorityClassName                                    | string | The name of the PriorityClass for write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ```<br />null<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| write.replicas                                             | int    | Number of replicas for the write                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ```<br />3<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| write.resources                                            | object | Resource requests and limits for the write                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.selectorLabels                                       | object | Additional selector labels for each \`write\` pod                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.serviceLabels                                        | object | Labels for ingester service                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ```<br />{}<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| write.targetModule                                         | string | Comma-separated list of Loki modules to load for the write                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />"write"<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| write.terminationGracePeriodSeconds                        | int    | Grace period to allow the write to shutdown before it is killed. Especially for the ingester, this must be increased. It must be long enough so writes can be gracefully shutdown flushing/transferring all data and to successfully leave the member ring on shutdown.                                                                                                                                                                                                                                                                                                                                                                                                                       | ```<br />300<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| write.tolerations                                          | list   | Tolerations for write pods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ```<br />[]<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
