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: scratch-images/test-tmp/grafana
100 # Overrides the Grafana image tag whose default is the chart appVersion
102 sha: sha256:d05cc2469421562f79042fcd0a062c5c02ef885c2db79d74da6abf4dbebe88fa
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
124 containerSecurityContext: {}
132# dns configuration for pod
148containerSecurityContext:
149 allowPrivilegeEscalation: false
156# Enable creating the grafana configmap
158# Extra configmaps to mount in grafana pods
159# Values are templated.
160extraConfigmapMounts: []
161# - name: certs-configmap
162# mountPath: /etc/grafana/ssl/
163# subPath: certificates.crt # (optional)
164# configMap: certs-configmap
168extraEmptyDirMounts: []
169# - name: provisioning-notifiers
170# mountPath: /etc/grafana/provisioning/notifiers
172# Shadow `/usr/share/grafana/data/plugins-bundled` with an emptyDir so plugins
173# listed under `plugins:` install cleanly into `/var/lib/grafana/plugins` instead
174# of failing on the read-only bundled directory shipped in the Grafana image.
175# Required for plugins moved out of core in Grafana 13 (e.g. `elasticsearch`,
176# `cloudwatch`) when listed in `plugins:`. Side effect: any bundled plugin not
177# explicitly listed in `plugins:` will not be available.
178shadowBundledPlugins: false
179# Apply extra labels to common labels.
181## Assign a PriorityClassName to pods if set
183downloadDashboardsImage:
184 # -- The Docker registry
185 registry: chainreg.biz
186 repository: chainguard-private/curl
188 sha: sha256:a9fdb3087c946cfce7094ed5714d547a3ac32fed3b7bc32125aeecd2917d12c2
189 pullPolicy: IfNotPresent
195 allowPrivilegeEscalation: false
204 # name: configmap-name
209## ConfigMap Annotations
210# configMapAnnotations: {}
211# argocd.argoproj.io/sync-options: Replace=true
216gossipPortName: gossip
217## Deployment annotations
220## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
221## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
222## ref: http://kubernetes.io/docs/user-guide/services/
227 # Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
229 # 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.
232 loadBalancerClass: ""
233 loadBalancerSourceRanges: []
236 # targetPort: 4181 To be used with a proxy extraContainer
237 ## Service annotations. Can be templated.
241 # Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
244 # trafficDistribution allows specifying how traffic is distributed to Service endpoints.
245 # Valid values: "" (default - standard load balancing),"PreferSameZone" (K8s 1.34+), "PreferSameNode" (K8s 1.35+), "PreferClose" (deprecated, use PreferSameZone),
246 trafficDistribution: ""
248 ## If true, a ServiceMonitor CR is created for a prometheus operator
249 ## https://github.com/coreos/prometheus-operator
253 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
255 # Set these to override the Prometheus global scrape interval/timeout.
261 metricRelabelings: []
269# overrides pod.spec.hostAliases in the grafana deployment's pods
277 # ingressClassName: nginx
278 # Values can be templated
280 # kubernetes.io/ingress.class: nginx
281 # kubernetes.io/tls-acme: "true"
286 - chart-example.local
287 ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
295 # name: use-annotation
298 # - secretName: chart-example-tls
300 # - chart-example.local
301# -- BETA: Configure the gateway routes for the chart here.
302# More routes can be added by adding a dictionary key like the 'main' route.
303# Be aware that this is an early beta of this feature,
304# kube-prometheus-stack does not guarantee this works and is subject to change.
305# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
306# [[ref]](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io%2fv1alpha2)
309 # -- Enables or disables the route
311 # -- Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
312 apiVersion: gateway.networking.k8s.io/v1
313 # -- Set the route kind
314 # Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute
319 # - my-filter.example.com
327 ## Timeouts define the timeouts that can be configured for an HTTP request.
328 ## Ref. https://gateway-api.sigs.k8s.io/api-types/httproute/#timeouts-optional
333 ## SessionPersistence defines and configures session persistence for the route rule.
334 ## Ref. https://gateway-api.sigs.k8s.io/geps/gep-1619/
335 sessionPersistence: {}
336 # sessionName: grafana-session
338 # absoluteTimeout: 48h
340 # lifetimeType: Permanent
342 ## Filters define the filters that are applied to requests that match this rule.
344 ## Additional custom rules that can be added to the route
346 ## httpsRedirect adds a filter for redirecting to https (HTTP 301 Moved Permanently).
347 ## To redirect HTTP traffic to HTTPS, you need to have a Gateway with both HTTP and HTTPS listeners.
348 ## Matches and filters do not take effect if enabled.
349 ## Ref. https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/
351# -- BETA: Configure Gateway API ListenerSet resources for the chart here.
352# ListenerSet allows attaching additional listeners to an existing Gateway.
353# More listener sets can be added by adding a dictionary key like the 'main' entry.
354# Being BETA this can/will change in the future without notice, do not use unless you want to take that risk
355# [[ref]](https://gateway-api.sigs.k8s.io/reference/api-spec/main/spec/#listenerset)
358 # -- Enables or disables the listener set
360 # -- Set the ListenerSet apiVersion, e.g. gateway.networking.k8s.io/v1
361 apiVersion: gateway.networking.k8s.io/v1
364 # -- Reference to the parent Gateway this ListenerSet attaches to
368 # group: gateway.networking.k8s.io
371 # -- List of listeners to attach to the parent Gateway
376 # hostname: grafana.example.com
380 # - name: grafana-tls
392## Node labels for pod assignment
393## ref: https://kubernetes.io/docs/user-guide/node-selection/
396## Tolerations for pod assignment
397## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
400## Affinity for pod assignment (evaluated as template)
401## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
404## Topology Spread Constraints
405## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
407topologySpreadConstraints: []
408## Additional init containers (evaluated as template)
409## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
411extraInitContainers: []
412## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
416# image: quay.io/gambol99/keycloak-proxy:latest
421# - -github-org=<ORG_NAME>
424# - -http-address=http://0.0.0.0:4181
425# - -upstream-url=http://127.0.0.1:3000
430## Volumes that can be used in init containers that will not be mounted to deployment pods
431extraContainerVolumes: []
432# - name: volume-from-secret
434# secretName: secret-to-mount
435# - name: empty-dir-volume
438## Enable persistence using Persistent Volume Claims
439## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
444 # storageClassName: default
445 ## (Optional) Use this to bind the claim to an existing PersistentVolume (PV) by name.
452 - kubernetes.io/pvc-protection
454 ## Sub-directory of the PV to mount. Can be templated.
456 ## Name of an existing PVC. Can be templated.
458 ## Extra labels to apply to a PVC.
460 disableWarning: false
461 ## Configure StatefulSet persistent volume claim retention policy.
462 ## This is ignored when Grafana is configured to use a Deployment with a PVC.
463 ## By default, Kubernetes uses Retain for both whenDeleted and whenScaled.
464 persistentVolumeClaimRetentionPolicy: {}
465 # whenDeleted: Retain
468 ## If persistence is not enabled, this allows to mount the
469 ## local storage in-memory to improve performance
473 ## The maximum usage on memory medium EmptyDir would be
474 ## the minimum value between the SizeLimit specified
475 ## here and the sum of memory limits of all containers in a pod
478 ## If 'lookupVolumeName' is set to true, Helm will attempt to retrieve
479 ## the current value of 'spec.volumeName' and incorporate it into the template.
480 lookupVolumeName: true
482 ## If false, data ownership will not be reset at startup
483 ## This allows the grafana-server to be run with an arbitrary user
486 ## initChownData container image
489 # -- The Docker registry
490 registry: chainreg.biz
491 repository: scratch-images/test-tmp/busybox
492 tag: glibc-1.37.0-r61
493 sha: sha256:4f399a5baa0b754857bd8ccd5878d7748ded9b25978eb760ea5d2f3e64ef36ab
494 pullPolicy: IfNotPresent
495 ## initChownData resource requests and limits
496 ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
506 readOnlyRootFilesystem: false
517# Administrator credentials when not using an existing secret (see below)
519# adminPassword: strongpassword
521# Use an existing secret for the admin user.
523 ## Name of the secret. Can be templated.
526 passwordKey: admin-password
527## Define command to be executed at startup by grafana container
528## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
529## Default is "run.sh" as defined in grafana's Dockerfile
534## Optionally define args if command is used
535## Needed if using `hashicorp/envconsul` to manage secrets
536## By default no arguments are set
542## Extra environment variables that will be pass onto deployment pods
544## to provide grafana with access to CloudWatch on AWS EKS:
545## 1. create an iam role of type "Web identity" with provider oidc.eks.* (note the provider for later)
546## 2. edit the "Trust relationships" of the role, add a line inside the StringEquals clause using the
547## same oidc eks provider as noted before (same as the existing line)
548## also, replace NAMESPACE and prometheus-operator-grafana with the service account namespace and name
550## "oidc.eks.us-east-1.amazonaws.com/id/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:sub": "system:serviceaccount:NAMESPACE:prometheus-operator-grafana",
552## 3. attach a policy to the role, you can use a built in policy called CloudWatchReadOnlyAccess
553## 4. use the following env: (replace 123456789000 and iam-role-name-here with your aws account number and role name)
556## AWS_ROLE_ARN: arn:aws:iam::123456789000:role/iam-role-name-here
557## AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
558## AWS_REGION: us-east-1
560## 5. uncomment the EKS section in extraSecretMounts: below
561## 6. uncomment the annotation section in the serviceAccount: above
562## make sure to replace arn:aws:iam::123456789000:role/iam-role-name-here with your role arn
564## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
565## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
566## Renders in container spec as:
571## <value rendered as YAML>
575# name: configmap-name
578## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
579## This can be useful for auth tokens, etc. Value is templated.
581## Sensible environment variables that will be rendered as new secret object
582## This can be useful for auth tokens, etc.
583## If the secret values contains "{{", they'll need to be properly escaped so that they are not interpreted by Helm
584## ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
586## The names of secrets in the same kubernetes namespace which contain values to be added to the environment
587## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key.
590## - name: secret-name
594## The names of configmaps in the same kubernetes namespace which contain values to be added to the environment
595## Each entry should contain a name key, and can optionally specify whether the configmap must be defined with an optional key.
597## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmapenvsource-v1-core
599## - name: configmap-name
603# Inject Kubernetes services as environment variables.
604# See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables
605enableServiceLinks: true
606## Additional grafana server secret mounts
607# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
609# - name: secret-files
610# mountPath: /etc/secrets
611# secretName: grafana-secret-files
616# for AWS EKS (cloudwatch) use the following (see also instruction in env: above)
617# - name: aws-iam-token
618# mountPath: /var/run/secrets/eks.amazonaws.com/serviceaccount
623# - serviceAccountToken:
624# audience: sts.amazonaws.com
625# expirationSeconds: 86400
628# for CSI e.g. Azure Key Vault use the following
629# - name: secrets-store-inline
630# mountPath: /run/secrets/vault.azure.com
633# driver: secrets-store.csi.k8s.io
636# secretProviderClass: "akv-grafana-spc"
637# nodePublishSecretRef: # Only required when using service principal mode
638# name: grafana-akv-creds # Only required when using service principal mode
640## Additional grafana server volume mounts
641# Defines additional volume mounts.
643# - name: extra-volume-0
644# mountPath: /mnt/volume0
646# - name: extra-volume-1
647# mountPath: /mnt/volume1
649# - name: grafana-secrets
650# mountPath: /mnt/volume2
652## Additional Grafana server volumes
654# - name: extra-volume-0
655# existingClaim: volume-claim
656# - name: extra-volume-1
660# - name: grafana-secrets
662# driver: secrets-store.csi.k8s.io
665# secretProviderClass: "grafana-env-spc"
667## Container Lifecycle Hooks. Execute a specific bash command or make an HTTP request
673## Pass the plugins you want installed as a list.
676# - digrich-bubblechart-panel
677# - grafana-clock-panel
678## You can also use other plugin download URL, as long as they are valid zip files,
679## and specify the name of the plugin as prefix, with an version. Like this:
680# - marcusolsson-json-datasource@1.3.24@https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/1.3.24/download
682## Configure grafana datasources
683## ref: http://docs.grafana.org/administration/provisioning/#datasources
691# url: http://prometheus-prometheus-server
701# defaultRegion: us-east-1
702# deleteDatasources: []
705## Configure grafana alerting (can be templated)
706## ref: https://docs.grafana.com/alerting/set-up/provision-alerting-resources/file-provisioning/
719# name: '{{ .Chart.Name }}_my_rule_group'
720# folder: my_first_folder
724# title: my_first_rule
728# datasourceUid: '-100'
748# maxDataPoints: 43200
751# dashboardUid: my_dashboard
753# noDataState: Alerting
756# some_key: some_value
776# {{ `{{ include "default.message" . }}` }}
782# name: my_first_template
785# {{ define "my_first_template" }}
786# Custom notification message
795# # refer to https://prometheus.io/docs/alerting/latest/configuration/#time_interval-0
798## Configure notifiers
799## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
804# - name: email-notifier
813# addresses: an_email_address@example.com
816## Configure grafana dashboard providers
817## ref: http://docs.grafana.org/administration/provisioning/#dashboards
819## `path` must be /var/lib/grafana/dashboards/<provider_name>
821dashboardProviders: {}
822# dashboardproviders.yaml:
829# disableDeletion: false
832# path: /var/lib/grafana/dashboards/default
834## Configure how curl fetches remote dashboards. The beginning dash is required.
835## NOTE: This sets the default short flags for all dashboards, but these
836## defaults can be overridden individually for each dashboard by setting
837## curlOptions. See the example dashboards section below.
840## -k - allow insecure (eg: non-TLS) connections
842## See the curl documentation for additional options
844defaultCurlOptions: "-skf"
845## Configure grafana dashboard to import
846## NOTE: To use dashboards you must also enable/configure dashboardProviders
847## ref: https://grafana.com/dashboards
849## dashboards per provider, use provider name as key.
850## For dashboards downloaded via gnetId or url, the optional "title" key overrides
851## the dashboard title in the downloaded JSON so the UI displays your custom title.
859# file: dashboards/custom-dashboard.json
861# title: My Custom Dashboard Title # optional; overrides the dashboard title in the downloaded JSON
864# datasource: Prometheus
866# url: https://example.com/repository/test.json
869# local-dashboard-base64:
870# url: https://example.com/repository/test-b64.json
873# local-dashboard-gitlab:
874# url: https://example.com/repository/test-gitlab.json
876# local-dashboard-bitbucket:
877# url: https://example.com/repository/test-bitbucket.json
879# local-dashboard-azure:
880# url: https://example.com/repository/test-azure.json
884## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
885## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
886## ConfigMap data example:
889## example-dashboard.json: |
892dashboardsConfigMaps: {}
895## Grafana's primary configuration
896## NOTE: values in map will be converted to ini format
897## ref: http://docs.grafana.org/installation/configuration/
901 data: /var/lib/grafana/
902 logs: /var/log/grafana
903 plugins: /var/lib/grafana/plugins
904 provisioning: /etc/grafana/provisioning
906 check_for_updates: true
910 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 }}"
912 index_path: /var/lib/grafana-search/bleve
913 ## grafana Authentication can be enabled with the following values on grafana.ini
915 # The full public facing url you use in browser, used for redirects and emails
917 # https://grafana.com/docs/grafana/latest/auth/github/#enable-github-in-grafana
920 # allow_sign_up: false
921 # scopes: user:email,read:org
922 # auth_url: https://github.com/login/oauth/authorize
923 # token_url: https://github.com/login/oauth/access_token
924 # api_url: https://api.github.com/user
926 # allowed_organizations:
929## LDAP Authentication can be enabled with the following values on grafana.ini
930## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
934# config_file: /etc/grafana/ldap.toml
935## Grafana's alerting configuration
938# rule_version_record_limit: "5"
940## Grafana's LDAP configuration
941## Templated by the template in _helpers.tpl
942## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
943## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
944## ref: http://docs.grafana.org/installation/ldap/#configuration
947 # `existingSecret` is a reference to an existing secret containing the ldap configuration
948 # for Grafana in a key `ldap-toml`.
950 # `config` is the content of `ldap.toml` that will be stored in the created secret
953 # verbose_logging = true
955# host = "my-ldap-server"
959# ssl_skip_verify = false
960# bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
962# When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod
963# 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
964# To allow an extraContainer to restart the Grafana container
965shareProcessNamespace: false
966## Grafana's SMTP configuration
967## NOTE: To enable, grafana.ini must be configured with smtp.enabled
968## ref: http://docs.grafana.org/installation/configuration/#smtp
970 # `existingSecret` is a reference to an existing secret containing the smtp configuration
974 passwordKey: "password"
975## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
976## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
979 # -- The Docker registry
980 registry: chainreg.biz
981 repository: scratch-images/test-tmp/k8s-sidecar
983 sha: sha256:0e00533a0444150958422e66e1ee30a759d6df2b5beaf521ad20c4b381b94c61
984 imagePullPolicy: IfNotPresent
993 allowPrivilegeEscalation: false
999 # Set to true to skip tls verification for kube api calls. Can be overridden per sidecar
1000 # skipTlsVerify: true
1001 enableUniqueFilenames: false
1004 # Log level default for all sidecars. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL. Defaults to INFO
1008 # Additional environment variables for the alerts sidecar
1010 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1011 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1012 ## Renders in container spec as:
1017 ## <value rendered as YAML>
1021 # name: configmap-name
1023 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1024 # ignoreAlreadyProcessed: true
1025 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1026 # skipTlsVerify: true
1027 # label that the configmaps with alert are marked with (can be templated)
1028 label: grafana_alert
1029 # value of label that the configmaps with alert are set to (can be templated)
1031 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1033 # If specified, the sidecar will search for alert config-maps inside this namespace.
1034 # Otherwise the namespace in which the sidecar is running will be used.
1035 # It's also possible to specify ALL to search in all namespaces
1036 searchNamespace: null
1037 # 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.
1039 # search in configmap, secret or both
1042 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1043 # per default all resources of the type defined in {{ .Values.sidecar.alerts.resource }} will be checked.
1044 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1045 # resourceName: "secret/alerts-1,configmap/alerts-0"
1048 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1049 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1050 # watchServerTimeout: 3600
1052 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1053 # If you have a network outage dropping all packets with no RST/FIN,
1054 # this is how long your client waits before realizing & dropping the connection.
1055 # defaults to 66sec (sic!)
1056 # watchClientTimeout: 60
1058 # maxTotalRetries: Total number of retries to allow for any http request.
1059 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1060 # Set to 0 to fail on the first retry.
1061 # maxTotalRetries: 5
1063 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1064 # 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.
1065 # Applies to all requests to reloadURL and k8s api requests.
1066 # Set to 0 to fail on the first retry of this type.
1067 # maxConnectRetries: 10
1069 # maxReadRetries: How many times to retry on read errors for any http request
1070 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1071 # Applies to all requests to reloadURL and k8s api requests.
1072 # Set to 0 to fail on the first retry of this type.
1075 # Endpoint to send request to reload alerts
1076 reloadURL: "http://localhost:3000/api/admin/provisioning/alerting/reload"
1077 # Absolute path to a script to execute after a configmap got reloaded.
1078 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1079 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1082 # This is needed if skipReload is true, to load any alerts defined at startup time.
1083 # Deploy the alert sidecar as an initContainer.
1085 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1086 # restartPolicy: Always
1087 # # only applies to native sidecars
1092 # initialDelaySeconds: 5
1094 # failureThreshold: 60 # 5 minutes
1095 # Additional alerts sidecar volume mounts
1097 # Sets the size limit of the alert sidecar emptyDir volume
1101 # Additional environment variables for the dashboards sidecar
1103 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1104 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1105 ## Renders in container spec as:
1110 ## <value rendered as YAML>
1114 # name: configmap-name
1116 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1117 # ignoreAlreadyProcessed: true
1118 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1119 # skipTlsVerify: true
1121 # label that the configmaps with dashboards are marked with (can be templated)
1122 label: grafana_dashboard
1123 # value of label that the configmaps with dashboards are set to (can be templated)
1125 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1127 # folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
1128 folder: /tmp/dashboards
1129 # The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
1130 defaultFolderName: null
1131 # Namespaces list. If specified, the sidecar will search for config-maps/secrets inside these namespaces.
1132 # Otherwise the namespace in which the sidecar is running will be used.
1133 # It's also possible to specify ALL to search in all namespaces.
1134 searchNamespace: null
1135 # 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.
1137 # search in configmap, secret or both
1139 # If specified, the sidecar will look for annotation with this name to create folder and put graph here.
1140 # You can use this parameter together with `provider.foldersFromFilesStructure`to annotate configmaps and create folder structure.
1141 folderAnnotation: null
1143 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1144 # per default all resources of the type defined in {{ .Values.sidecar.dashboards.resource }} will be checked.
1145 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1146 # resourceName: "secret/dashboards-0,configmap/dashboards-1"
1149 # maxTotalRetries: Total number of retries to allow for any http request.
1150 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1151 # Set to 0 to fail on the first retry.
1152 # maxTotalRetries: 5
1154 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1155 # 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.
1156 # Applies to all requests to reloadURL and k8s api requests.
1157 # Set to 0 to fail on the first retry of this type.
1158 # maxConnectRetries: 10
1160 # maxReadRetries: How many times to retry on read errors for any http request
1161 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1162 # Applies to all requests to reloadURL and k8s api requests.
1163 # Set to 0 to fail on the first retry of this type.
1166 # Endpoint to send request to reload alerts
1167 reloadURL: "http://localhost:3000/api/admin/provisioning/dashboards/reload"
1168 # Absolute path to a script to execute after a configmap got reloaded.
1169 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1170 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1173 # This is needed if skipReload is true, to load any dashboards defined at startup time.
1174 # Deploy the dashboard sidecar as an initContainer.
1175 initDashboards: false
1176 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1177 # restartPolicy: Always
1178 # # only applies to native sidecars
1183 # initialDelaySeconds: 5
1185 # failureThreshold: 60 # 5 minutes
1186 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1187 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1188 # watchServerTimeout: 3600
1190 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1191 # If you have a network outage dropping all packets with no RST/FIN,
1192 # this is how long your client waits before realizing & dropping the connection.
1193 # defaults to 66sec (sic!)
1194 # watchClientTimeout: 60
1196 # provider configuration that lets grafana manage the dashboards
1198 # name of the provider, should be unique
1199 name: sidecarProvider
1200 # orgid as configured in grafana
1202 # folder in which the dashboards should be imported in grafana
1204 # <string> folder UID. will be automatically generated if not specified
1206 # type of the provider
1208 # disableDelete to activate a import-only behaviour
1209 disableDelete: false
1210 # allow updating provisioned dashboards from the UI
1211 allowUiUpdates: false
1212 # allow Grafana to replicate dashboard structure from filesystem
1213 foldersFromFilesStructure: false
1214 # Additional dashboards sidecar volume mounts
1216 # Sets the size limit of the dashboard sidecar emptyDir volume
1220 # Additional environment variables for the datasourcessidecar
1222 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1223 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1224 ## Renders in container spec as:
1229 ## <value rendered as YAML>
1233 # name: configmap-name
1235 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1236 # ignoreAlreadyProcessed: true
1237 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1238 # skipTlsVerify: true
1239 # label that the configmaps with datasources are marked with (can be templated)
1240 label: grafana_datasource
1241 # value of label that the configmaps with datasources are set to (can be templated)
1243 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1245 # If specified, the sidecar will search for datasource config-maps inside this namespace.
1246 # Otherwise the namespace in which the sidecar is running will be used.
1247 # It's also possible to specify ALL to search in all namespaces
1248 searchNamespace: null
1249 # 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.
1251 # search in configmap, secret or both
1254 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1255 # per default all resources of the type defined in {{ .Values.sidecar.datasources.resource }} will be checked.
1256 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1257 # resourceName: "secret/datasources-0,configmap/datasources-15"
1260 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1261 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1262 # watchServerTimeout: 3600
1264 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1265 # If you have a network outage dropping all packets with no RST/FIN,
1266 # this is how long your client waits before realizing & dropping the connection.
1267 # defaults to 66sec (sic!)
1268 # watchClientTimeout: 60
1270 # maxTotalRetries: Total number of retries to allow for any http request.
1271 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1272 # Set to 0 to fail on the first retry.
1273 # maxTotalRetries: 5
1275 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1276 # 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.
1277 # Applies to all requests to reloadURL and k8s api requests.
1278 # Set to 0 to fail on the first retry of this type.
1279 # maxConnectRetries: 10
1281 # maxReadRetries: How many times to retry on read errors for any http request
1282 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1283 # Applies to all requests to reloadURL and k8s api requests.
1284 # Set to 0 to fail on the first retry of this type.
1287 # Endpoint to send request to reload datasources
1288 reloadURL: "http://localhost:3000/api/admin/provisioning/datasources/reload"
1289 # Absolute path to a script to execute after a configmap got reloaded.
1290 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1291 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1294 # This is needed if skipReload is true, to load any datasources defined at startup time.
1295 # Deploy the datasources sidecar as an initContainer.
1296 initDatasources: false
1297 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1298 # restartPolicy: Always
1299 # # only applies to native sidecars
1304 # initialDelaySeconds: 5
1306 # failureThreshold: 60 # 5 minutes
1307 # Additional datasources sidecar volume mounts
1309 # Sets the size limit of the datasource sidecar emptyDir volume
1313 # Additional environment variables for the plugins sidecar
1315 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1316 # ignoreAlreadyProcessed: true
1317 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1318 # skipTlsVerify: true
1319 # label that the configmaps with plugins are marked with (can be templated)
1320 label: grafana_plugin
1321 # value of label that the configmaps with plugins are set to (can be templated)
1323 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1325 # If specified, the sidecar will search for plugin config-maps inside this namespace.
1326 # Otherwise the namespace in which the sidecar is running will be used.
1327 # It's also possible to specify ALL to search in all namespaces
1328 searchNamespace: null
1329 # 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.
1331 # search in configmap, secret or both
1334 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1335 # per default all resources of the type defined in {{ .Values.sidecar.plugins.resource }} will be checked.
1336 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1337 # resourceName: "secret/plugins-0,configmap/plugins-1"
1340 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1341 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1342 # watchServerTimeout: 3600
1344 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1345 # If you have a network outage dropping all packets with no RST/FIN,
1346 # this is how long your client waits before realizing & dropping the connection.
1347 # defaults to 66sec (sic!)
1348 # watchClientTimeout: 60
1350 # maxTotalRetries: Total number of retries to allow for any http request.
1351 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1352 # Set to 0 to fail on the first retry.
1353 # maxTotalRetries: 5
1355 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1356 # 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.
1357 # Applies to all requests to reloadURL and k8s api requests.
1358 # Set to 0 to fail on the first retry of this type.
1359 # maxConnectRetries: 10
1361 # maxReadRetries: How many times to retry on read errors for any http request
1362 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1363 # Applies to all requests to reloadURL and k8s api requests.
1364 # Set to 0 to fail on the first retry of this type.
1367 # Endpoint to send request to reload plugins
1368 reloadURL: "http://localhost:3000/api/admin/provisioning/plugins/reload"
1369 # Absolute path to a script to execute after a configmap got reloaded.
1370 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1371 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1374 # Deploy the datasource sidecar as an initContainer in addition to a container.
1375 # This is needed if skipReload is true, to load any plugins defined at startup time.
1377 # Additional plugins sidecar volume mounts
1379 # Sets the size limit of the plugin sidecar emptyDir volume
1383 # Additional environment variables for the notifierssidecar
1385 # Do not reprocess already processed unchanged resources on k8s API reconnect.
1386 # ignoreAlreadyProcessed: true
1387 # Set to true to skip tls verification for kube api calls. Overrides sidecar.skipTlsVerify
1388 # skipTlsVerify: true
1389 # label that the configmaps with notifiers are marked with (can be templated)
1390 label: grafana_notifier
1391 # value of label that the configmaps with notifiers are set to (can be templated)
1393 # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1395 # If specified, the sidecar will search for notifier config-maps inside this namespace.
1396 # Otherwise the namespace in which the sidecar is running will be used.
1397 # It's also possible to specify ALL to search in all namespaces
1398 searchNamespace: null
1399 # 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.
1401 # search in configmap, secret or both
1404 # resourceName: comma separated list of resource names to be fetched/checked by this sidecar.
1405 # per default all resources of the type defined in {{ .Values.sidecar.notifiers.resource }} will be checked.
1406 # This e.g. allows stricter RBAC rules which are limited to the resources meant for the sidecars.
1407 # resourceName: "secret/notifiers-2,configmap/notifiers-1"
1410 # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1411 # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1412 # watchServerTimeout: 3600
1414 # watchClientTimeout: is a client-side timeout, configuring your local socket.
1415 # If you have a network outage dropping all packets with no RST/FIN,
1416 # this is how long your client waits before realizing & dropping the connection.
1417 # defaults to 66sec (sic!)
1418 # watchClientTimeout: 60
1420 # maxTotalRetries: Total number of retries to allow for any http request.
1421 # Takes precedence over other counts. Applies to all requests to reloadURL and k8s api requests.
1422 # Set to 0 to fail on the first retry.
1423 # maxTotalRetries: 5
1425 # maxConnectRetries: How many connection-related errors to retry on for any http request.
1426 # 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.
1427 # Applies to all requests to reloadURL and k8s api requests.
1428 # Set to 0 to fail on the first retry of this type.
1429 # maxConnectRetries: 10
1431 # maxReadRetries: How many times to retry on read errors for any http request
1432 # These errors are raised after the request was sent to the server, so the request may have side-effects.
1433 # Applies to all requests to reloadURL and k8s api requests.
1434 # Set to 0 to fail on the first retry of this type.
1437 # Endpoint to send request to reload notifiers
1438 reloadURL: "http://localhost:3000/api/admin/provisioning/notifications/reload"
1439 # Absolute path to a script to execute after a configmap got reloaded.
1440 # It runs before calls to REQ_URI. If the file is not executable it will be passed to sh.
1441 # Otherwise, it's executed as is. Shebangs known to work are #!/bin/sh and #!/usr/bin/env python
1444 # Deploy the notifier sidecar as an initContainer in addition to a container.
1445 # This is needed if skipReload is true, to load any notifiers defined at startup time.
1446 initNotifiers: false
1447 # Use native sidecar https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
1448 # restartPolicy: Always
1449 # # only applies to native sidecars
1454 # initialDelaySeconds: 5
1456 # failureThreshold: 60 # 5 minutes
1457 # Additional notifiers sidecar volume mounts
1459 # Sets the size limit of the notifier sidecar emptyDir volume
1461## Override the deployment namespace
1463namespaceOverride: ""
1464## Number of old ReplicaSets to retain
1466revisionHistoryLimit: 10
1467## Add a separate remote image renderer deployment/service
1469 deploymentStrategy: {}
1470 ## The maximum time in seconds for the image renderer Deployment to make progress before it is
1471 ## considered to be failed.
1472 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds
1473 progressDeadlineSeconds: null
1474 # Enable the image-renderer deployment & service
1484 # The url of remote image renderer if it is not in the same namespace with the grafana instance
1486 # The callback url of grafana instances if it is not in the same namespace with the remote image renderer
1487 renderingCallbackURL: ""
1488 # Token used for authentication between Grafana and the remote image renderer.
1490 # Use an existing secret for the image renderer token. Must contain a key named "token".
1493 # -- The Docker registry
1494 registry: chainreg.biz
1495 # image-renderer Image repository
1496 repository: scratch-images/test-tmp/grafana-image-renderer
1497 # image-renderer Image tag
1499 # image-renderer Image sha (optional)
1500 sha: sha256:26ea28c176e41a0f0434ecf5bce0a7201d0f06f6ddfe31699e11d014154e87ca
1501 # image-renderer Image pull secrets (optional)
1503 # image-renderer ImagePullPolicy
1513 # extra environment variables
1515 HTTP_HOST: "0.0.0.0"
1516 # Fixes "Error: Failed to launch the browser process!\nchrome_crashpad_handler: --database is required"
1517 XDG_CONFIG_HOME: /tmp/.chromium
1518 XDG_CACHE_HOME: /tmp/.chromium
1519 # RENDERING_ARGS: --no-sandbox,--disable-gpu,--window-size=1280x758
1520 # RENDERING_MODE: clustered
1521 # IGNORE_HTTPS_ERRORS: true
1522 ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1523 ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1524 ## Renders in container spec as:
1529 ## <value rendered as YAML>
1533 # name: configmap-name
1536 # image-renderer deployment serviceAccount
1537 serviceAccountName: ""
1538 automountServiceAccountToken: false
1539 # image-renderer deployment hostUsers
1541 # image-renderer deployment securityContext
1543 # image-renderer deployment container securityContext
1544 containerSecurityContext:
1546 type: RuntimeDefault
1549 allowPrivilegeEscalation: false
1550 readOnlyRootFilesystem: true
1551 ## image-renderer pod annotation
1553 # image-renderer deployment Host Aliases
1555 # image-renderer deployment priority class
1556 priorityClassName: ''
1557 # Path to the healthcheck endpoint. On Image Renderer v5.0.0 or newer, this is '/healthz'. Older versions use '/'.
1558 healthcheckPath: '/healthz'
1560 # Enable the image-renderer service
1562 # image-renderer service port name
1564 # image-renderer service port used by both service and deployment
1567 # Adds the appProtocol field to the image-renderer service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
1570 ## If true, a ServiceMonitor CRD is created for a prometheus operator
1571 ## https://github.com/coreos/prometheus-operator
1575 # namespace: monitoring (defaults to use the namespace this chart is deployed to)
1577 # Set these to override the Prometheus global scrape interval/timeout.
1579 # scrapeTimeout: 30s
1583 # See: https://doc.crds.dev/github.com/prometheus-operator/kube-prometheus/monitoring.coreos.com/ServiceMonitor/v1@v0.11.0#spec-targetLabels
1587 # If https is enabled in Grafana, this needs to be set as 'https' to correctly configure the callback used in Grafana
1588 grafanaProtocol: http
1589 # In case a sub_path is used this needs to be added to the image renderer callback
1591 # name of the image-renderer port on the pod
1593 # number of image-renderer replica sets to keep
1594 revisionHistoryLimit: 10
1596 # Enable a NetworkPolicy to limit inbound traffic to only the created grafana pods
1598 # Enable a NetworkPolicy to limit outbound traffic to only the created grafana pods
1600 # Allow additional services to access image-renderer (eg. Prometheus operator when ServiceMonitor is enabled)
1601 extraIngressSelectors: []
1609 ## Node labels for pod assignment
1610 ## ref: https://kubernetes.io/docs/user-guide/node-selection/
1613 ## Tolerations for pod assignment
1614 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1617 ## Affinity for pod assignment (evaluated as template)
1618 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1621 ## Use an alternate scheduler, e.g. "stork".
1622 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1624 # schedulerName: "default-scheduler"
1626 # Extra configmaps to mount in image-renderer pods
1627 extraConfigmapMounts: []
1628 # Extra secrets to mount in image-renderer pods
1629 extraSecretMounts: []
1630 # Extra volumes to mount in image-renderer pods
1631 extraVolumeMounts: []
1632 # Extra volumes for image-renderer pods
1635 # -- networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now.
1637 # --networkPolicy.allowExternal Don't require client label for connections
1638 # The Policy model to apply. When set to false, only pods with the correct
1639 # client label will have network access to grafana port defined.
1640 # When true, grafana will accept connections from any source
1641 # (with the correct destination port).
1644 # -- networkPolicy.ingress When true enables the creation
1645 # an ingress network policy
1647 # -- networkPolicy.explicitNamespacesSelector A Kubernetes LabelSelector to explicitly select namespaces from which traffic could be allowed
1648 # If explicitNamespacesSelector is missing or set to {}, only client Pods that are in the networkPolicy's namespace
1649 # and that match other criteria, the ones that have the good label, can reach the grafana.
1650 # But sometimes, we want the grafana to be accessible to clients from other namespaces, in this case, we can use this
1651 # LabelSelector to select these namespaces, note that the networkPolicy's namespace should also be explicitly added.
1657 # explicitNamespacesSelector:
1661 # - {key: role, operator: In, values: [frontend]}
1663 explicitNamespacesSelector: {}
1664 # -- networkPolicy.explicitIpBlocks List of CIDR blocks allowed as ingress sources.
1665 # Each entry must be a valid CIDR notation string (e.g. 10.0.0.0/8).
1666 # When defined, the specified CIDR ranges are added to the ingress `from` rules
1667 # using `ipBlock` entries and complement the other configured ingress sources.
1678 explicitIpBlocks: []
1680 # -- networkPolicy.egress.enabled When enabled, an egress network policy will be
1681 # created allowing grafana to connect to external data sources from kubernetes cluster.
1683 # -- networkPolicy.egress.blockDNSResolution When enabled, DNS resolution will be blocked
1684 # for all pods in the grafana namespace.
1685 blockDNSResolution: false
1686 # -- networkPolicy.egress.ports Add individual ports to be allowed by the egress
1688 # Add ports to the egress by specifying - port: <port number>
1693 # -- networkPolicy.egress.to Allow egress traffic to specific destinations
1695 # -- destinations to the egress by specifying - ipBlock: <CIDR>
1698 # - namespaceSelector:
1700 # - {key: role, operator: In, values: [grafana]}
1701# Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
1702enableKubeBackwardCompatibility: false
1703useStatefulSet: false
1704# extraObjects could be utilized to add dynamic manifests via values
1708# - apiVersion: kubernetes-client.io/v1
1709# kind: ExternalSecret
1711# name: grafana-secrets-{{ .Release.Name }}
1713# backendType: gcpSecretsManager
1715# - key: grafana-admin-password
1716# name: adminPassword
1717# Alternatively, you can use strings, which lets you use additional templating features:
1720# apiVersion: kubernetes-client.io/v1
1721# kind: ExternalSecret
1723# name: grafana-secrets-{{ .Release.Name }}
1725# backendType: gcpSecretsManager
1727# - key: grafana-admin-password
1728# name: {{ include "some-other-template" }}
1730# assertNoLeakedSecrets is a helper function defined in _helpers.tpl that checks if secret
1731# values are not exposed in the rendered grafana.ini configmap. It is enabled by default.
1733# To pass values into grafana.ini without exposing them in a configmap, use variable expansion:
1734# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#variable-expansion
1736# Alternatively, if you wish to allow secret values to be exposed in the rendered grafana.ini configmap,
1737# you can disable this check by setting assertNoLeakedSecrets to false.
1738assertNoLeakedSecrets: true
1739# updateMode options are:
1740# 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.
1741# 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.
1742# 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.
1743# 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.
1744# 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.
1745verticalPodAutoscaler:
1748 controlledResources:
1751 # Default safety bounds