2 # -- Overrides the Docker registry globally for all images
4 # To help compatibility with other charts which use global.imagePullSecrets.
5 # Allow either an array of {name: pullSecret} maps (k8s-style), or an array of strings (more common helm-style).
19 ## Use an existing ClusterRole/Role (depending on rbac.namespaced false/true)
20 # useExistingRole: name-of-some-role
21 # useExistingClusterRole: name-of-some-clusterRole
25 # Only has an effect if namespaced: true is set
31 extraClusterRoleRules: []
39 ## ServiceAccount labels.
41 ## Service account annotations. Can be templated.
43 # eks.amazonaws.com/role-arn: arn:aws:iam::123456789000:role/iam-role-name-here
45 ## autoMount is deprecated in favor of automountServiceAccountToken
47 automountServiceAccountToken: false
49## Create a headless service for the deployment
51## Should the service account be auto mounted on the pod
52automountServiceAccountToken: true
53## Create HorizontalPodAutoscaler object for deployment type
62## See `kubectl explain poddisruptionbudget.spec` for more
63## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
64podDisruptionBudget: {}
68# unhealthyPodEvictionPolicy: IfHealthyBudget
70## See `kubectl explain deployment.spec.strategy` for more
71## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
74## The maximum time in seconds for a Deployment to make progress before it is considered to be failed.
75## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
76progressDeadlineSeconds: null
85 initialDelaySeconds: 60
88## Use an alternate scheduler, e.g. "stork".
89## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
91# schedulerName: "default-scheduler"
93 # -- The Docker registry
95 # -- Docker image repository
96 repository: scratch-images/test-tmp/grafana
97 # Overrides the Grafana image tag whose default is the chart appVersion
99 sha: sha256:5df5e68d71881f09236ecda733d225df656bbc5e92232267de920eca881fecdf
100 pullPolicy: IfNotPresent
101 ## Optionally specify an array of imagePullSecrets.
102 ## Secrets must be manually created in the namespace.
103 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
107 # - myRegistrKeySecretName
110 ## The type of Helm hook used to run this test. Defaults to test.
111 ## ref: https://helm.sh/docs/topics/charts_hooks/#the-available-hooks
115 # -- The Docker registry
117 repository: bats/bats
119 imagePullPolicy: IfNotPresent
121 containerSecurityContext: {}
129# dns configuration for pod
145containerSecurityContext:
146 allowPrivilegeEscalation: false
153# Enable creating the grafana configmap
155# Extra configmaps to mount in grafana pods
156# Values are templated.
157extraConfigmapMounts: []
158# - name: certs-configmap
159# mountPath: /etc/grafana/ssl/
160# subPath: certificates.crt # (optional)
161# configMap: certs-configmap
165extraEmptyDirMounts: []
166# - name: provisioning-notifiers
167# mountPath: /etc/grafana/provisioning/notifiers
169# Shadow `/usr/share/grafana/data/plugins-bundled` with an emptyDir so plugins
170# listed under `plugins:` install cleanly into `/var/lib/grafana/plugins` instead
171# of failing on the read-only bundled directory shipped in the Grafana image.
172# Required for plugins moved out of core in Grafana 13 (e.g. `elasticsearch`,
173# `cloudwatch`) when listed in `plugins:`. Side effect: any bundled plugin not
174# explicitly listed in `plugins:` will not be available.
175shadowBundledPlugins: false
176# Apply extra labels to common labels.
178## Assign a PriorityClassName to pods if set
180downloadDashboardsImage:
181 # -- The Docker registry
183 repository: scratch-images/test-tmp/curl
185 sha: sha256:a030b919dc6695fa26597d888d50e6381df74d33205fe9e63907c556a612bfad
186 pullPolicy: IfNotPresent
192 allowPrivilegeEscalation: false
201 # name: configmap-name
206## ConfigMap Annotations
207# configMapAnnotations: {}
208# argocd.argoproj.io/sync-options: Replace=true
213gossipPortName: gossip
214## Deployment annotations
217## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
218## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
219## ref: http://kubernetes.io/docs/user-guide/services/
224 # Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
226 # Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
229 loadBalancerClass: ""
230 loadBalancerSourceRanges: []
233 # targetPort: 4181 To be used with a proxy extraContainer
234 ## Service annotations. Can be templated.
238 # Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
241 # trafficDistribution allows specifying how traffic is distributed to Service endpoints.
242 # Valid values: "" (default - standard load balancing),"PreferSameZone" (K8s 1.34+), "PreferSameNode" (K8s 1.35+), "PreferClose" (deprecated, use PreferSameZone),
243 trafficDistribution: ""
245 ## If true, a ServiceMonitor CR is created for a prometheus operator
246 ## https://github.com/coreos/prometheus-operator
250 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
252 # Set these to override the Prometheus global scrape interval/timeout.
258 metricRelabelings: []
266# overrides pod.spec.hostAliases in the grafana deployment's pods
274 # ingressClassName: nginx
275 # Values can be templated
277 # kubernetes.io/ingress.class: nginx
278 # kubernetes.io/tls-acme: "true"
283 - chart-example.local
284 ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
292 # name: use-annotation
295 # - secretName: chart-example-tls
297 # - chart-example.local
298# -- BETA: Configure the gateway routes for the chart here.
299# More routes can be added by adding a dictionary key like the 'main' route.
300# Be aware that this is an early beta of this feature,
301# kube-prometheus-stack does not guarantee this works and is subject to change.
302# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
303# [[ref]](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io%2fv1alpha2)
306 # -- Enables or disables the route
308 # -- Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
309 apiVersion: gateway.networking.k8s.io/v1
310 # -- Set the route kind
311 # Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute
316 # - my-filter.example.com
324 ## Timeouts define the timeouts that can be configured for an HTTP request.
325 ## Ref. https://gateway-api.sigs.k8s.io/api-types/httproute/#timeouts-optional
330 ## SessionPersistence defines and configures session persistence for the route rule.
331 ## Ref. https://gateway-api.sigs.k8s.io/geps/gep-1619/
332 sessionPersistence: {}
333 # sessionName: grafana-session
335 # absoluteTimeout: 48h
337 # lifetimeType: Permanent
339 ## Filters define the filters that are applied to requests that match this rule.
341 ## Additional custom rules that can be added to the route
343 ## httpsRedirect adds a filter for redirecting to https (HTTP 301 Moved Permanently).
344 ## To redirect HTTP traffic to HTTPS, you need to have a Gateway with both HTTP and HTTPS listeners.
345 ## Matches and filters do not take effect if enabled.
346 ## Ref. https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/
348# -- BETA: Configure Gateway API ListenerSet resources for the chart here.
349# ListenerSet allows attaching additional listeners to an existing Gateway.
350# More listener sets can be added by adding a dictionary key like the 'main' entry.
351# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
352# [[ref]](https://gateway-api.sigs.k8s.io/reference/api-spec/main/spec/#listenerset)
355 # -- Enables or disables the listener set
357 # -- Set the ListenerSet apiVersion, e.g. gateway.networking.k8s.io/v1
358 apiVersion: gateway.networking.k8s.io/v1
361 # -- Reference to the parent Gateway this ListenerSet attaches to
365 # group: gateway.networking.k8s.io
368 # -- List of listeners to attach to the parent Gateway
373 # hostname: grafana.example.com
377 # - name: grafana-tls
389## Node labels for pod assignment
390## ref: https://kubernetes.io/docs/user-guide/node-selection/
393## Tolerations for pod assignment
394## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
397## Affinity for pod assignment (evaluated as template)
398## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
401## Topology Spread Constraints
402## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
404topologySpreadConstraints: []
405## Additional init containers (evaluated as template)
406## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
408extraInitContainers: []
409## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
413# image: quay.io/gambol99/keycloak-proxy:latest
418# - -github-org=<ORG_NAME>
421# - -http-address=http://0.0.0.0:4181
422# - -upstream-url=http://127.0.0.1:3000
427## Volumes that can be used in init containers that will not be mounted to deployment pods
428extraContainerVolumes: []
429# - name: volume-from-secret
431# secretName: secret-to-mount
432# - name: empty-dir-volume
435## Enable persistence using Persistent Volume Claims
436## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
441 # storageClassName: default
442 ## (Optional) Use this to bind the claim to an existing PersistentVolume (PV) by name.
449 - kubernetes.io/pvc-protection
451 ## Sub-directory of the PV to mount. Can be templated.
453 ## Name of an existing PVC. Can be templated.
455 ## Extra labels to apply to a PVC.
457 disableWarning: false
458 ## Configure StatefulSet persistent volume claim retention policy.
459 ## This is ignored when Grafana is configured to use a Deployment with a PVC.
460 ## By default, Kubernetes uses Retain for both whenDeleted and whenScaled.
461 persistentVolumeClaimRetentionPolicy: {}
462 # whenDeleted: Retain
465 ## If persistence is not enabled, this allows to mount the
466 ## local storage in-memory to improve performance
470 ## The maximum usage on memory medium EmptyDir would be
471 ## the minimum value between the SizeLimit specified
472 ## here and the sum of memory limits of all containers in a pod
475 ## If 'lookupVolumeName' is set to true, Helm will attempt to retrieve
476 ## the current value of 'spec.volumeName' and incorporate it into the template.
477 lookupVolumeName: true
479 ## If false, data ownership will not be reset at startup
480 ## This allows the grafana-server to be run with an arbitrary user
483 ## initChownData container image
486 # -- The Docker registry
488 repository: scratch-images/test-tmp/busybox
489 tag: glibc-1.37.0-r61
490 sha: sha256:19f59085b5a760212ec01b00a67b16b4dc5f8e633e6cac6f72cc232de62e5f3c
491 pullPolicy: IfNotPresent
492 ## initChownData resource requests and limits
493 ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
503 readOnlyRootFilesystem: false
514# Administrator credentials when not using an existing secret (see below)
516# adminPassword: strongpassword
518# Use an existing secret for the admin user.
520 ## Name of the secret. Can be templated.
523 passwordKey: admin-password
524## Define command to be executed at startup by grafana container
525## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
526## Default is "run.sh" as defined in grafana's Dockerfile
531## Optionally define args if command is used
532## Needed if using `hashicorp/envconsul` to manage secrets
533## By default no arguments are set
539## Extra environment variables that will be pass onto deployment pods
541## to provide grafana with access to CloudWatch on AWS EKS:
542## 1. create an iam role of type "Web identity" with provider oidc.eks.* (note the provider for later)
543## 2. edit the "Trust relationships" of the role, add a line inside the StringEquals clause using the
544## same oidc eks provider as noted before (same as the existing line)
545## also, replace NAMESPACE and prometheus-operator-grafana with the service account namespace and name
547## "oidc.eks.us-east-1.amazonaws.com/id/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:sub": "system:serviceaccount:NAMESPACE:prometheus-operator-grafana",
549## 3. attach a policy to the role, you can use a built in policy called CloudWatchReadOnlyAccess
550## 4. use the following env: (replace 123456789000 and iam-role-name-here with your aws account number and role name)
553## AWS_ROLE_ARN: arn:aws:iam::123456789000:role/iam-role-name-here
554## AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
555## AWS_REGION: us-east-1
557## 5. uncomment the EKS section in extraSecretMounts: below
558## 6. uncomment the annotation section in the serviceAccount: above
559## make sure to replace arn:aws:iam::123456789000:role/iam-role-name-here with your role arn
561## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
562## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
563## Renders in container spec as:
568## <value rendered as YAML>
572# name: configmap-name
575## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
576## This can be useful for auth tokens, etc. Value is templated.
578## Sensible environment variables that will be rendered as new secret object
579## This can be useful for auth tokens, etc.
580## If the secret values contains "{{", they'll need to be properly escaped so that they are not interpreted by Helm
581## ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
583## The names of secrets in the same kubernetes namespace which contain values to be added to the environment
584## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key.
587## - name: secret-name
591## The names of configmaps in the same kubernetes namespace which contain values to be added to the environment
592## Each entry should contain a name key, and can optionally specify whether the configmap must be defined with an optional key.
594## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmapenvsource-v1-core
596## - name: configmap-name
600# Inject Kubernetes services as environment variables.
601# See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables
602enableServiceLinks: true
603## Additional grafana server secret mounts
604# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
606# - name: secret-files
607# mountPath: /etc/secrets
608# secretName: grafana-secret-files
613# for AWS EKS (cloudwatch) use the following (see also instruction in env: above)
614# - name: aws-iam-token
615# mountPath: /var/run/secrets/eks.amazonaws.com/serviceaccount
620# - serviceAccountToken:
621# audience: sts.amazonaws.com
622# expirationSeconds: 86400
625# for CSI e.g. Azure Key Vault use the following
626# - name: secrets-store-inline
627# mountPath: /run/secrets/vault.azure.com
630# driver: secrets-store.csi.k8s.io
633# secretProviderClass: "akv-grafana-spc"
634# nodePublishSecretRef: # Only required when using service principal mode
635# name: grafana-akv-creds # Only required when using service principal mode
637## Additional grafana server volume mounts
638# Defines additional volume mounts.
640# - name: extra-volume-0
641# mountPath: /mnt/volume0
643# - name: extra-volume-1
644# mountPath: /mnt/volume1
646# - name: grafana-secrets
647# mountPath: /mnt/volume2
649## Additional Grafana server volumes
651# - name: extra-volume-0
652# existingClaim: volume-claim
653# - name: extra-volume-1
657# - name: grafana-secrets
659# driver: secrets-store.csi.k8s.io
662# secretProviderClass: "grafana-env-spc"
664## Container Lifecycle Hooks. Execute a specific bash command or make an HTTP request
670## Pass the plugins you want installed as a list.
673# - digrich-bubblechart-panel
674# - grafana-clock-panel
675## You can also use other plugin download URL, as long as they are valid zip files,
676## and specify the name of the plugin as prefix, with an version. Like this:
677# - marcusolsson-json-datasource@1.3.24@https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/1.3.24/download
679## Configure grafana datasources
680## ref: http://docs.grafana.org/administration/provisioning/#datasources
688# url: http://prometheus-prometheus-server
698# defaultRegion: us-east-1
699# deleteDatasources: []
702## Configure grafana alerting (can be templated)
703## ref: https://docs.grafana.com/alerting/set-up/provision-alerting-resources/file-provisioning/
716# name: '{{ .Chart.Name }}_my_rule_group'
717# folder: my_first_folder
721# title: my_first_rule
725# datasourceUid: '-100'
745# maxDataPoints: 43200
748# dashboardUid: my_dashboard
750# noDataState: Alerting
753# some_key: some_value
773# {{ `{{ include "default.message" . }}` }}
779# name: my_first_template
782# {{ define "my_first_template" }}
783# Custom notification message
792# # refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0
795## Configure notifiers
796## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
801# - name: email-notifier
810# addresses: an_email_address@example.com
813## Configure grafana dashboard providers
814## ref: http://docs.grafana.org/administration/provisioning/#dashboards
816## `path` must be /var/lib/grafana/dashboards/<provider_name>
818dashboardProviders: {}
819# dashboardproviders.yaml:
826# disableDeletion: false
829# path: /var/lib/grafana/dashboards/default
831## Configure how curl fetches remote dashboards. The beginning dash is required.
832## NOTE: This sets the default short flags for all dashboards, but these
833## defaults can be overridden individually for each dashboard by setting
834## curlOptions. See the example dashboards section below.
837## -k - allow insecure (eg: non-TLS) connections
839## See the curl documentation for additional options
841defaultCurlOptions: "-skf"
842## Configure grafana dashboard to import
843## NOTE: To use dashboards you must also enable/configure dashboardProviders
844## ref: https://grafana.com/dashboards
846## dashboards per provider, use provider name as key.
847## For dashboards downloaded via gnetId or url, the optional "title" key overrides
848## the dashboard title in the downloaded JSON so the UI displays your custom title.
856# file: dashboards/custom-dashboard.json
858# title: My Custom Dashboard Title # optional; overrides the dashboard title in the downloaded JSON
861# datasource: Prometheus
863# url: https://example.com/repository/test.json
866# local-dashboard-base64:
867# url: https://example.com/repository/test-b64.json
870# local-dashboard-gitlab:
871# url: https://example.com/repository/test-gitlab.json
873# local-dashboard-bitbucket:
874# url: https://example.com/repository/test-bitbucket.json
876# local-dashboard-azure:
877# url: https://example.com/repository/test-azure.json
881## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
882## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
883## ConfigMap data example:
886## example-dashboard.json: |
889dashboardsConfigMaps: {}
892## Grafana's primary configuration
893## NOTE: values in map will be converted to ini format
894## ref: http://docs.grafana.org/installation/configuration/
898 data: /var/lib/grafana/
899 logs: /var/log/grafana
900 plugins: /var/lib/grafana/plugins
901 provisioning: /etc/grafana/provisioning
903 check_for_updates: true
907 domain: "{{ if (and .Values.ingress.enabled .Values.ingress.hosts) }}{{ tpl (.Values.ingress.hosts | first) . }}{{ else if (and .Values.route.main.enabled .Values.route.main.hostnames) }}{{ tpl (.Values.route.main.hostnames | first) . }}{{ else }}''{{ end }}"
909 index_path: /var/lib/grafana-search/bleve
910 ## grafana Authentication can be enabled with the following values on grafana.ini
912 # The full public facing url you use in browser, used for redirects and emails
914 # https://grafana.com/docs/grafana/latest/auth/github/#enable-github-in-grafana
917 # allow_sign_up: false
918 # scopes: user:email,read:org
919 # auth_url: https://github.com/login/oauth/authorize
920 # token_url: https://github.com/login/oauth/access_token
921 # api_url: https://api.github.com/user
923 # allowed_organizations:
926## LDAP Authentication can be enabled with the following values on grafana.ini
927## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
931# config_file: /etc/grafana/ldap.toml
932## Grafana's alerting configuration
935# rule_version_record_limit: "5"
937## Grafana's LDAP configuration
938## Templated by the template in _helpers.tpl
939## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
940## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
941## ref: http://docs.grafana.org/installation/ldap/#configuration
944 # `existingSecret` is a reference to an existing secret containing the ldap configuration
945 # for Grafana in a key `ldap-toml`.
947 # `config` is the content of `ldap.toml` that will be stored in the created secret
950 # verbose_logging = true
952# host = "my-ldap-server"
956# ssl_skip_verify = false
957# bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
959# When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod
960# This parameter is added because the ldap reload api is not working https://grafana.com/docs/grafana/latest/developers/http_api/admin/#reload-ldap-configuration
961# To allow an extraContainer to restart the Grafana container
962shareProcessNamespace: false
963## Grafana's SMTP configuration
964## NOTE: To enable, grafana.ini must be configured with smtp.enabled
965## ref: http://docs.grafana.org/installation/configuration/#smtp
967 # `existingSecret` is a reference to an existing secret containing the smtp configuration
971 passwordKey: "password"
972## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
973## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
976 # -- The Docker registry
978 repository: scratch-images/test-tmp/k8s-sidecar
980 sha: sha256:533145f4aed212fe62110048251ee9d558de8699ded4f77870e1f343b5eeeeed
981 imagePullPolicy: IfNotPresent
990 allowPrivilegeEscalation: false
996 # Set to true to skip tls verification for kube api calls. Can be overridden per sidecar
997 # skipTlsVerify: true
998 enableUniqueFilenames: false
1001 # Log level default for all sidecars. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL. Defaults to INFO
1005 # Additional environment variables for the alerts sidecar
1007 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1008 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1009 ## Renders in container spec as:
1014 ## <value rendered as YAML>
1018 # name: configmap-name
1020 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1021 # ignoreAlreadyProcessed: true
1022 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1023 # skipTlsVerify: true
1024 # label that the configmaps with alert are marked with (can be templated)
1025 label: grafana_alert
1026 # value of label that the configmaps with alert are set to (can be templated)
1028 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1030 # If specified, the sidecar will search for alert config-maps inside this namespace.
1031 # Otherwise the namespace in which the sidecar is running will be used.
1032 # It's also possible to specify ALL to search in all namespaces
1033 searchNamespace: null
1034 # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1036 # search in configmap, secret or both
1039 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1040 # per default all resources of the type defined in {{ .Values.sidecar.alerts.resource }} will be checked.
1041 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1042 # resourceName: "secret/alerts-1,configmap/alerts-0"
1045 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1046 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1047 # watchServerTimeout: 3600
1049 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1050 # If you have a network outage dropping all packets with no RST/FIN,
1051 # this is how long your client waits before realizing & dropping the connection.
1052 # defaults to 66sec (sic!)
1053 # watchClientTimeout: 60
1055 # maxTotalRetries: Total number of retries to allow for any http request.
1056 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1057 # Set to 0 to fail on the first retry.
1058 # maxTotalRetries: 5
1060 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1061 # These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request.
1062 # Applies to all requests to reloadURL and k8s api requests.
1063 # Set to 0 to fail on the first retry of this type.
1064 # maxConnectRetries: 10
1066 # maxReadRetries: How many times to retry on read errors for any http request
1067 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1068 # Applies to all requests to reloadURL and k8s api requests.
1069 # Set to 0 to fail on the first retry of this type.
1072 # Endpoint to send request to reload alerts
1073 reloadURL: "http://localhost:3000/api/admin/provisioning/alerting/reload"
1074 # Absolute path to a script to execute after a configmap got reloaded.
1075 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1076 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1079 # This is needed if skipReload is true, to load any alerts defined at startup time.
1080 # Deploy the alert sidecar as an initContainer.
1082 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1083 # restartPolicy: Always
1084 # # only applies to native sidecars
1089 # initialDelaySeconds: 5
1091 # failureThreshold: 60 # 5 minutes
1092 # Additional alerts sidecar volume mounts
1094 # Sets the size limit of the alert sidecar emptyDir volume
1098 # Additional environment variables for the dashboards sidecar
1100 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1101 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1102 ## Renders in container spec as:
1107 ## <value rendered as YAML>
1111 # name: configmap-name
1113 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1114 # ignoreAlreadyProcessed: true
1115 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1116 # skipTlsVerify: true
1118 # label that the configmaps with dashboards are marked with (can be templated)
1119 label: grafana_dashboard
1120 # value of label that the configmaps with dashboards are set to (can be templated)
1122 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1124 # folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
1125 folder: /tmp/dashboards
1126 # The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
1127 defaultFolderName: null
1128 # Namespaces list. If specified, the sidecar will search for config-maps/secrets inside these namespaces.
1129 # Otherwise the namespace in which the sidecar is running will be used.
1130 # It's also possible to specify ALL to search in all namespaces.
1131 searchNamespace: null
1132 # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1134 # search in configmap, secret or both
1136 # If specified, the sidecar will look for annotation with this name to create folder and put graph here.
1137 # You can use this parameter together with `provider.foldersFromFilesStructure`to annotate configmaps and create folder structure.
1138 folderAnnotation: null
1140 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1141 # per default all resources of the type defined in {{ .Values.sidecar.dashboards.resource }} will be checked.
1142 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1143 # resourceName: "secret/dashboards-0,configmap/dashboards-1"
1146 # maxTotalRetries: Total number of retries to allow for any http request.
1147 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1148 # Set to 0 to fail on the first retry.
1149 # maxTotalRetries: 5
1151 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1152 # These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request.
1153 # Applies to all requests to reloadURL and k8s api requests.
1154 # Set to 0 to fail on the first retry of this type.
1155 # maxConnectRetries: 10
1157 # maxReadRetries: How many times to retry on read errors for any http request
1158 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1159 # Applies to all requests to reloadURL and k8s api requests.
1160 # Set to 0 to fail on the first retry of this type.
1163 # Endpoint to send request to reload alerts
1164 reloadURL: "http://localhost:3000/api/admin/provisioning/dashboards/reload"
1165 # Absolute path to a script to execute after a configmap got reloaded.
1166 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1167 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1170 # This is needed if skipReload is true, to load any dashboards defined at startup time.
1171 # Deploy the dashboard sidecar as an initContainer.
1172 initDashboards: false
1173 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1174 # restartPolicy: Always
1175 # # only applies to native sidecars
1180 # initialDelaySeconds: 5
1182 # failureThreshold: 60 # 5 minutes
1183 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1184 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1185 # watchServerTimeout: 3600
1187 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1188 # If you have a network outage dropping all packets with no RST/FIN,
1189 # this is how long your client waits before realizing & dropping the connection.
1190 # defaults to 66sec (sic!)
1191 # watchClientTimeout: 60
1193 # provider configuration that lets grafana manage the dashboards
1195 # name of the provider, should be unique
1196 name: sidecarProvider
1197 # orgid as configured in grafana
1199 # folder in which the dashboards should be imported in grafana
1201 # <string> folder UID. will be automatically generated if not specified
1203 # type of the provider
1205 # disableDelete to activate a import-only behaviour
1206 disableDelete: false
1207 # allow updating provisioned dashboards from the UI
1208 allowUiUpdates: false
1209 # allow Grafana to replicate dashboard structure from filesystem
1210 foldersFromFilesStructure: false
1211 # Additional dashboards sidecar volume mounts
1213 # Sets the size limit of the dashboard sidecar emptyDir volume
1217 # Additional environment variables for the datasourcessidecar
1219 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1220 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1221 ## Renders in container spec as:
1226 ## <value rendered as YAML>
1230 # name: configmap-name
1232 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1233 # ignoreAlreadyProcessed: true
1234 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1235 # skipTlsVerify: true
1236 # label that the configmaps with datasources are marked with (can be templated)
1237 label: grafana_datasource
1238 # value of label that the configmaps with datasources are set to (can be templated)
1240 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1242 # If specified, the sidecar will search for datasource config-maps inside this namespace.
1243 # Otherwise the namespace in which the sidecar is running will be used.
1244 # It's also possible to specify ALL to search in all namespaces
1245 searchNamespace: null
1246 # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1248 # search in configmap, secret or both
1251 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1252 # per default all resources of the type defined in {{ .Values.sidecar.datasources.resource }} will be checked.
1253 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1254 # resourceName: "secret/datasources-0,configmap/datasources-15"
1257 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1258 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1259 # watchServerTimeout: 3600
1261 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1262 # If you have a network outage dropping all packets with no RST/FIN,
1263 # this is how long your client waits before realizing & dropping the connection.
1264 # defaults to 66sec (sic!)
1265 # watchClientTimeout: 60
1267 # maxTotalRetries: Total number of retries to allow for any http request.
1268 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1269 # Set to 0 to fail on the first retry.
1270 # maxTotalRetries: 5
1272 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1273 # These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request.
1274 # Applies to all requests to reloadURL and k8s api requests.
1275 # Set to 0 to fail on the first retry of this type.
1276 # maxConnectRetries: 10
1278 # maxReadRetries: How many times to retry on read errors for any http request
1279 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1280 # Applies to all requests to reloadURL and k8s api requests.
1281 # Set to 0 to fail on the first retry of this type.
1284 # Endpoint to send request to reload datasources
1285 reloadURL: "http://localhost:3000/api/admin/provisioning/datasources/reload"
1286 # Absolute path to a script to execute after a configmap got reloaded.
1287 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1288 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1291 # This is needed if skipReload is true, to load any datasources defined at startup time.
1292 # Deploy the datasources sidecar as an initContainer.
1293 initDatasources: false
1294 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1295 # restartPolicy: Always
1296 # # only applies to native sidecars
1301 # initialDelaySeconds: 5
1303 # failureThreshold: 60 # 5 minutes
1304 # Additional datasources sidecar volume mounts
1306 # Sets the size limit of the datasource sidecar emptyDir volume
1310 # Additional environment variables for the plugins sidecar
1312 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1313 # ignoreAlreadyProcessed: true
1314 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1315 # skipTlsVerify: true
1316 # label that the configmaps with plugins are marked with (can be templated)
1317 label: grafana_plugin
1318 # value of label that the configmaps with plugins are set to (can be templated)
1320 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1322 # If specified, the sidecar will search for plugin config-maps inside this namespace.
1323 # Otherwise the namespace in which the sidecar is running will be used.
1324 # It's also possible to specify ALL to search in all namespaces
1325 searchNamespace: null
1326 # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1328 # search in configmap, secret or both
1331 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1332 # per default all resources of the type defined in {{ .Values.sidecar.plugins.resource }} will be checked.
1333 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1334 # resourceName: "secret/plugins-0,configmap/plugins-1"
1337 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1338 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1339 # watchServerTimeout: 3600
1341 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1342 # If you have a network outage dropping all packets with no RST/FIN,
1343 # this is how long your client waits before realizing & dropping the connection.
1344 # defaults to 66sec (sic!)
1345 # watchClientTimeout: 60
1347 # maxTotalRetries: Total number of retries to allow for any http request.
1348 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1349 # Set to 0 to fail on the first retry.
1350 # maxTotalRetries: 5
1352 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1353 # These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request.
1354 # Applies to all requests to reloadURL and k8s api requests.
1355 # Set to 0 to fail on the first retry of this type.
1356 # maxConnectRetries: 10
1358 # maxReadRetries: How many times to retry on read errors for any http request
1359 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1360 # Applies to all requests to reloadURL and k8s api requests.
1361 # Set to 0 to fail on the first retry of this type.
1364 # Endpoint to send request to reload plugins
1365 reloadURL: "http://localhost:3000/api/admin/provisioning/plugins/reload"
1366 # Absolute path to a script to execute after a configmap got reloaded.
1367 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1368 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1371 # Deploy the datasource sidecar as an initContainer in addition to a container.
1372 # This is needed if skipReload is true, to load any plugins defined at startup time.
1374 # Additional plugins sidecar volume mounts
1376 # Sets the size limit of the plugin sidecar emptyDir volume
1380 # Additional environment variables for the notifierssidecar
1382 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1383 # ignoreAlreadyProcessed: true
1384 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1385 # skipTlsVerify: true
1386 # label that the configmaps with notifiers are marked with (can be templated)
1387 label: grafana_notifier
1388 # value of label that the configmaps with notifiers are set to (can be templated)
1390 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1392 # If specified, the sidecar will search for notifier config-maps inside this namespace.
1393 # Otherwise the namespace in which the sidecar is running will be used.
1394 # It's also possible to specify ALL to search in all namespaces
1395 searchNamespace: null
1396 # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1398 # search in configmap, secret or both
1401 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1402 # per default all resources of the type defined in {{ .Values.sidecar.notifiers.resource }} will be checked.
1403 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1404 # resourceName: "secret/notifiers-2,configmap/notifiers-1"
1407 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1408 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1409 # watchServerTimeout: 3600
1411 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1412 # If you have a network outage dropping all packets with no RST/FIN,
1413 # this is how long your client waits before realizing & dropping the connection.
1414 # defaults to 66sec (sic!)
1415 # watchClientTimeout: 60
1417 # maxTotalRetries: Total number of retries to allow for any http request.
1418 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1419 # Set to 0 to fail on the first retry.
1420 # maxTotalRetries: 5
1422 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1423 # These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request.
1424 # Applies to all requests to reloadURL and k8s api requests.
1425 # Set to 0 to fail on the first retry of this type.
1426 # maxConnectRetries: 10
1428 # maxReadRetries: How many times to retry on read errors for any http request
1429 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1430 # Applies to all requests to reloadURL and k8s api requests.
1431 # Set to 0 to fail on the first retry of this type.
1434 # Endpoint to send request to reload notifiers
1435 reloadURL: "http://localhost:3000/api/admin/provisioning/notifications/reload"
1436 # Absolute path to a script to execute after a configmap got reloaded.
1437 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1438 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1441 # Deploy the notifier sidecar as an initContainer in addition to a container.
1442 # This is needed if skipReload is true, to load any notifiers defined at startup time.
1443 initNotifiers: false
1444 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1445 # restartPolicy: Always
1446 # # only applies to native sidecars
1451 # initialDelaySeconds: 5
1453 # failureThreshold: 60 # 5 minutes
1454 # Additional notifiers sidecar volume mounts
1456 # Sets the size limit of the notifier sidecar emptyDir volume
1458## Override the deployment namespace
1460namespaceOverride: ""
1461## Number of old ReplicaSets to retain
1463revisionHistoryLimit: 10
1464## Add a separate remote image renderer deployment/service
1466 deploymentStrategy: {}
1467 ## The maximum time in seconds for the image renderer Deployment to make progress before it is
1468 ## considered to be failed.
1469 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
1470 progressDeadlineSeconds: null
1471 # Enable the image-renderer deployment & service
1481 # The url of remote image renderer if it is not in the same namespace with the grafana instance
1483 # The callback url of grafana instances if it is not in the same namespace with the remote image renderer
1484 renderingCallbackURL: ""
1485 # Token used for authentication between Grafana and the remote image renderer.
1487 # Use an existing secret for the image renderer token. Must contain a key named "token".
1490 # -- The Docker registry
1492 # image-renderer Image repository
1493 repository: scratch-images/test-tmp/grafana-image-renderer
1494 # image-renderer Image tag
1496 # image-renderer Image sha (optional)
1497 sha: sha256:cde4b5a416e84cb4b498dce5ebff6c4b230e0b2d88d3469ef62c07f8ac0a8abf
1498 # image-renderer Image pull secrets (optional)
1500 # image-renderer ImagePullPolicy
1510 # extra environment variables
1512 HTTP_HOST: "0.0.0.0"
1513 # Fixes "Error: Failed to launch the browser process!\nchrome_crashpad_handler: --database is required"
1514 XDG_CONFIG_HOME: /tmp/.chromium
1515 XDG_CACHE_HOME: /tmp/.chromium
1516 # RENDERING_ARGS: --no-sandbox,--disable-gpu,--window-size=1280x758
1517 # RENDERING_MODE: clustered
1518 # IGNORE_HTTPS_ERRORS: true
1519 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1520 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1521 ## Renders in container spec as:
1526 ## <value rendered as YAML>
1530 # name: configmap-name
1533 # image-renderer deployment serviceAccount
1534 serviceAccountName: ""
1535 automountServiceAccountToken: false
1536 # image-renderer deployment hostUsers
1538 # image-renderer deployment securityContext
1540 # image-renderer deployment container securityContext
1541 containerSecurityContext:
1543 type: RuntimeDefault
1546 allowPrivilegeEscalation: false
1547 readOnlyRootFilesystem: true
1548 ## image-renderer pod annotation
1550 # image-renderer deployment Host Aliases
1552 # image-renderer deployment priority class
1553 priorityClassName: ''
1554 # Path to the healthcheck endpoint. On Image Renderer v5.0.0 or newer, this is '/healthz'. Older versions use '/'.
1555 healthcheckPath: '/healthz'
1557 # Enable the image-renderer service
1559 # image-renderer service port name
1561 # image-renderer service port used by both service and deployment
1564 # Adds the appProtocol field to the image-renderer service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
1567 ## If true, a ServiceMonitor CRD is created for a prometheus operator
1568 ## https://github.com/coreos/prometheus-operator
1572 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
1574 # Set these to override the Prometheus global scrape interval/timeout.
1576 # scrapeTimeout: 30s
1580 # See: https://doc.crds.dev/github.com/prometheus-operator/kube-prometheus/monitoring.coreos.com/ServiceMonitor/v1@v0.11.0#spec-targetLabels
1584 # If https is enabled in Grafana, this needs to be set as 'https' to correctly configure the callback used in Grafana
1585 grafanaProtocol: http
1586 # In case a sub_path is used this needs to be added to the image renderer callback
1588 # name of the image-renderer port on the pod
1590 # number of image-renderer replica sets to keep
1591 revisionHistoryLimit: 10
1593 # Enable a NetworkPolicy to limit inbound traffic to only the created grafana pods
1595 # Enable a NetworkPolicy to limit outbound traffic to only the created grafana pods
1597 # Allow additional services to access image-renderer (eg. Prometheus operator when ServiceMonitor is enabled)
1598 extraIngressSelectors: []
1606 ## Node labels for pod assignment
1607 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
1610 ## Tolerations for pod assignment
1611 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1614 ## Affinity for pod assignment (evaluated as template)
1615 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1618 ## Use an alternate scheduler, e.g. "stork".
1619 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1621 # schedulerName: "default-scheduler"
1623 # Extra configmaps to mount in image-renderer pods
1624 extraConfigmapMounts: []
1625 # Extra secrets to mount in image-renderer pods
1626 extraSecretMounts: []
1627 # Extra volumes to mount in image-renderer pods
1628 extraVolumeMounts: []
1629 # Extra volumes for image-renderer pods
1632 # -- networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now.
1634 # --networkPolicy.allowExternal Don't require client label for connections
1635 # The Policy model to apply. When set to false, only pods with the correct
1636 # client label will have network access to grafana port defined.
1637 # When true, grafana will accept connections from any source
1638 # (with the correct destination port).
1641 # -- networkPolicy.ingress When true enables the creation
1642 # an ingress network policy
1644 # -- networkPolicy.explicitNamespacesSelector A Kubernetes LabelSelector to explicitly select namespaces from which traffic could be allowed
1645 # If explicitNamespacesSelector is missing or set to {}, only client Pods that are in the networkPolicy's namespace
1646 # and that match other criteria, the ones that have the good label, can reach the grafana.
1647 # But sometimes, we want the grafana to be accessible to clients from other namespaces, in this case, we can use this
1648 # LabelSelector to select these namespaces, note that the networkPolicy's namespace should also be explicitly added.
1654 # explicitNamespacesSelector:
1658 # - {key: role, operator: In, values: [frontend]}
1660 explicitNamespacesSelector: {}
1661 # -- networkPolicy.explicitIpBlocks List of CIDR blocks allowed as ingress sources.
1662 # Each entry must be a valid CIDR notation string (e.g. 10.0.0.0/8).
1663 # When defined, the specified CIDR ranges are added to the ingress `from` rules
1664 # using `ipBlock` entries and complement the other configured ingress sources.
1675 explicitIpBlocks: []
1677 # -- networkPolicy.egress.enabled When enabled, an egress network policy will be
1678 # created allowing grafana to connect to external data sources from kubernetes cluster.
1680 # -- networkPolicy.egress.blockDNSResolution When enabled, DNS resolution will be blocked
1681 # for all pods in the grafana namespace.
1682 blockDNSResolution: false
1683 # -- networkPolicy.egress.ports Add individual ports to be allowed by the egress
1685 # Add ports to the egress by specifying - port: <port number>
1690 # -- networkPolicy.egress.to Allow egress traffic to specific destinations
1692 # -- destinations to the egress by specifying - ipBlock: <CIDR>
1695 # - namespaceSelector:
1697 # - {key: role, operator: In, values: [grafana]}
1698# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
1699enableKubeBackwardCompatibility: false
1700useStatefulSet: false
1701# extraObjects could be utilized to add dynamic manifests via values
1705# - apiVersion: kubernetes-client.io/v1
1706# kind: ExternalSecret
1708# name: grafana-secrets-{{ .Release.Name }}
1710# backendType: gcpSecretsManager
1712# - key: grafana-admin-password
1713# name: adminPassword
1714# Alternatively, you can use strings, which lets you use additional templating features:
1717# apiVersion: kubernetes-client.io/v1
1718# kind: ExternalSecret
1720# name: grafana-secrets-{{ .Release.Name }}
1722# backendType: gcpSecretsManager
1724# - key: grafana-admin-password
1725# name: {{ include "some-other-template" }}
1727# assertNoLeakedSecrets is a helper function defined in _helpers.tpl that checks if secret
1728# values are not exposed in the rendered grafana.ini configmap. It is enabled by default.
1730# To pass values into grafana.ini without exposing them in a configmap, use variable expansion:
1731# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#variable-expansion
1733# Alternatively, if you wish to allow secret values to be exposed in the rendered grafana.ini configmap,
1734# you can disable this check by setting assertNoLeakedSecrets to false.
1735assertNoLeakedSecrets: true
1736# updateMode options are:
1737# Off: n the Off update mode, the VPA recommender still analyzes resource usage and generates recommendations, but these recommendations are not automatically applied to Pods. The recommendations are only stored in the VPA object's .status field.
1738# Initial: In Initial mode, VPA only sets resource requests when Pods are first created. It does not update resources for already running Pods, even if recommendations change over time. The recommendations apply only during Pod creation.
1739# Recreate: In Recreate mode, VPA actively manages Pod resources by evicting Pods when their current resource requests differ significantly from recommendations. When a Pod is evicted, the workload controller (managing a Deployment, StatefulSet, etc) creates a replacement Pod, and the VPA admission controller applies the updated resource requests to the new Pod.
1740# InPlaceOrRecreate: In Recreate mode, VPA actively manages Pod resources by evicting Pods when their current resource requests differ significantly from recommendations. When a Pod is evicted, the workload controller (managing a Deployment, StatefulSet, etc) creates a replacement Pod, and the VPA admission controller applies the updated resource requests to the new Pod.
1741# Auto (deprecated): The Auto update mode is deprecated since VPA version 1.4.0. Use Recreate for eviction-based updates, or InPlaceOrRecreate for in-place updates with eviction fallback.
1742verticalPodAutoscaler:
1745 controlledResources:
1748 # Default safety bounds