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:62bca5165d94cf7138d36c7686d74871610653e315968ee1e097ad3d42966645
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:642ed18dbbae01947dc9d36b3db333aacdb8d866b029ff952fb46f5472cf1dfe
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 ## If persistence is not enabled, this allows to mount the
459 ## local storage in-memory to improve performance
463 ## The maximum usage on memory medium EmptyDir would be
464 ## the minimum value between the SizeLimit specified
465 ## here and the sum of memory limits of all containers in a pod
468 ## If 'lookupVolumeName' is set to true, Helm will attempt to retrieve
469 ## the current value of 'spec.volumeName' and incorporate it into the template.
470 lookupVolumeName: true
472 ## If false, data ownership will not be reset at startup
473 ## This allows the grafana-server to be run with an arbitrary user
476 ## initChownData container image
479 # -- The Docker registry
481 repository: scratch-images/test-tmp/busybox
482 tag: glibc-1.37.0-r60
483 sha: sha256:655f0f89892d3134b1c3dfa0eded3c451b1f2d39916d829753f28c889a547bd5
484 pullPolicy: IfNotPresent
485 ## initChownData resource requests and limits
486 ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
496 readOnlyRootFilesystem: false
507# Administrator credentials when not using an existing secret (see below)
509# adminPassword: strongpassword
511# Use an existing secret for the admin user.
513 ## Name of the secret. Can be templated.
516 passwordKey: admin-password
517## Define command to be executed at startup by grafana container
518## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
519## Default is "run.sh" as defined in grafana's Dockerfile
524## Optionally define args if command is used
525## Needed if using `hashicorp/envconsul` to manage secrets
526## By default no arguments are set
532## Extra environment variables that will be pass onto deployment pods
534## to provide grafana with access to CloudWatch on AWS EKS:
535## 1. create an iam role of type "Web identity" with provider oidc.eks.* (note the provider for later)
536## 2. edit the "Trust relationships" of the role, add a line inside the StringEquals clause using the
537## same oidc eks provider as noted before (same as the existing line)
538## also, replace NAMESPACE and prometheus-operator-grafana with the service account namespace and name
540## "oidc.eks.us-east-1.amazonaws.com/id/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:sub": "system:serviceaccount:NAMESPACE:prometheus-operator-grafana",
542## 3. attach a policy to the role, you can use a built in policy called CloudWatchReadOnlyAccess
543## 4. use the following env: (replace 123456789000 and iam-role-name-here with your aws account number and role name)
546## AWS_ROLE_ARN: arn:aws:iam::123456789000:role/iam-role-name-here
547## AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
548## AWS_REGION: us-east-1
550## 5. uncomment the EKS section in extraSecretMounts: below
551## 6. uncomment the annotation section in the serviceAccount: above
552## make sure to replace arn:aws:iam::123456789000:role/iam-role-name-here with your role arn
554## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
555## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
556## Renders in container spec as:
561## <value rendered as YAML>
565# name: configmap-name
568## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
569## This can be useful for auth tokens, etc. Value is templated.
571## Sensible environment variables that will be rendered as new secret object
572## This can be useful for auth tokens, etc.
573## If the secret values contains "{{", they'll need to be properly escaped so that they are not interpreted by Helm
574## ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
576## The names of secrets in the same kubernetes namespace which contain values to be added to the environment
577## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key.
580## - name: secret-name
584## The names of configmaps in the same kubernetes namespace which contain values to be added to the environment
585## Each entry should contain a name key, and can optionally specify whether the configmap must be defined with an optional key.
587## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmapenvsource-v1-core
589## - name: configmap-name
593# Inject Kubernetes services as environment variables.
594# See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables
595enableServiceLinks: true
596## Additional grafana server secret mounts
597# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
599# - name: secret-files
600# mountPath: /etc/secrets
601# secretName: grafana-secret-files
606# for AWS EKS (cloudwatch) use the following (see also instruction in env: above)
607# - name: aws-iam-token
608# mountPath: /var/run/secrets/eks.amazonaws.com/serviceaccount
613# - serviceAccountToken:
614# audience: sts.amazonaws.com
615# expirationSeconds: 86400
618# for CSI e.g. Azure Key Vault use the following
619# - name: secrets-store-inline
620# mountPath: /run/secrets/vault.azure.com
623# driver: secrets-store.csi.k8s.io
626# secretProviderClass: "akv-grafana-spc"
627# nodePublishSecretRef: # Only required when using service principal mode
628# name: grafana-akv-creds # Only required when using service principal mode
630## Additional grafana server volume mounts
631# Defines additional volume mounts.
633# - name: extra-volume-0
634# mountPath: /mnt/volume0
636# - name: extra-volume-1
637# mountPath: /mnt/volume1
639# - name: grafana-secrets
640# mountPath: /mnt/volume2
642## Additional Grafana server volumes
644# - name: extra-volume-0
645# existingClaim: volume-claim
646# - name: extra-volume-1
650# - name: grafana-secrets
652# driver: secrets-store.csi.k8s.io
655# secretProviderClass: "grafana-env-spc"
657## Container Lifecycle Hooks. Execute a specific bash command or make an HTTP request
663## Pass the plugins you want installed as a list.
666# - digrich-bubblechart-panel
667# - grafana-clock-panel
668## You can also use other plugin download URL, as long as they are valid zip files,
669## and specify the name of the plugin as prefix, with an version. Like this:
670# - marcusolsson-json-datasource@1.3.24@https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/1.3.24/download
672## Configure grafana datasources
673## ref: http://docs.grafana.org/administration/provisioning/#datasources
681# url: http://prometheus-prometheus-server
691# defaultRegion: us-east-1
692# deleteDatasources: []
695## Configure grafana alerting (can be templated)
696## ref: https://docs.grafana.com/alerting/set-up/provision-alerting-resources/file-provisioning/
709# name: '{{ .Chart.Name }}_my_rule_group'
710# folder: my_first_folder
714# title: my_first_rule
718# datasourceUid: '-100'
738# maxDataPoints: 43200
741# dashboardUid: my_dashboard
743# noDataState: Alerting
746# some_key: some_value
766# {{ `{{ include "default.message" . }}` }}
772# name: my_first_template
775# {{ define "my_first_template" }}
776# Custom notification message
785# # refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0
788## Configure notifiers
789## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
794# - name: email-notifier
803# addresses: an_email_address@example.com
806## Configure grafana dashboard providers
807## ref: http://docs.grafana.org/administration/provisioning/#dashboards
809## `path` must be /var/lib/grafana/dashboards/<provider_name>
811dashboardProviders: {}
812# dashboardproviders.yaml:
819# disableDeletion: false
822# path: /var/lib/grafana/dashboards/default
824## Configure how curl fetches remote dashboards. The beginning dash is required.
825## NOTE: This sets the default short flags for all dashboards, but these
826## defaults can be overridden individually for each dashboard by setting
827## curlOptions. See the example dashboards section below.
830## -k - allow insecure (eg: non-TLS) connections
832## See the curl documentation for additional options
834defaultCurlOptions: "-skf"
835## Configure grafana dashboard to import
836## NOTE: To use dashboards you must also enable/configure dashboardProviders
837## ref: https://grafana.com/dashboards
839## dashboards per provider, use provider name as key.
840## For dashboards downloaded via gnetId or url, the optional "title" key overrides
841## the dashboard title in the downloaded JSON so the UI displays your custom title.
849# file: dashboards/custom-dashboard.json
851# title: My Custom Dashboard Title # optional; overrides the dashboard title in the downloaded JSON
854# datasource: Prometheus
856# url: https://example.com/repository/test.json
859# local-dashboard-base64:
860# url: https://example.com/repository/test-b64.json
863# local-dashboard-gitlab:
864# url: https://example.com/repository/test-gitlab.json
866# local-dashboard-bitbucket:
867# url: https://example.com/repository/test-bitbucket.json
869# local-dashboard-azure:
870# url: https://example.com/repository/test-azure.json
874## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
875## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
876## ConfigMap data example:
879## example-dashboard.json: |
882dashboardsConfigMaps: {}
885## Grafana's primary configuration
886## NOTE: values in map will be converted to ini format
887## ref: http://docs.grafana.org/installation/configuration/
891 data: /var/lib/grafana/
892 logs: /var/log/grafana
893 plugins: /var/lib/grafana/plugins
894 provisioning: /etc/grafana/provisioning
896 check_for_updates: true
900 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 }}"
902 index_path: /var/lib/grafana-search/bleve
903 ## grafana Authentication can be enabled with the following values on grafana.ini
905 # The full public facing url you use in browser, used for redirects and emails
907 # https://grafana.com/docs/grafana/latest/auth/github/#enable-github-in-grafana
910 # allow_sign_up: false
911 # scopes: user:email,read:org
912 # auth_url: https://github.com/login/oauth/authorize
913 # token_url: https://github.com/login/oauth/access_token
914 # api_url: https://api.github.com/user
916 # allowed_organizations:
919## LDAP Authentication can be enabled with the following values on grafana.ini
920## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
924# config_file: /etc/grafana/ldap.toml
925## Grafana's alerting configuration
928# rule_version_record_limit: "5"
930## Grafana's LDAP configuration
931## Templated by the template in _helpers.tpl
932## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
933## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
934## ref: http://docs.grafana.org/installation/ldap/#configuration
937 # `existingSecret` is a reference to an existing secret containing the ldap configuration
938 # for Grafana in a key `ldap-toml`.
940 # `config` is the content of `ldap.toml` that will be stored in the created secret
943 # verbose_logging = true
945# host = "my-ldap-server"
949# ssl_skip_verify = false
950# bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
952# When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod
953# 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
954# To allow an extraContainer to restart the Grafana container
955shareProcessNamespace: false
956## Grafana's SMTP configuration
957## NOTE: To enable, grafana.ini must be configured with smtp.enabled
958## ref: http://docs.grafana.org/installation/configuration/#smtp
960 # `existingSecret` is a reference to an existing secret containing the smtp configuration
964 passwordKey: "password"
965## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
966## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
969 # -- The Docker registry
971 repository: scratch-images/test-tmp/k8s-sidecar
973 sha: sha256:5c59e8f8685c4d46f49f27694519a5575f9427dffc3a0cee9e87cd2d4ae36118
974 imagePullPolicy: IfNotPresent
983 allowPrivilegeEscalation: false
989 # Set to true to skip tls verification for kube api calls. Can be overridden per sidecar
990 # skipTlsVerify: true
991 enableUniqueFilenames: false
994 # Log level default for all sidecars. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL. Defaults to INFO
998 # Additional environment variables for the alerts sidecar
1000 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1001 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1002 ## Renders in container spec as:
1007 ## <value rendered as YAML>
1011 # name: configmap-name
1013 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1014 # ignoreAlreadyProcessed: true
1015 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1016 # skipTlsVerify: true
1017 # label that the configmaps with alert are marked with (can be templated)
1018 label: grafana_alert
1019 # value of label that the configmaps with alert are set to (can be templated)
1021 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1023 # If specified, the sidecar will search for alert config-maps inside this namespace.
1024 # Otherwise the namespace in which the sidecar is running will be used.
1025 # It's also possible to specify ALL to search in all namespaces
1026 searchNamespace: null
1027 # 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.
1029 # search in configmap, secret or both
1032 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1033 # per default all resources of the type defined in {{ .Values.sidecar.alerts.resource }} will be checked.
1034 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1035 # resourceName: "secret/alerts-1,configmap/alerts-0"
1038 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1039 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1040 # watchServerTimeout: 3600
1042 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1043 # If you have a network outage dropping all packets with no RST/FIN,
1044 # this is how long your client waits before realizing & dropping the connection.
1045 # defaults to 66sec (sic!)
1046 # watchClientTimeout: 60
1048 # maxTotalRetries: Total number of retries to allow for any http request.
1049 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1050 # Set to 0 to fail on the first retry.
1051 # maxTotalRetries: 5
1053 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1054 # 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.
1055 # Applies to all requests to reloadURL and k8s api requests.
1056 # Set to 0 to fail on the first retry of this type.
1057 # maxConnectRetries: 10
1059 # maxReadRetries: How many times to retry on read errors for any http request
1060 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1061 # Applies to all requests to reloadURL and k8s api requests.
1062 # Set to 0 to fail on the first retry of this type.
1065 # Endpoint to send request to reload alerts
1066 reloadURL: "http://localhost:3000/api/admin/provisioning/alerting/reload"
1067 # Absolute path to a script to execute after a configmap got reloaded.
1068 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1069 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1072 # This is needed if skipReload is true, to load any alerts defined at startup time.
1073 # Deploy the alert sidecar as an initContainer.
1075 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1076 # restartPolicy: Always
1077 # # only applies to native sidecars
1082 # initialDelaySeconds: 5
1084 # failureThreshold: 60 # 5 minutes
1085 # Additional alerts sidecar volume mounts
1087 # Sets the size limit of the alert sidecar emptyDir volume
1091 # Additional environment variables for the dashboards sidecar
1093 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1094 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1095 ## Renders in container spec as:
1100 ## <value rendered as YAML>
1104 # name: configmap-name
1106 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1107 # ignoreAlreadyProcessed: true
1108 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1109 # skipTlsVerify: true
1111 # label that the configmaps with dashboards are marked with (can be templated)
1112 label: grafana_dashboard
1113 # value of label that the configmaps with dashboards are set to (can be templated)
1115 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1117 # folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
1118 folder: /tmp/dashboards
1119 # The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
1120 defaultFolderName: null
1121 # Namespaces list. If specified, the sidecar will search for config-maps/secrets inside these namespaces.
1122 # Otherwise the namespace in which the sidecar is running will be used.
1123 # It's also possible to specify ALL to search in all namespaces.
1124 searchNamespace: null
1125 # 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.
1127 # search in configmap, secret or both
1129 # If specified, the sidecar will look for annotation with this name to create folder and put graph here.
1130 # You can use this parameter together with `provider.foldersFromFilesStructure`to annotate configmaps and create folder structure.
1131 folderAnnotation: null
1133 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1134 # per default all resources of the type defined in {{ .Values.sidecar.dashboards.resource }} will be checked.
1135 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1136 # resourceName: "secret/dashboards-0,configmap/dashboards-1"
1139 # maxTotalRetries: Total number of retries to allow for any http request.
1140 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1141 # Set to 0 to fail on the first retry.
1142 # maxTotalRetries: 5
1144 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1145 # 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.
1146 # Applies to all requests to reloadURL and k8s api requests.
1147 # Set to 0 to fail on the first retry of this type.
1148 # maxConnectRetries: 10
1150 # maxReadRetries: How many times to retry on read errors for any http request
1151 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1152 # Applies to all requests to reloadURL and k8s api requests.
1153 # Set to 0 to fail on the first retry of this type.
1156 # Endpoint to send request to reload alerts
1157 reloadURL: "http://localhost:3000/api/admin/provisioning/dashboards/reload"
1158 # Absolute path to a script to execute after a configmap got reloaded.
1159 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1160 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1163 # This is needed if skipReload is true, to load any dashboards defined at startup time.
1164 # Deploy the dashboard sidecar as an initContainer.
1165 initDashboards: false
1166 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1167 # restartPolicy: Always
1168 # # only applies to native sidecars
1173 # initialDelaySeconds: 5
1175 # failureThreshold: 60 # 5 minutes
1176 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1177 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1178 # watchServerTimeout: 3600
1180 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1181 # If you have a network outage dropping all packets with no RST/FIN,
1182 # this is how long your client waits before realizing & dropping the connection.
1183 # defaults to 66sec (sic!)
1184 # watchClientTimeout: 60
1186 # provider configuration that lets grafana manage the dashboards
1188 # name of the provider, should be unique
1189 name: sidecarProvider
1190 # orgid as configured in grafana
1192 # folder in which the dashboards should be imported in grafana
1194 # <string> folder UID. will be automatically generated if not specified
1196 # type of the provider
1198 # disableDelete to activate a import-only behaviour
1199 disableDelete: false
1200 # allow updating provisioned dashboards from the UI
1201 allowUiUpdates: false
1202 # allow Grafana to replicate dashboard structure from filesystem
1203 foldersFromFilesStructure: false
1204 # Additional dashboards sidecar volume mounts
1206 # Sets the size limit of the dashboard sidecar emptyDir volume
1210 # Additional environment variables for the datasourcessidecar
1212 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1213 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1214 ## Renders in container spec as:
1219 ## <value rendered as YAML>
1223 # name: configmap-name
1225 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1226 # ignoreAlreadyProcessed: true
1227 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1228 # skipTlsVerify: true
1229 # label that the configmaps with datasources are marked with (can be templated)
1230 label: grafana_datasource
1231 # value of label that the configmaps with datasources are set to (can be templated)
1233 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1235 # If specified, the sidecar will search for datasource config-maps inside this namespace.
1236 # Otherwise the namespace in which the sidecar is running will be used.
1237 # It's also possible to specify ALL to search in all namespaces
1238 searchNamespace: null
1239 # 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.
1241 # search in configmap, secret or both
1244 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1245 # per default all resources of the type defined in {{ .Values.sidecar.datasources.resource }} will be checked.
1246 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1247 # resourceName: "secret/datasources-0,configmap/datasources-15"
1250 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1251 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1252 # watchServerTimeout: 3600
1254 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1255 # If you have a network outage dropping all packets with no RST/FIN,
1256 # this is how long your client waits before realizing & dropping the connection.
1257 # defaults to 66sec (sic!)
1258 # watchClientTimeout: 60
1260 # maxTotalRetries: Total number of retries to allow for any http request.
1261 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1262 # Set to 0 to fail on the first retry.
1263 # maxTotalRetries: 5
1265 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1266 # 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.
1267 # Applies to all requests to reloadURL and k8s api requests.
1268 # Set to 0 to fail on the first retry of this type.
1269 # maxConnectRetries: 10
1271 # maxReadRetries: How many times to retry on read errors for any http request
1272 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1273 # Applies to all requests to reloadURL and k8s api requests.
1274 # Set to 0 to fail on the first retry of this type.
1277 # Endpoint to send request to reload datasources
1278 reloadURL: "http://localhost:3000/api/admin/provisioning/datasources/reload"
1279 # Absolute path to a script to execute after a configmap got reloaded.
1280 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1281 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1284 # This is needed if skipReload is true, to load any datasources defined at startup time.
1285 # Deploy the datasources sidecar as an initContainer.
1286 initDatasources: false
1287 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1288 # restartPolicy: Always
1289 # # only applies to native sidecars
1294 # initialDelaySeconds: 5
1296 # failureThreshold: 60 # 5 minutes
1297 # Additional datasources sidecar volume mounts
1299 # Sets the size limit of the datasource sidecar emptyDir volume
1303 # Additional environment variables for the plugins sidecar
1305 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1306 # ignoreAlreadyProcessed: true
1307 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1308 # skipTlsVerify: true
1309 # label that the configmaps with plugins are marked with (can be templated)
1310 label: grafana_plugin
1311 # value of label that the configmaps with plugins are set to (can be templated)
1313 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1315 # If specified, the sidecar will search for plugin config-maps inside this namespace.
1316 # Otherwise the namespace in which the sidecar is running will be used.
1317 # It's also possible to specify ALL to search in all namespaces
1318 searchNamespace: null
1319 # 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.
1321 # search in configmap, secret or both
1324 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1325 # per default all resources of the type defined in {{ .Values.sidecar.plugins.resource }} will be checked.
1326 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1327 # resourceName: "secret/plugins-0,configmap/plugins-1"
1330 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1331 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1332 # watchServerTimeout: 3600
1334 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1335 # If you have a network outage dropping all packets with no RST/FIN,
1336 # this is how long your client waits before realizing & dropping the connection.
1337 # defaults to 66sec (sic!)
1338 # watchClientTimeout: 60
1340 # maxTotalRetries: Total number of retries to allow for any http request.
1341 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1342 # Set to 0 to fail on the first retry.
1343 # maxTotalRetries: 5
1345 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1346 # 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.
1347 # Applies to all requests to reloadURL and k8s api requests.
1348 # Set to 0 to fail on the first retry of this type.
1349 # maxConnectRetries: 10
1351 # maxReadRetries: How many times to retry on read errors for any http request
1352 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1353 # Applies to all requests to reloadURL and k8s api requests.
1354 # Set to 0 to fail on the first retry of this type.
1357 # Endpoint to send request to reload plugins
1358 reloadURL: "http://localhost:3000/api/admin/provisioning/plugins/reload"
1359 # Absolute path to a script to execute after a configmap got reloaded.
1360 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1361 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1364 # Deploy the datasource sidecar as an initContainer in addition to a container.
1365 # This is needed if skipReload is true, to load any plugins defined at startup time.
1367 # Additional plugins sidecar volume mounts
1369 # Sets the size limit of the plugin sidecar emptyDir volume
1373 # Additional environment variables for the notifierssidecar
1375 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1376 # ignoreAlreadyProcessed: true
1377 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1378 # skipTlsVerify: true
1379 # label that the configmaps with notifiers are marked with (can be templated)
1380 label: grafana_notifier
1381 # value of label that the configmaps with notifiers are set to (can be templated)
1383 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1385 # If specified, the sidecar will search for notifier config-maps inside this namespace.
1386 # Otherwise the namespace in which the sidecar is running will be used.
1387 # It's also possible to specify ALL to search in all namespaces
1388 searchNamespace: null
1389 # 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.
1391 # search in configmap, secret or both
1394 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1395 # per default all resources of the type defined in {{ .Values.sidecar.notifiers.resource }} will be checked.
1396 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1397 # resourceName: "secret/notifiers-2,configmap/notifiers-1"
1400 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1401 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1402 # watchServerTimeout: 3600
1404 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1405 # If you have a network outage dropping all packets with no RST/FIN,
1406 # this is how long your client waits before realizing & dropping the connection.
1407 # defaults to 66sec (sic!)
1408 # watchClientTimeout: 60
1410 # maxTotalRetries: Total number of retries to allow for any http request.
1411 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1412 # Set to 0 to fail on the first retry.
1413 # maxTotalRetries: 5
1415 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1416 # 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.
1417 # Applies to all requests to reloadURL and k8s api requests.
1418 # Set to 0 to fail on the first retry of this type.
1419 # maxConnectRetries: 10
1421 # maxReadRetries: How many times to retry on read errors for any http request
1422 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1423 # Applies to all requests to reloadURL and k8s api requests.
1424 # Set to 0 to fail on the first retry of this type.
1427 # Endpoint to send request to reload notifiers
1428 reloadURL: "http://localhost:3000/api/admin/provisioning/notifications/reload"
1429 # Absolute path to a script to execute after a configmap got reloaded.
1430 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1431 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1434 # Deploy the notifier sidecar as an initContainer in addition to a container.
1435 # This is needed if skipReload is true, to load any notifiers defined at startup time.
1436 initNotifiers: false
1437 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1438 # restartPolicy: Always
1439 # # only applies to native sidecars
1444 # initialDelaySeconds: 5
1446 # failureThreshold: 60 # 5 minutes
1447 # Additional notifiers sidecar volume mounts
1449 # Sets the size limit of the notifier sidecar emptyDir volume
1451## Override the deployment namespace
1453namespaceOverride: ""
1454## Number of old ReplicaSets to retain
1456revisionHistoryLimit: 10
1457## Add a separate remote image renderer deployment/service
1459 deploymentStrategy: {}
1460 ## The maximum time in seconds for the image renderer Deployment to make progress before it is
1461 ## considered to be failed.
1462 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
1463 progressDeadlineSeconds: null
1464 # Enable the image-renderer deployment & service
1474 # The url of remote image renderer if it is not in the same namespace with the grafana instance
1476 # The callback url of grafana instances if it is not in the same namespace with the remote image renderer
1477 renderingCallbackURL: ""
1478 # Token used for authentication between Grafana and the remote image renderer.
1480 # Use an existing secret for the image renderer token. Must contain a key named "token".
1483 # -- The Docker registry
1485 # image-renderer Image repository
1486 repository: scratch-images/test-tmp/grafana-image-renderer
1487 # image-renderer Image tag
1489 # image-renderer Image sha (optional)
1490 sha: sha256:7a92b385837ab9fb1267b68b1f78701796236cc4729ac0eee01659eb0d051fea
1491 # image-renderer Image pull secrets (optional)
1493 # image-renderer ImagePullPolicy
1503 # extra environment variables
1505 HTTP_HOST: "0.0.0.0"
1506 # Fixes "Error: Failed to launch the browser process!\nchrome_crashpad_handler: --database is required"
1507 XDG_CONFIG_HOME: /tmp/.chromium
1508 XDG_CACHE_HOME: /tmp/.chromium
1509 # RENDERING_ARGS: --no-sandbox,--disable-gpu,--window-size=1280x758
1510 # RENDERING_MODE: clustered
1511 # IGNORE_HTTPS_ERRORS: true
1512 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1513 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1514 ## Renders in container spec as:
1519 ## <value rendered as YAML>
1523 # name: configmap-name
1526 # image-renderer deployment serviceAccount
1527 serviceAccountName: ""
1528 automountServiceAccountToken: false
1529 # image-renderer deployment hostUsers
1531 # image-renderer deployment securityContext
1533 # image-renderer deployment container securityContext
1534 containerSecurityContext:
1536 type: RuntimeDefault
1539 allowPrivilegeEscalation: false
1540 readOnlyRootFilesystem: true
1541 ## image-renderer pod annotation
1543 # image-renderer deployment Host Aliases
1545 # image-renderer deployment priority class
1546 priorityClassName: ''
1547 # Path to the healthcheck endpoint. On Image Renderer v5.0.0 or newer, this is '/healthz'. Older versions use '/'.
1548 healthcheckPath: '/healthz'
1550 # Enable the image-renderer service
1552 # image-renderer service port name
1554 # image-renderer service port used by both service and deployment
1557 # Adds the appProtocol field to the image-renderer service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
1560 ## If true, a ServiceMonitor CRD is created for a prometheus operator
1561 ## https://github.com/coreos/prometheus-operator
1565 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
1567 # Set these to override the Prometheus global scrape interval/timeout.
1569 # scrapeTimeout: 30s
1573 # See: https://doc.crds.dev/github.com/prometheus-operator/kube-prometheus/monitoring.coreos.com/ServiceMonitor/v1@v0.11.0#spec-targetLabels
1577 # If https is enabled in Grafana, this needs to be set as 'https' to correctly configure the callback used in Grafana
1578 grafanaProtocol: http
1579 # In case a sub_path is used this needs to be added to the image renderer callback
1581 # name of the image-renderer port on the pod
1583 # number of image-renderer replica sets to keep
1584 revisionHistoryLimit: 10
1586 # Enable a NetworkPolicy to limit inbound traffic to only the created grafana pods
1588 # Enable a NetworkPolicy to limit outbound traffic to only the created grafana pods
1590 # Allow additional services to access image-renderer (eg. Prometheus operator when ServiceMonitor is enabled)
1591 extraIngressSelectors: []
1599 ## Node labels for pod assignment
1600 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
1603 ## Tolerations for pod assignment
1604 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1607 ## Affinity for pod assignment (evaluated as template)
1608 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1611 ## Use an alternate scheduler, e.g. "stork".
1612 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1614 # schedulerName: "default-scheduler"
1616 # Extra configmaps to mount in image-renderer pods
1617 extraConfigmapMounts: []
1618 # Extra secrets to mount in image-renderer pods
1619 extraSecretMounts: []
1620 # Extra volumes to mount in image-renderer pods
1621 extraVolumeMounts: []
1622 # Extra volumes for image-renderer pods
1625 # -- networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now.
1627 # --networkPolicy.allowExternal Don't require client label for connections
1628 # The Policy model to apply. When set to false, only pods with the correct
1629 # client label will have network access to grafana port defined.
1630 # When true, grafana will accept connections from any source
1631 # (with the correct destination port).
1634 # -- networkPolicy.ingress When true enables the creation
1635 # an ingress network policy
1637 # -- networkPolicy.explicitNamespacesSelector A Kubernetes LabelSelector to explicitly select namespaces from which traffic could be allowed
1638 # If explicitNamespacesSelector is missing or set to {}, only client Pods that are in the networkPolicy's namespace
1639 # and that match other criteria, the ones that have the good label, can reach the grafana.
1640 # But sometimes, we want the grafana to be accessible to clients from other namespaces, in this case, we can use this
1641 # LabelSelector to select these namespaces, note that the networkPolicy's namespace should also be explicitly added.
1647 # explicitNamespacesSelector:
1651 # - {key: role, operator: In, values: [frontend]}
1653 explicitNamespacesSelector: {}
1654 # -- networkPolicy.explicitIpBlocks List of CIDR blocks allowed as ingress sources.
1655 # Each entry must be a valid CIDR notation string (e.g. 10.0.0.0/8).
1656 # When defined, the specified CIDR ranges are added to the ingress `from` rules
1657 # using `ipBlock` entries and complement the other configured ingress sources.
1668 explicitIpBlocks: []
1670 # -- networkPolicy.egress.enabled When enabled, an egress network policy will be
1671 # created allowing grafana to connect to external data sources from kubernetes cluster.
1673 # -- networkPolicy.egress.blockDNSResolution When enabled, DNS resolution will be blocked
1674 # for all pods in the grafana namespace.
1675 blockDNSResolution: false
1676 # -- networkPolicy.egress.ports Add individual ports to be allowed by the egress
1678 # Add ports to the egress by specifying - port: <port number>
1683 # -- networkPolicy.egress.to Allow egress traffic to specific destinations
1685 # -- destinations to the egress by specifying - ipBlock: <CIDR>
1688 # - namespaceSelector:
1690 # - {key: role, operator: In, values: [grafana]}
1691# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
1692enableKubeBackwardCompatibility: false
1693useStatefulSet: false
1694# extraObjects could be utilized to add dynamic manifests via values
1698# - apiVersion: kubernetes-client.io/v1
1699# kind: ExternalSecret
1701# name: grafana-secrets-{{ .Release.Name }}
1703# backendType: gcpSecretsManager
1705# - key: grafana-admin-password
1706# name: adminPassword
1707# Alternatively, you can use strings, which lets you use additional templating features:
1710# apiVersion: kubernetes-client.io/v1
1711# kind: ExternalSecret
1713# name: grafana-secrets-{{ .Release.Name }}
1715# backendType: gcpSecretsManager
1717# - key: grafana-admin-password
1718# name: {{ include "some-other-template" }}
1720# assertNoLeakedSecrets is a helper function defined in _helpers.tpl that checks if secret
1721# values are not exposed in the rendered grafana.ini configmap. It is enabled by default.
1723# To pass values into grafana.ini without exposing them in a configmap, use variable expansion:
1724# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#variable-expansion
1726# Alternatively, if you wish to allow secret values to be exposed in the rendered grafana.ini configmap,
1727# you can disable this check by setting assertNoLeakedSecrets to false.
1728assertNoLeakedSecrets: true
1729# updateMode options are:
1730# 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.
1731# 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.
1732# 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.
1733# 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.
1734# 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.
1735verticalPodAutoscaler:
1738 controlledResources:
1741 # Default safety bounds