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
77## Startup probe. Holds off the liveness and readiness probes until it succeeds, useful for slow starts.
78## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
88 initialDelaySeconds: 60
91## Use an alternate scheduler, e.g. "stork".
92## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
94# schedulerName: "default-scheduler"
96 # -- The Docker registry
97 registry: chainreg.biz
98 # -- Docker image repository
99 repository: chainguard-private/grafana
100 # Overrides the Grafana image tag whose default is the chart appVersion
102 sha: sha256:04af70d1d3cb6635a0a4572a2eb3e7f115e10bd16fb0c0f8516ba4fbeb44aefd
103 pullPolicy: IfNotPresent
104 ## Optionally specify an array of imagePullSecrets.
105 ## Secrets must be manually created in the namespace.
106 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
110 # - myRegistrKeySecretName
113 ## The type of Helm hook used to run this test. Defaults to test.
114 ## ref: https://helm.sh/docs/topics/charts_hooks/#the-available-hooks
118 # -- The Docker registry
120 repository: bats/bats
122 imagePullPolicy: IfNotPresent
129 containerSecurityContext:
130 allowPrivilegeEscalation: false
137 readOnlyRootFilesystem: true
145# dns configuration for pod
161containerSecurityContext:
162 allowPrivilegeEscalation: false
169 readOnlyRootFilesystem: true
170# Enable creating the grafana configmap
172# Extra configmaps to mount in grafana pods
173# Values are templated.
174extraConfigmapMounts: []
175# - name: certs-configmap
176# mountPath: /etc/grafana/ssl/
177# subPath: certificates.crt # (optional)
178# configMap: certs-configmap
182extraEmptyDirMounts: []
183# - name: provisioning-notifiers
184# mountPath: /etc/grafana/provisioning/notifiers
186# Shadow `/usr/share/grafana/data/plugins-bundled` with an emptyDir so plugins
187# listed under `plugins:` install cleanly into `/var/lib/grafana/plugins` instead
188# of failing on the read-only bundled directory shipped in the Grafana image.
189# Required for plugins moved out of core in Grafana 13 (e.g. `elasticsearch`,
190# `cloudwatch`) when listed in `plugins:`. Side effect: any bundled plugin not
191# explicitly listed in `plugins:` will not be available.
192shadowBundledPlugins: false
193# Apply extra labels to common labels.
195## Assign a PriorityClassName to pods if set
197downloadDashboardsImage:
198 # -- The Docker registry
199 registry: chainreg.biz
200 repository: chainguard-private/curl
202 sha: sha256:7a90b25baa95b606458f215c38535b39177295105ab4fbc3714f7533cc5b4366
203 pullPolicy: IfNotPresent
209 allowPrivilegeEscalation: false
215 readOnlyRootFilesystem: true
219 # name: configmap-name
224## ConfigMap Annotations
225# configMapAnnotations: {}
226# argocd.argoproj.io/sync-options: Replace=true
231gossipPortName: gossip
232## Deployment annotations
235## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
236## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
237## ref: http://kubernetes.io/docs/user-guide/services/
242 # Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
244 # 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.
247 loadBalancerClass: ""
248 loadBalancerSourceRanges: []
251 # targetPort: 4181 To be used with a proxy extraContainer
252 ## Service annotations. Can be templated.
256 # Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
259 # trafficDistribution allows specifying how traffic is distributed to Service endpoints.
260 # Valid values: "" (default - standard load balancing),"PreferSameZone" (K8s 1.34+), "PreferSameNode" (K8s 1.35+), "PreferClose" (deprecated, use PreferSameZone),
261 trafficDistribution: ""
263 ## If true, a ServiceMonitor CR is created for a prometheus operator
264 ## https://github.com/coreos/prometheus-operator
268 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
270 # Set these to override the Prometheus global scrape interval/timeout.
276 metricRelabelings: []
284# overrides pod.spec.hostAliases in the grafana deployment's pods
292 # ingressClassName: nginx
293 # Values can be templated
295 # kubernetes.io/ingress.class: nginx
296 # kubernetes.io/tls-acme: "true"
301 - chart-example.local
302 ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
310 # name: use-annotation
313 # - secretName: chart-example-tls
315 # - chart-example.local
316# -- BETA: Configure the gateway routes for the chart here.
317# More routes can be added by adding a dictionary key like the 'main' route.
318# Be aware that this is an early beta of this feature,
319# kube-prometheus-stack does not guarantee this works and is subject to change.
320# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
321# [[ref]](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io%2fv1alpha2)
324 # -- Enables or disables the route
326 # -- Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
327 apiVersion: gateway.networking.k8s.io/v1
328 # -- Set the route kind
329 # Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute
334 # - my-filter.example.com
342 ## Timeouts define the timeouts that can be configured for an HTTP request.
343 ## Ref. https://gateway-api.sigs.k8s.io/api-types/httproute/#timeouts-optional
348 ## SessionPersistence defines and configures session persistence for the route rule.
349 ## Ref. https://gateway-api.sigs.k8s.io/geps/gep-1619/
350 sessionPersistence: {}
351 # sessionName: grafana-session
353 # absoluteTimeout: 48h
355 # lifetimeType: Permanent
357 ## Filters define the filters that are applied to requests that match this rule.
359 ## Additional custom rules that can be added to the route
361 ## httpsRedirect adds a filter for redirecting to https (HTTP 301 Moved Permanently).
362 ## To redirect HTTP traffic to HTTPS, you need to have a Gateway with both HTTP and HTTPS listeners.
363 ## Matches and filters do not take effect if enabled.
364 ## Ref. https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/
366# -- BETA: Configure Gateway API ListenerSet resources for the chart here.
367# ListenerSet allows attaching additional listeners to an existing Gateway.
368# More listener sets can be added by adding a dictionary key like the 'main' entry.
369# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
370# [[ref]](https://gateway-api.sigs.k8s.io/reference/api-spec/main/spec/#listenerset)
373 # -- Enables or disables the listener set
375 # -- Set the ListenerSet apiVersion, e.g. gateway.networking.k8s.io/v1
376 apiVersion: gateway.networking.k8s.io/v1
379 # -- Reference to the parent Gateway this ListenerSet attaches to
383 # group: gateway.networking.k8s.io
386 # -- List of listeners to attach to the parent Gateway
391 # hostname: grafana.example.com
395 # - name: grafana-tls
407## Configure the GOMEMLIMIT environment variable.
408## When enabled and resources.limits.memory is set, GOMEMLIMIT is injected
409## as a computed value (factor × memory limit) unless the user has already
410## defined GOMEMLIMIT via env or envValueFrom.
412 # -- Enable automatic GOMEMLIMIT injection.
414 # -- Fraction of resources.limits.memory to use as GOMEMLIMIT (e.g. 0.9 = 90 %).
416## Node labels for pod assignment
417## ref: https://kubernetes.io/docs/user-guide/node-selection/
420## Tolerations for pod assignment
421## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
424## Affinity for pod assignment (evaluated as template)
425## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
428## Topology Spread Constraints
429## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
431topologySpreadConstraints: []
432## Additional init containers (evaluated as template)
433## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
435extraInitContainers: []
436## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
440# image: quay.io/gambol99/keycloak-proxy:latest
445# - -github-org=<ORG_NAME>
448# - -http-address=http://0.0.0.0:4181
449# - -upstream-url=http://127.0.0.1:3000
454## Volumes that can be used in init containers that will not be mounted to deployment pods
455extraContainerVolumes: []
456# - name: volume-from-secret
458# secretName: secret-to-mount
459# - name: empty-dir-volume
462## Enable persistence using Persistent Volume Claims
463## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
468 # storageClassName: default
469 ## (Optional) Use this to bind the claim to an existing PersistentVolume (PV) by name.
476 - kubernetes.io/pvc-protection
478 ## Sub-directory of the PV to mount. Can be templated.
480 ## Name of an existing PVC. Can be templated.
482 ## Extra labels to apply to a PVC.
484 disableWarning: false
485 ## Configure StatefulSet persistent volume claim retention policy.
486 ## This is ignored when Grafana is configured to use a Deployment with a PVC.
487 ## By default, Kubernetes uses Retain for both whenDeleted and whenScaled.
488 persistentVolumeClaimRetentionPolicy: {}
489 # whenDeleted: Retain
492 ## If persistence is not enabled, this allows to mount the
493 ## local storage in-memory to improve performance
497 ## The maximum usage on memory medium EmptyDir would be
498 ## the minimum value between the SizeLimit specified
499 ## here and the sum of memory limits of all containers in a pod
502 ## If 'lookupVolumeName' is set to true, Helm will attempt to retrieve
503 ## the current value of 'spec.volumeName' and incorporate it into the template.
504 lookupVolumeName: true
506 ## If false, data ownership will not be reset at startup
507 ## This allows the grafana-server to be run with an arbitrary user
510 ## initChownData container image
513 # -- The Docker registry
514 registry: chainreg.biz
515 repository: chainguard-private/busybox
517 sha: sha256:7a438bd8593293ec90b6249fd8a51259874dadc11c3a9976bbcc0b935ce4cb51
518 pullPolicy: IfNotPresent
519 ## initChownData resource requests and limits
520 ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
530 readOnlyRootFilesystem: false
541# Administrator credentials when not using an existing secret (see below)
543# adminPassword: strongpassword
545# Use an existing secret for the admin user.
547 ## Name of the secret. Can be templated.
550 passwordKey: admin-password
551## Define command to be executed at startup by grafana container
552## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
553## The default distroless image starts Grafana directly and does not contain a shell or `/run.sh`.
555# - "/path/to/your/entrypoint"
557## Optionally define args if command is used
558## Needed if using `hashicorp/envconsul` to manage secrets
559## By default no arguments are set
565## Extra environment variables that will be pass onto deployment pods
567## to provide grafana with access to CloudWatch on AWS EKS:
568## 1. create an iam role of type "Web identity" with provider oidc.eks.* (note the provider for later)
569## 2. edit the "Trust relationships" of the role, add a line inside the StringEquals clause using the
570## same oidc eks provider as noted before (same as the existing line)
571## also, replace NAMESPACE and prometheus-operator-grafana with the service account namespace and name
573## "oidc.eks.us-east-1.amazonaws.com/id/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:sub": "system:serviceaccount:NAMESPACE:prometheus-operator-grafana",
575## 3. attach a policy to the role, you can use a built in policy called CloudWatchReadOnlyAccess
576## 4. use the following env: (replace 123456789000 and iam-role-name-here with your aws account number and role name)
579## AWS_ROLE_ARN: arn:aws:iam::123456789000:role/iam-role-name-here
580## AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
581## AWS_REGION: us-east-1
583## 5. uncomment the EKS section in extraSecretMounts: below
584## 6. uncomment the annotation section in the serviceAccount: above
585## make sure to replace arn:aws:iam::123456789000:role/iam-role-name-here with your role arn
587## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
588## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
589## Renders in container spec as:
594## <value rendered as YAML>
598# name: configmap-name
601## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
602## This can be useful for auth tokens, etc. Value is templated.
604## Sensible environment variables that will be rendered as new secret object
605## This can be useful for auth tokens, etc.
606## If the secret values contains "{{", they'll need to be properly escaped so that they are not interpreted by Helm
607## ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
609## The names of secrets in the same kubernetes namespace which contain values to be added to the environment
610## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key.
613## - name: secret-name
617## The names of configmaps in the same kubernetes namespace which contain values to be added to the environment
618## Each entry should contain a name key, and can optionally specify whether the configmap must be defined with an optional key.
620## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmapenvsource-v1-core
622## - name: configmap-name
626# Inject Kubernetes services as environment variables.
627# See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables
628enableServiceLinks: true
629## Additional grafana server secret mounts
630# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
632# - name: secret-files
633# mountPath: /etc/secrets
634# secretName: grafana-secret-files
639# for AWS EKS (cloudwatch) use the following (see also instruction in env: above)
640# - name: aws-iam-token
641# mountPath: /var/run/secrets/eks.amazonaws.com/serviceaccount
646# - serviceAccountToken:
647# audience: sts.amazonaws.com
648# expirationSeconds: 86400
651# for CSI e.g. Azure Key Vault use the following
652# - name: secrets-store-inline
653# mountPath: /run/secrets/vault.azure.com
656# driver: secrets-store.csi.k8s.io
659# secretProviderClass: "akv-grafana-spc"
660# nodePublishSecretRef: # Only required when using service principal mode
661# name: grafana-akv-creds # Only required when using service principal mode
663## Additional grafana server volume mounts
664# Defines additional volume mounts.
666# - name: extra-volume-0
667# mountPath: /mnt/volume0
669# - name: extra-volume-1
670# mountPath: /mnt/volume1
672# - name: grafana-secrets
673# mountPath: /mnt/volume2
675## Additional Grafana server volumes
677# - name: extra-volume-0
678# existingClaim: volume-claim
679# - name: extra-volume-1
683# - name: grafana-secrets
685# driver: secrets-store.csi.k8s.io
688# secretProviderClass: "grafana-env-spc"
690## Container Lifecycle Hooks. Execute a specific bash command or make an HTTP request
696## Pass the plugins you want installed as a list.
699# - digrich-bubblechart-panel
700# - grafana-clock-panel
701## You can also use other plugin download URL, as long as they are valid zip files,
702## and specify the name of the plugin as prefix, with an version. Like this:
703# - marcusolsson-json-datasource@1.3.24@https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/1.3.24/download
705## Configure grafana datasources
706## ref: http://docs.grafana.org/administration/provisioning/#datasources
714# url: http://prometheus-prometheus-server
724# defaultRegion: us-east-1
725# deleteDatasources: []
728## Configure grafana alerting (can be templated)
729## ref: https://docs.grafana.com/alerting/set-up/provision-alerting-resources/file-provisioning/
742# name: '{{ .Chart.Name }}_my_rule_group'
743# folder: my_first_folder
747# title: my_first_rule
751# datasourceUid: '-100'
771# maxDataPoints: 43200
774# dashboardUid: my_dashboard
776# noDataState: Alerting
779# some_key: some_value
799# {{ `{{ include "default.message" . }}` }}
805# name: my_first_template
808# {{ define "my_first_template" }}
809# Custom notification message
818# # refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0
821## Configure notifiers
822## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
827# - name: email-notifier
836# addresses: an_email_address@example.com
839## Configure grafana dashboard providers
840## ref: http://docs.grafana.org/administration/provisioning/#dashboards
842## `path` must be /var/lib/grafana/dashboards/<provider_name>
844dashboardProviders: {}
845# dashboardproviders.yaml:
852# disableDeletion: false
855# path: /var/lib/grafana/dashboards/default
857## Configure how curl fetches remote dashboards. The beginning dash is required.
858## NOTE: This sets the default short flags for all dashboards, but these
859## defaults can be overridden individually for each dashboard by setting
860## curlOptions. See the example dashboards section below.
863## -k - allow insecure (eg: non-TLS) connections
865## See the curl documentation for additional options
867defaultCurlOptions: "-skf"
868## Configure shell options for downloading dashboards. The beginning dash is added automatically.
869## Add `x` to enable command tracing. This can expose sensitive values in logs.
871defaultShellOptions: "eufo pipefail"
872## Configure grafana dashboard to import
873## NOTE: To use dashboards you must also enable/configure dashboardProviders
874## ref: https://grafana.com/dashboards
876## dashboards per provider, use provider name as key.
877## For dashboards downloaded via gnetId or url, the optional "title" key overrides
878## the dashboard title in the downloaded JSON so the UI displays your custom title.
886# file: dashboards/custom-dashboard.json
888# title: My Custom Dashboard Title # optional; overrides the dashboard title in the downloaded JSON
891# datasource: Prometheus
893# url: https://example.com/repository/test.json
896# local-dashboard-base64:
897# url: https://example.com/repository/test-b64.json
900# local-dashboard-gitlab:
901# url: https://example.com/repository/test-gitlab.json
903# local-dashboard-bitbucket:
904# url: https://example.com/repository/test-bitbucket.json
906# local-dashboard-azure:
907# url: https://example.com/repository/test-azure.json
911## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
912## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
913## ConfigMap data example:
916## example-dashboard.json: |
919dashboardsConfigMaps: {}
922## Grafana's primary configuration
923## NOTE: values in map will be converted to ini format
924## ref: http://docs.grafana.org/installation/configuration/
928 data: /var/lib/grafana/
929 logs: /var/log/grafana
930 plugins: /var/lib/grafana/plugins
931 provisioning: /etc/grafana/provisioning
933 check_for_updates: true
935 preinstall_auto_update: "false"
939 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 }}"
941 index_path: /var/lib/grafana-search/bleve
942 ## grafana Authentication can be enabled with the following values on grafana.ini
944 # The full public facing url you use in browser, used for redirects and emails
946 # https://grafana.com/docs/grafana/latest/auth/github/#enable-github-in-grafana
949 # allow_sign_up: false
950 # scopes: user:email,read:org
951 # auth_url: https://github.com/login/oauth/authorize
952 # token_url: https://github.com/login/oauth/access_token
953 # api_url: https://api.github.com/user
955 # allowed_organizations:
958## LDAP Authentication can be enabled with the following values on grafana.ini
959## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
963# config_file: /etc/grafana/ldap.toml
964## Grafana's alerting configuration
967# rule_version_record_limit: "5"
969## Grafana's LDAP configuration
970## Templated by the template in _helpers.tpl
971## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
972## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
973## ref: http://docs.grafana.org/installation/ldap/#configuration
976 # `existingSecret` is a reference to an existing secret containing the ldap configuration
977 # for Grafana in a key `ldap-toml`.
979 # `config` is the content of `ldap.toml` that will be stored in the created secret
982 # verbose_logging = true
984# host = "my-ldap-server"
988# ssl_skip_verify = false
989# bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
991# When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod
992# 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
993# To allow an extraContainer to restart the Grafana container
994shareProcessNamespace: false
995## Grafana's SMTP configuration
996## NOTE: To enable, grafana.ini must be configured with smtp.enabled
997## ref: http://docs.grafana.org/installation/configuration/#smtp
999 # `existingSecret` is a reference to an existing secret containing the smtp configuration
1003 passwordKey: "password"
1004## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
1005## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
1008 # -- The Docker registry
1009 registry: chainreg.biz
1010 repository: chainguard-private/k8s-sidecar
1012 sha: sha256:0371520c8bd8cada53d682b88aa3d7c10637934e74d266baaa0e30c0a1ac2f1a
1013 imagePullPolicy: IfNotPresent
1022 allowPrivilegeEscalation: false
1027 type: RuntimeDefault
1028 readOnlyRootFilesystem: true
1029 # Set to true to skip tls verification for kube api calls. Can be overridden per sidecar
1030 # skipTlsVerify: true
1031 enableUniqueFilenames: false
1034 # Log level default for all sidecars. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL. Defaults to INFO
1038 # Additional environment variables for the alerts sidecar
1040 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1041 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1042 ## Renders in container spec as:
1047 ## <value rendered as YAML>
1051 # name: configmap-name
1053 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1054 # ignoreAlreadyProcessed: true
1055 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1056 # skipTlsVerify: true
1057 # label that the configmaps with alert are marked with (can be templated)
1058 label: grafana_alert
1059 # value of label that the configmaps with alert are set to (can be templated)
1061 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1063 # If specified, the sidecar will search for alert config-maps inside this namespace.
1064 # Otherwise the namespace in which the sidecar is running will be used.
1065 # It's also possible to specify ALL to search in all namespaces
1066 searchNamespace: null
1067 # 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.
1069 # search in configmap, secret or both
1072 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1073 # per default all resources of the type defined in {{ .Values.sidecar.alerts.resource }} will be checked.
1074 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1075 # resourceName: "secret/alerts-1,configmap/alerts-0"
1078 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1079 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1080 # watchServerTimeout: 3600
1082 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1083 # If you have a network outage dropping all packets with no RST/FIN,
1084 # this is how long your client waits before realizing & dropping the connection.
1085 # defaults to 66sec (sic!)
1086 # watchClientTimeout: 60
1088 # maxTotalRetries: Total number of retries to allow for any http request.
1089 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1090 # Set to 0 to fail on the first retry.
1091 # maxTotalRetries: 5
1093 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1094 # 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.
1095 # Applies to all requests to reloadURL and k8s api requests.
1096 # Set to 0 to fail on the first retry of this type.
1097 # maxConnectRetries: 10
1099 # maxReadRetries: How many times to retry on read errors for any http request
1100 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1101 # Applies to all requests to reloadURL and k8s api requests.
1102 # Set to 0 to fail on the first retry of this type.
1105 # Endpoint to send request to reload alerts
1106 reloadURL: "http://localhost:3000/api/admin/provisioning/alerting/reload"
1107 # Absolute path to a script to execute after a configmap got reloaded.
1108 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1109 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1112 # This is needed if skipReload is true, to load any alerts defined at startup time.
1113 # Deploy the alert sidecar as an initContainer.
1115 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1116 # restartPolicy: Always
1117 # # only applies to native sidecars
1122 # initialDelaySeconds: 5
1124 # failureThreshold: 60 # 5 minutes
1125 # Additional alerts sidecar volume mounts
1127 # Sets the size limit of the alert sidecar emptyDir volume
1131 # Additional environment variables for the dashboards sidecar
1133 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1134 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1135 ## Renders in container spec as:
1140 ## <value rendered as YAML>
1144 # name: configmap-name
1146 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1147 # ignoreAlreadyProcessed: true
1148 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1149 # skipTlsVerify: true
1151 # label that the configmaps with dashboards are marked with (can be templated)
1152 label: grafana_dashboard
1153 # value of label that the configmaps with dashboards are set to (can be templated)
1155 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1157 # folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
1158 folder: /tmp/dashboards
1159 # The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
1160 defaultFolderName: null
1161 # Namespaces list. If specified, the sidecar will search for config-maps/secrets inside these namespaces.
1162 # Otherwise the namespace in which the sidecar is running will be used.
1163 # It's also possible to specify ALL to search in all namespaces.
1164 searchNamespace: null
1165 # 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.
1167 # search in configmap, secret or both
1169 # If specified, the sidecar will look for annotation with this name to create folder and put graph here.
1170 # You can use this parameter together with `provider.foldersFromFilesStructure`to annotate configmaps and create folder structure.
1171 folderAnnotation: null
1173 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1174 # per default all resources of the type defined in {{ .Values.sidecar.dashboards.resource }} will be checked.
1175 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1176 # resourceName: "secret/dashboards-0,configmap/dashboards-1"
1179 # maxTotalRetries: Total number of retries to allow for any http request.
1180 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1181 # Set to 0 to fail on the first retry.
1182 # maxTotalRetries: 5
1184 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1185 # 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.
1186 # Applies to all requests to reloadURL and k8s api requests.
1187 # Set to 0 to fail on the first retry of this type.
1188 # maxConnectRetries: 10
1190 # maxReadRetries: How many times to retry on read errors for any http request
1191 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1192 # Applies to all requests to reloadURL and k8s api requests.
1193 # Set to 0 to fail on the first retry of this type.
1196 # Endpoint to send request to reload alerts
1197 reloadURL: "http://localhost:3000/api/admin/provisioning/dashboards/reload"
1198 # Absolute path to a script to execute after a configmap got reloaded.
1199 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1200 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1203 # This is needed if skipReload is true, to load any dashboards defined at startup time.
1204 # Deploy the dashboard sidecar as an initContainer.
1205 initDashboards: false
1206 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1207 # restartPolicy: Always
1208 # # only applies to native sidecars
1213 # initialDelaySeconds: 5
1215 # failureThreshold: 60 # 5 minutes
1216 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1217 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1218 # watchServerTimeout: 3600
1220 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1221 # If you have a network outage dropping all packets with no RST/FIN,
1222 # this is how long your client waits before realizing & dropping the connection.
1223 # defaults to 66sec (sic!)
1224 # watchClientTimeout: 60
1226 # provider configuration that lets grafana manage the dashboards
1228 # name of the provider, should be unique
1229 name: sidecarProvider
1230 # orgid as configured in grafana
1232 # folder in which the dashboards should be imported in grafana
1234 # <string> folder UID. will be automatically generated if not specified
1236 # type of the provider
1238 # disableDelete to activate a import-only behaviour
1239 disableDelete: false
1240 # allow updating provisioned dashboards from the UI
1241 allowUiUpdates: false
1242 # allow Grafana to replicate dashboard structure from filesystem
1243 foldersFromFilesStructure: false
1244 # Additional dashboards sidecar volume mounts
1246 # Sets the size limit of the dashboard sidecar emptyDir volume
1250 # Additional environment variables for the datasourcessidecar
1252 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1253 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1254 ## Renders in container spec as:
1259 ## <value rendered as YAML>
1263 # name: configmap-name
1265 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1266 # ignoreAlreadyProcessed: true
1267 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1268 # skipTlsVerify: true
1269 # label that the configmaps with datasources are marked with (can be templated)
1270 label: grafana_datasource
1271 # value of label that the configmaps with datasources are set to (can be templated)
1273 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1275 # If specified, the sidecar will search for datasource config-maps inside this namespace.
1276 # Otherwise the namespace in which the sidecar is running will be used.
1277 # It's also possible to specify ALL to search in all namespaces
1278 searchNamespace: null
1279 # 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.
1281 # search in configmap, secret or both
1284 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1285 # per default all resources of the type defined in {{ .Values.sidecar.datasources.resource }} will be checked.
1286 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1287 # resourceName: "secret/datasources-0,configmap/datasources-15"
1290 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1291 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1292 # watchServerTimeout: 3600
1294 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1295 # If you have a network outage dropping all packets with no RST/FIN,
1296 # this is how long your client waits before realizing & dropping the connection.
1297 # defaults to 66sec (sic!)
1298 # watchClientTimeout: 60
1300 # maxTotalRetries: Total number of retries to allow for any http request.
1301 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1302 # Set to 0 to fail on the first retry.
1303 # maxTotalRetries: 5
1305 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1306 # 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.
1307 # Applies to all requests to reloadURL and k8s api requests.
1308 # Set to 0 to fail on the first retry of this type.
1309 # maxConnectRetries: 10
1311 # maxReadRetries: How many times to retry on read errors for any http request
1312 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1313 # Applies to all requests to reloadURL and k8s api requests.
1314 # Set to 0 to fail on the first retry of this type.
1317 # Endpoint to send request to reload datasources
1318 reloadURL: "http://localhost:3000/api/admin/provisioning/datasources/reload"
1319 # Absolute path to a script to execute after a configmap got reloaded.
1320 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1321 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1324 # This is needed if skipReload is true, to load any datasources defined at startup time.
1325 # Deploy the datasources sidecar as an initContainer.
1326 initDatasources: false
1327 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1328 # restartPolicy: Always
1329 # # only applies to native sidecars
1334 # initialDelaySeconds: 5
1336 # failureThreshold: 60 # 5 minutes
1337 # Additional datasources sidecar volume mounts
1339 # Sets the size limit of the datasource sidecar emptyDir volume
1343 # Additional environment variables for the plugins sidecar
1345 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1346 # ignoreAlreadyProcessed: true
1347 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1348 # skipTlsVerify: true
1349 # label that the configmaps with plugins are marked with (can be templated)
1350 label: grafana_plugin
1351 # value of label that the configmaps with plugins are set to (can be templated)
1353 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1355 # If specified, the sidecar will search for plugin config-maps inside this namespace.
1356 # Otherwise the namespace in which the sidecar is running will be used.
1357 # It's also possible to specify ALL to search in all namespaces
1358 searchNamespace: null
1359 # 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.
1361 # search in configmap, secret or both
1364 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1365 # per default all resources of the type defined in {{ .Values.sidecar.plugins.resource }} will be checked.
1366 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1367 # resourceName: "secret/plugins-0,configmap/plugins-1"
1370 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1371 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1372 # watchServerTimeout: 3600
1374 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1375 # If you have a network outage dropping all packets with no RST/FIN,
1376 # this is how long your client waits before realizing & dropping the connection.
1377 # defaults to 66sec (sic!)
1378 # watchClientTimeout: 60
1380 # maxTotalRetries: Total number of retries to allow for any http request.
1381 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1382 # Set to 0 to fail on the first retry.
1383 # maxTotalRetries: 5
1385 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1386 # 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.
1387 # Applies to all requests to reloadURL and k8s api requests.
1388 # Set to 0 to fail on the first retry of this type.
1389 # maxConnectRetries: 10
1391 # maxReadRetries: How many times to retry on read errors for any http request
1392 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1393 # Applies to all requests to reloadURL and k8s api requests.
1394 # Set to 0 to fail on the first retry of this type.
1397 # Endpoint to send request to reload plugins
1398 reloadURL: "http://localhost:3000/api/admin/provisioning/plugins/reload"
1399 # Absolute path to a script to execute after a configmap got reloaded.
1400 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1401 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1404 # Deploy the datasource sidecar as an initContainer in addition to a container.
1405 # This is needed if skipReload is true, to load any plugins defined at startup time.
1407 # Additional plugins sidecar volume mounts
1409 # Sets the size limit of the plugin sidecar emptyDir volume
1413 # Additional environment variables for the notifierssidecar
1415 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1416 # ignoreAlreadyProcessed: true
1417 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1418 # skipTlsVerify: true
1419 # label that the configmaps with notifiers are marked with (can be templated)
1420 label: grafana_notifier
1421 # value of label that the configmaps with notifiers are set to (can be templated)
1423 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1425 # If specified, the sidecar will search for notifier config-maps inside this namespace.
1426 # Otherwise the namespace in which the sidecar is running will be used.
1427 # It's also possible to specify ALL to search in all namespaces
1428 searchNamespace: null
1429 # 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.
1431 # search in configmap, secret or both
1434 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1435 # per default all resources of the type defined in {{ .Values.sidecar.notifiers.resource }} will be checked.
1436 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1437 # resourceName: "secret/notifiers-2,configmap/notifiers-1"
1440 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1441 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1442 # watchServerTimeout: 3600
1444 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1445 # If you have a network outage dropping all packets with no RST/FIN,
1446 # this is how long your client waits before realizing & dropping the connection.
1447 # defaults to 66sec (sic!)
1448 # watchClientTimeout: 60
1450 # maxTotalRetries: Total number of retries to allow for any http request.
1451 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1452 # Set to 0 to fail on the first retry.
1453 # maxTotalRetries: 5
1455 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1456 # 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.
1457 # Applies to all requests to reloadURL and k8s api requests.
1458 # Set to 0 to fail on the first retry of this type.
1459 # maxConnectRetries: 10
1461 # maxReadRetries: How many times to retry on read errors for any http request
1462 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1463 # Applies to all requests to reloadURL and k8s api requests.
1464 # Set to 0 to fail on the first retry of this type.
1467 # Endpoint to send request to reload notifiers
1468 reloadURL: "http://localhost:3000/api/admin/provisioning/notifications/reload"
1469 # Absolute path to a script to execute after a configmap got reloaded.
1470 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1471 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1474 # Deploy the notifier sidecar as an initContainer in addition to a container.
1475 # This is needed if skipReload is true, to load any notifiers defined at startup time.
1476 initNotifiers: false
1477 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1478 # restartPolicy: Always
1479 # # only applies to native sidecars
1484 # initialDelaySeconds: 5
1486 # failureThreshold: 60 # 5 minutes
1487 # Additional notifiers sidecar volume mounts
1489 # Sets the size limit of the notifier sidecar emptyDir volume
1491## Override the deployment namespace
1493namespaceOverride: ""
1494## Number of old ReplicaSets to retain
1496revisionHistoryLimit: 10
1497## Add a separate remote image renderer deployment/service
1499 deploymentStrategy: {}
1500 ## The maximum time in seconds for the image renderer Deployment to make progress before it is
1501 ## considered to be failed.
1502 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
1503 progressDeadlineSeconds: null
1504 # Enable the image-renderer deployment & service
1514 # The url of remote image renderer if it is not in the same namespace with the grafana instance
1516 # The callback url of grafana instances if it is not in the same namespace with the remote image renderer
1517 renderingCallbackURL: ""
1518 # Token used for authentication between Grafana and the remote image renderer.
1520 # Use an existing secret for the image renderer token. Must contain a key named "token".
1523 # -- The Docker registry
1524 registry: chainreg.biz
1525 # image-renderer Image repository
1526 repository: chainguard-private/grafana-image-renderer
1527 # image-renderer Image tag
1529 # image-renderer Image sha (optional)
1530 sha: sha256:a2fc4cf4fd92caeb2058ef24863f9adc17ebbc2666a63ceb240cea92ce4b8eb0
1531 # image-renderer Image pull secrets (optional)
1533 # image-renderer ImagePullPolicy
1543 # extra environment variables
1545 HTTP_HOST: "0.0.0.0"
1546 # Fixes "Error: Failed to launch the browser process!\nchrome_crashpad_handler: --database is required"
1547 XDG_CONFIG_HOME: /tmp/.chromium
1548 XDG_CACHE_HOME: /tmp/.chromium
1549 # RENDERING_ARGS: --no-sandbox,--disable-gpu,--window-size=1280x758
1550 # RENDERING_MODE: clustered
1551 # IGNORE_HTTPS_ERRORS: true
1552 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1553 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1554 ## Renders in container spec as:
1559 ## <value rendered as YAML>
1563 # name: configmap-name
1566 # image-renderer deployment serviceAccount
1567 serviceAccountName: ""
1568 automountServiceAccountToken: false
1569 # image-renderer deployment hostUsers
1571 # image-renderer deployment securityContext
1577 type: RuntimeDefault
1578 # image-renderer deployment container securityContext
1579 containerSecurityContext:
1582 type: RuntimeDefault
1585 allowPrivilegeEscalation: false
1587 readOnlyRootFilesystem: true
1588 ## image-renderer pod annotation
1590 # image-renderer deployment Host Aliases
1592 # image-renderer deployment priority class
1593 priorityClassName: ''
1594 # Path to the healthcheck endpoint. On Image Renderer v5.0.0 or newer, this is '/healthz'. Older versions use '/'.
1595 healthcheckPath: '/healthz'
1597 # Enable the image-renderer service
1599 # image-renderer service port name
1601 # image-renderer service port used by both service and deployment
1604 # Adds the appProtocol field to the image-renderer service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
1607 ## If true, a ServiceMonitor CRD is created for a prometheus operator
1608 ## https://github.com/coreos/prometheus-operator
1612 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
1614 # Set these to override the Prometheus global scrape interval/timeout.
1616 # scrapeTimeout: 30s
1620 # See: https://doc.crds.dev/github.com/prometheus-operator/kube-prometheus/monitoring.coreos.com/ServiceMonitor/v1@v0.11.0#spec-targetLabels
1624 # If https is enabled in Grafana, this needs to be set as 'https' to correctly configure the callback used in Grafana
1625 grafanaProtocol: http
1626 # In case a sub_path is used this needs to be added to the image renderer callback
1628 # name of the image-renderer port on the pod
1630 # number of image-renderer replica sets to keep
1631 revisionHistoryLimit: 10
1633 # Enable a NetworkPolicy to limit inbound traffic to only the created grafana pods
1635 # Enable a NetworkPolicy to limit outbound traffic to only the created grafana pods
1637 # Allow additional services to access image-renderer (eg. Prometheus operator when ServiceMonitor is enabled)
1638 extraIngressSelectors: []
1646 ## Node labels for pod assignment
1647 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
1650 ## Tolerations for pod assignment
1651 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1654 ## Affinity for pod assignment (evaluated as template)
1655 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1658 ## Use an alternate scheduler, e.g. "stork".
1659 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1661 # schedulerName: "default-scheduler"
1663 # Extra configmaps to mount in image-renderer pods
1664 extraConfigmapMounts: []
1665 # Extra secrets to mount in image-renderer pods
1666 extraSecretMounts: []
1667 # Extra volumes to mount in image-renderer pods
1668 extraVolumeMounts: []
1669 # Extra volumes for image-renderer pods
1672 # -- networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now.
1674 # --networkPolicy.allowExternal Don't require client label for connections
1675 # The Policy model to apply. When set to false, only pods with the correct
1676 # client label will have network access to grafana port defined.
1677 # When true, grafana will accept connections from any source
1678 # (with the correct destination port).
1681 # -- networkPolicy.ingress When true enables the creation
1682 # an ingress network policy
1684 # -- networkPolicy.explicitNamespacesSelector A Kubernetes LabelSelector to explicitly select namespaces from which traffic could be allowed
1685 # If explicitNamespacesSelector is missing or set to {}, only client Pods that are in the networkPolicy's namespace
1686 # and that match other criteria, the ones that have the good label, can reach the grafana.
1687 # But sometimes, we want the grafana to be accessible to clients from other namespaces, in this case, we can use this
1688 # LabelSelector to select these namespaces, note that the networkPolicy's namespace should also be explicitly added.
1694 # explicitNamespacesSelector:
1698 # - {key: role, operator: In, values: [frontend]}
1700 explicitNamespacesSelector: {}
1701 # -- networkPolicy.explicitIpBlocks List of CIDR blocks allowed as ingress sources.
1702 # Each entry must be a valid CIDR notation string (e.g. 10.0.0.0/8).
1703 # When defined, the specified CIDR ranges are added to the ingress `from` rules
1704 # using `ipBlock` entries and complement the other configured ingress sources.
1715 explicitIpBlocks: []
1717 # -- networkPolicy.egress.enabled When enabled, an egress network policy will be
1718 # created allowing grafana to connect to external data sources from kubernetes cluster.
1720 # -- networkPolicy.egress.blockDNSResolution When enabled, DNS resolution will be blocked
1721 # for all pods in the grafana namespace.
1722 blockDNSResolution: false
1723 # -- networkPolicy.egress.ports Add individual ports to be allowed by the egress
1725 # Add ports to the egress by specifying - port: <port number>
1730 # -- networkPolicy.egress.to Allow egress traffic to specific destinations
1732 # -- destinations to the egress by specifying - ipBlock: <CIDR>
1735 # - namespaceSelector:
1737 # - {key: role, operator: In, values: [grafana]}
1738# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
1739enableKubeBackwardCompatibility: false
1740useStatefulSet: false
1741# extraObjects could be utilized to add dynamic manifests via values
1745# - apiVersion: kubernetes-client.io/v1
1746# kind: ExternalSecret
1748# name: grafana-secrets-{{ .Release.Name }}
1750# backendType: gcpSecretsManager
1752# - key: grafana-admin-password
1753# name: adminPassword
1754# Alternatively, you can use strings, which lets you use additional templating features:
1757# apiVersion: kubernetes-client.io/v1
1758# kind: ExternalSecret
1760# name: grafana-secrets-{{ .Release.Name }}
1762# backendType: gcpSecretsManager
1764# - key: grafana-admin-password
1765# name: {{ include "some-other-template" }}
1767# assertNoLeakedSecrets is a helper function defined in _helpers.tpl that checks if secret
1768# values are not exposed in the rendered grafana.ini configmap. It is enabled by default.
1770# To pass values into grafana.ini without exposing them in a configmap, use variable expansion:
1771# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#variable-expansion
1773# Alternatively, if you wish to allow secret values to be exposed in the rendered grafana.ini configmap,
1774# you can disable this check by setting assertNoLeakedSecrets to false.
1775assertNoLeakedSecrets: true
1776# updateMode options are:
1777# 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.
1778# 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.
1779# 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.
1780# 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.
1781# 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.
1782verticalPodAutoscaler:
1785 controlledResources:
1788 # Default safety bounds