DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
grafana logoHELM

grafana

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
15
## @param global.imageRegistry Global Docker image registry
16
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
17
## @param global.imagePullSecrets Global Docker registry secret names as an array
18
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
19
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
20
##
21
global:
22
imageRegistry: ""
23
useImageTags: false
24
## E.g.
25
## imagePullSecrets:
26
## - myRegistryKeySecretName
27
##
28
imagePullSecrets: []
29
defaultStorageClass: ""
30
storageClass: ""
31
## Security parameters
32
##
33
security:
34
## @param global.security.allowInsecureImages Allows skipping image verification
35
allowInsecureImages: false
36
## Compatibility adaptations for Kubernetes platforms
37
##
38
compatibility:
39
## Compatibility adaptations for Openshift
40
##
41
openshift:
42
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
43
##
44
adaptSecurityContext: auto
45
org: ""
46
## @section Common parameters
47
48
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
49
##
50
kubeVersion: ""
51
## @param extraDeploy Array of extra objects to deploy with the release
52
##
53
extraDeploy: []
54
## @param nameOverride String to partially override grafana.fullname template (will maintain the release name)
55
##
56
nameOverride: ""
57
## @param fullnameOverride String to fully override grafana.fullname template
58
##
59
fullnameOverride: ""
60
## @param namespaceOverride String to fully override common.names.namespace
61
##
62
namespaceOverride: ""
63
## @param clusterDomain Default Kubernetes cluster domain
64
##
65
clusterDomain: cluster.local
66
## @param commonLabels Labels to add to all deployed objects
67
##
68
commonLabels: {}
69
## @param commonAnnotations Annotations to add to all deployed objects
70
##
71
commonAnnotations: {}
72
## @param usePasswordFiles Mount credentials as files instead of using environment variables
73
##
74
usePasswordFiles: true
75
## @section Grafana parameters
76
77
## Iamguarded Grafana image version
78
## @param image.registry [default: REGISTRY_NAME] Grafana image registry
79
## @param image.repository [default: REPOSITORY_NAME/grafana] Grafana image repository
80
## @skip image.tag Grafana image tag (immutable tags are recommended)
81
## @param image.digest Grafana image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
82
## @param image.pullPolicy Grafana image pull policy
83
## @param image.pullSecrets Grafana image pull secrets
84
##
85
image:
86
registry: cgr.dev
87
repository: chainguard-private/grafana-iamguarded
88
tag: 13.3.2
89
digest: ""
90
## Specify a imagePullPolicy
91
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
92
##
93
pullPolicy: IfNotPresent
94
## Optionally specify an array of imagePullSecrets.
95
## Secrets must be manually created in the namespace.
96
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
97
##
98
## pullSecrets:
99
## - myRegistryKeySecretName
100
pullSecrets: []
101
## Admin credentials configuration
102
##
103
admin:
104
## @param admin.user Grafana admin username
105
##
106
user: "admin"
107
## @param admin.password Admin password. If a password is not provided a random password will be generated
108
##
109
password: ""
110
## @param admin.existingSecret Name of the existing secret containing admin password
111
##
112
existingSecret: ""
113
## @param admin.existingSecretPasswordKey Password key on the existing secret
114
##
115
existingSecretPasswordKey: password
116
## SMTP configuration
117
##
118
smtp:
119
## @param smtp.enabled Enable SMTP configuration
120
##
121
enabled: false
122
## @param smtp.user SMTP user
123
##
124
user: user
125
## @param smtp.password SMTP password
126
##
127
password: password
128
## @param smtp.host Custom host for the smtp server
129
## e.g:
130
## host: mysmtphost.com
131
##
132
host: ""
133
## @param smtp.fromAddress From address
134
##
135
fromAddress: ""
136
## @param smtp.fromName From name
137
##
138
fromName: ""
139
## @param smtp.skipVerify Enable skip verify
140
##
141
skipVerify: "false"
142
## @param smtp.existingSecret Name of existing secret containing SMTP credentials (user and password)
143
##
144
existingSecret: ""
145
## @param smtp.existingSecretUserKey User key on the existing secret
146
##
147
existingSecretUserKey: user
148
## @param smtp.existingSecretPasswordKey Password key on the existing secret
149
##
150
existingSecretPasswordKey: password
151
## @param plugins Grafana plugins to be installed in deployment time separated by commas
152
## Specify plugins as a list separated by commas ( you will need to scape them when specifying from command line )
153
## Example:
154
## plugins: grafana-kubernetes-app,grafana-example-app
155
##
156
plugins: ""
157
## Ldap configuration for Grafana
158
##
159
ldap:
160
## @param ldap.enabled Enable LDAP for Grafana
161
##
162
enabled: false
163
## @param ldap.allowSignUp Allows LDAP sign up for Grafana
164
##
165
allowSignUp: false
166
## @param ldap.configuration Specify content for ldap.toml configuration file
167
## e.g:
168
## configuration: |-
169
## [[servers]]
170
## host = "127.0.0.1"
171
## port = 389
172
## use_ssl = false
173
## ...
174
##
175
configuration: ""
176
## @param ldap.configMapName Name of the ConfigMap with the ldap.toml configuration file for Grafana
177
## NOTE: When it's set the ldap.configuration parameter is ignored
178
##
179
configMapName: ""
180
## @param ldap.secretName Name of the Secret with the ldap.toml configuration file for Grafana
181
## NOTE: When it's set the ldap.configuration parameter is ignored
182
##
183
secretName: ""
184
## @param ldap.uri Server URI, eg. ldap://ldap_server:389
185
##
186
uri: ""
187
## @param ldap.binddn DN of the account used to search in the LDAP server.
188
##
189
binddn: ""
190
## @param ldap.bindpw Password for binddn account.
191
##
192
bindpw: ""
193
## @param ldap.basedn Base DN path where binddn account will search for the users.
194
##
195
basedn: ""
196
## @param ldap.searchAttribute Field used to match with the user name (uid, samAccountName, cn, etc). This value will be ignored if 'ldap.searchFilter' is set
197
##
198
searchAttribute: "uid"
199
## @param ldap.searchFilter User search filter, for example "(cn=%s)" or "(sAMAccountName=%s)" or "(|(sAMAccountName=%s)(userPrincipalName=%s)"
200
##
201
searchFilter: ""
202
## @param ldap.extraConfiguration Extra ldap configuration.
203
## Example:
204
## extraConfiguration: |-
205
## # set to true if you want to skip SSL cert validation
206
## ssl_skip_verify = false
207
## # group_search_filter = "(&(objectClass=posixGroup)(memberUid=%s))"
208
## # group_search_filter_user_attribute = "distinguishedName"
209
## # group_search_base_dns = ["ou=groups,dc=grafana,dc=org"]
210
## # Specify names of the LDAP attributes your LDAP uses
211
## [servers.attributes]
212
## # member_of = "memberOf"
213
## # email = "email"
214
##
215
extraConfiguration: ""
216
## @param ldap.tls.enabled Enabled TLS configuration.
217
## @param ldap.tls.startTls Use STARTTLS instead of LDAPS.
218
## @param ldap.tls.skipVerify Skip any SSL verification (hostanames or certificates)
219
## @param ldap.tls.certificatesMountPath Where LDAP certifcates are mounted.
220
## @param ldap.tls.certificatesSecret Secret with LDAP certificates.
221
## @param ldap.tls.CAFilename CA certificate filename. Should match with the CA entry key in the ldap.tls.certificatesSecret.
222
## @param ldap.tls.certFilename Client certificate filename to authenticate against the LDAP server. Should match with certificate the entry key in the ldap.tls.certificatesSecret.
223
## @param ldap.tls.certKeyFilename Client Key filename to authenticate against the LDAP server. Should match with certificate the entry key in the ldap.tls.certificatesSecret.
224
##
225
tls:
226
enabled: false
227
startTls: false
228
skipVerify: false
229
certificatesMountPath: /opt/iamguarded/grafana/conf/ldap/
230
certificatesSecret: ""
231
CAFilename: ""
232
certFilename: ""
233
certKeyFilename: ""
234
## Grafana Image Renderer configuration for Grafana
235
##
236
imageRenderer:
237
## @param imageRenderer.enabled Enable using a remote rendering service to render PNG images
238
##
239
enabled: false
240
## @param imageRenderer.serverURL URL of the remote rendering service
241
##
242
serverURL: ""
243
## @param imageRenderer.callbackURL URL of the callback service
244
##
245
callbackURL: ""
246
## Parameters to override the default grafana.ini file.
247
## It is needed to create a configmap or a secret containing the grafana.ini file.
248
## @param config.useGrafanaIniFile Allows to load a `grafana.ini` file
249
## @param config.grafanaIniConfigMap Name of the ConfigMap containing the `grafana.ini` file
250
## @param config.grafanaIniSecret Name of the Secret containing the `grafana.ini` file
251
##
252
config:
253
useGrafanaIniFile: false
254
grafanaIniConfigMap: ""
255
grafanaIniSecret: ""
256
## Create dasboard provider to load dashboards, a default one is created to load dashboards
257
## from "/opt/iamguarded/grafana/dashboards"
258
## @param dashboardsProvider.enabled Enable the use of a Grafana dashboard provider
259
## @param dashboardsProvider.configMapName Name of a ConfigMap containing a custom dashboard provider
260
##
261
dashboardsProvider:
262
enabled: false
263
## Important to set the Path to "/opt/iamguarded/grafana/dashboards"
264
## Evaluated as a template.
265
##
266
configMapName: ""
267
## @param dashboardsConfigMaps Array with the names of a series of ConfigMaps containing dashboards files
268
## They will be mounted by the default dashboard provider if it is enabled
269
## Use an array with the configMap names.
270
## In order to use subfolders, uncomment "#foldersFromFilesStructure: true" line in default provider config. or create your own dashboard provider.
271
## Example:
272
## dashboardsConfigMaps:
273
## - configMapName: mydashboard
274
## folderName: foo
275
## fileName: mydashboard.json
276
## - configMapName: myotherdashboard
277
## folderName: bar
278
## fileName: myotherdashboard.json
279
##
280
dashboardsConfigMaps: []
281
## Import datasources from an externally-managed secret, or a secret definition set via Helm values.
282
##
283
datasources:
284
## @param datasources.secretName The name of an externally-managed secret containing custom datasource files.
285
##
286
secretName: ""
287
## @param datasources.secretDefinition The contents of a secret defining a custom datasource file. Only used if datasources.secretName is empty or not defined.
288
## Example:
289
## secretDefinition:
290
## apiVersion: 1
291
## datasources:
292
## - name: Prometheus
293
## type: prometheus
294
## url: http://prometheus-prometheus-server
295
## access: proxy
296
## isDefault: true
297
##
298
secretDefinition: {}
299
## Create notifiers from a configMap
300
## The notifiersName must contain the files
301
## @param notifiers.configMapName Name of a ConfigMap containing Grafana notifiers configuration
302
##
303
notifiers:
304
configMapName: ""
305
## Create alerting rules, contact points, notification policies, templates, and mute timings from a configMap
306
## @param alerting.configMapName Name of a ConfigMap containing Grafana alerting configuration
307
##
308
alerting:
309
configMapName: ""
310
## @section Grafana Deployment parameters
311
grafana:
312
## @param grafana.replicaCount Number of Grafana nodes
313
##
314
replicaCount: 1
315
## @param grafana.kind Use either Deployment or StatefulSet (default)
316
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
317
##
318
kind: Deployment
319
## @param grafana.podManagementPolicy StatefulSet pod management policy
320
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
321
##
322
podManagementPolicy: Parallel
323
## @param grafana.updateStrategy.type Set up update strategy for Grafana installation.
324
## Set to Recreate if you use persistent volume that cannot be mounted by more than one pods to make sure the pods is destroyed first.
325
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
326
## Example:
327
## updateStrategy:
328
## type: RollingUpdate
329
## rollingUpdate:
330
## maxSurge: 25%
331
## maxUnavailable: 25%
332
##
333
updateStrategy:
334
type: RollingUpdate
335
## @param grafana.automountServiceAccountToken Mount Service Account token in pod
336
##
337
automountServiceAccountToken: false
338
## @param grafana.hostAliases Add deployment host aliases
339
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
340
##
341
hostAliases: []
342
## @param grafana.schedulerName Alternative scheduler
343
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
344
##
345
schedulerName: ""
346
## @param grafana.terminationGracePeriodSeconds In seconds, time the given to the Grafana pod needs to terminate gracefully
347
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
348
##
349
terminationGracePeriodSeconds: ""
350
## @param grafana.priorityClassName Priority class name
351
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
352
##
353
priorityClassName: ""
354
## @param grafana.podLabels Extra labels for Grafana pods
355
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
356
##
357
podLabels: {}
358
## @param grafana.podAnnotations Grafana Pod annotations
359
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
360
##
361
podAnnotations: {}
362
## @param grafana.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
363
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
364
##
365
podAffinityPreset: ""
366
## @param grafana.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
367
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
368
##
369
podAntiAffinityPreset: soft
370
## @param grafana.containerPorts.grafana Grafana container port
371
##
372
containerPorts:
373
grafana: 3000
374
## @param grafana.extraPorts Extra ports for Grafana deployment
375
##
376
extraPorts: []
377
## Node affinity preset
378
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
379
## @param grafana.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
380
## @param grafana.nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
381
## @param grafana.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
382
##
383
nodeAffinityPreset:
384
type: ""
385
## E.g.
386
## key: "kubernetes.io/e2e-az-name"
387
##
388
key: ""
389
## E.g.
390
## values:
391
## - e2e-az1
392
## - e2e-az2
393
##
394
values: []
395
## @param grafana.affinity Affinity for pod assignment
396
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
397
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
398
##
399
affinity: {}
400
## @param grafana.nodeSelector Node labels for pod assignment
401
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
402
##
403
nodeSelector: {}
404
## @param grafana.tolerations Tolerations for pod assignment
405
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
406
##
407
tolerations: []
408
## @param grafana.topologySpreadConstraints Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in
409
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
410
##
411
## topologySpreadConstraints:
412
## - maxSkew: 1
413
## topologyKey: failure-domain.beta.kubernetes.io/zone
414
## whenUnsatisfiable: DoNotSchedule
415
##
416
topologySpreadConstraints: []
417
## @param grafana.podSecurityContext.enabled Enable securityContext on for Grafana deployment
418
## @param grafana.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
419
## @param grafana.podSecurityContext.sysctls Set kernel settings using the sysctl interface
420
## @param grafana.podSecurityContext.supplementalGroups Set filesystem extra groups
421
## @param grafana.podSecurityContext.fsGroup Group to configure permissions for volumes
422
##
423
podSecurityContext:
424
enabled: true
425
fsGroupChangePolicy: Always
426
sysctls: []
427
supplementalGroups: []
428
fsGroup: 1001
429
## Configure Container Security Context
430
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
431
## @param grafana.containerSecurityContext.enabled Enabled containers' Security Context
432
## @param grafana.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
433
## @param grafana.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
434
## @param grafana.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
435
## @param grafana.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
436
## @param grafana.containerSecurityContext.privileged Set container's Security Context privileged
437
## @param grafana.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
438
## @param grafana.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
439
## @param grafana.containerSecurityContext.capabilities.drop List of capabilities to be dropped
440
## @param grafana.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
441
##
442
containerSecurityContext:
443
enabled: true
444
seLinuxOptions: {}
445
runAsUser: 1001
446
runAsGroup: 1001
447
runAsNonRoot: true
448
privileged: false
449
readOnlyRootFilesystem: true
450
allowPrivilegeEscalation: false
451
capabilities:
452
drop: ["ALL"]
453
seccompProfile:
454
type: "RuntimeDefault"
455
## Grafana containers' resource requests and limits
456
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
457
## We usually recommend not to specify default resources and to leave this as a conscious
458
## choice for the user. This also increases chances charts run on environments with little
459
## resources, such as Minikube. If you do want to specify resources, uncomment the following
460
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
461
## @param grafana.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if grafana.resources is set (grafana.resources is recommended for production).
462
##
463
resourcesPreset: "nano"
464
## @param grafana.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
465
## Example:
466
## resources:
467
## requests:
468
## cpu: 2
469
## memory: 512Mi
470
## limits:
471
## cpu: 3
472
## memory: 1024Mi
473
##
474
resources: {}
475
## Grafana containers' liveness probe
476
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
477
## @param grafana.livenessProbe.enabled Enable livenessProbe
478
## @param grafana.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
479
## @param grafana.livenessProbe.periodSeconds Period seconds for livenessProbe
480
## @param grafana.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
481
## @param grafana.livenessProbe.failureThreshold Failure threshold for livenessProbe
482
## @param grafana.livenessProbe.successThreshold Success threshold for livenessProbe
483
##
484
livenessProbe:
485
enabled: true
486
initialDelaySeconds: 120
487
periodSeconds: 10
488
timeoutSeconds: 5
489
failureThreshold: 6
490
successThreshold: 1
491
## Grafana containers' readinessProbe probe
492
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
493
## @param grafana.readinessProbe.enabled Enable readinessProbe
494
## @param grafana.readinessProbe.path Path for readinessProbe
495
## @param grafana.readinessProbe.scheme Scheme for readinessProbe
496
## @param grafana.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
497
## @param grafana.readinessProbe.periodSeconds Period seconds for readinessProbe
498
## @param grafana.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
499
## @param grafana.readinessProbe.failureThreshold Failure threshold for readinessProbe
500
## @param grafana.readinessProbe.successThreshold Success threshold for readinessProbe
501
##
502
readinessProbe:
503
enabled: true
504
path: /api/health
505
scheme: HTTP
506
initialDelaySeconds: 30
507
periodSeconds: 10
508
timeoutSeconds: 5
509
failureThreshold: 6
510
successThreshold: 1
511
## @param grafana.startupProbe.enabled Enable startupProbe
512
## @param grafana.startupProbe.path Path for readinessProbe
513
## @param grafana.startupProbe.scheme Scheme for readinessProbe
514
## @param grafana.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
515
## @param grafana.startupProbe.periodSeconds Period seconds for startupProbe
516
## @param grafana.startupProbe.timeoutSeconds Timeout seconds for startupProbe
517
## @param grafana.startupProbe.failureThreshold Failure threshold for startupProbe
518
## @param grafana.startupProbe.successThreshold Success threshold for startupProbe
519
##
520
startupProbe:
521
enabled: false
522
path: /api/health
523
scheme: HTTP
524
initialDelaySeconds: 30
525
periodSeconds: 10
526
timeoutSeconds: 5
527
failureThreshold: 6
528
successThreshold: 1
529
## @param grafana.customLivenessProbe Custom livenessProbe that overrides the default one
530
##
531
customLivenessProbe: {}
532
## @param grafana.customReadinessProbe Custom readinessProbe that overrides the default one
533
##
534
customReadinessProbe: {}
535
## @param grafana.customStartupProbe Custom startupProbe that overrides the default one
536
##
537
customStartupProbe: {}
538
## @param grafana.lifecycleHooks for the Grafana container(s) to automate configuration before or after startup
539
##
540
lifecycleHooks: {}
541
## @param grafana.sidecars Attach additional sidecar containers to the Grafana pod
542
## Example:
543
## sidecars:
544
## - name: your-image-name
545
## image: your-image
546
## imagePullPolicy: Always
547
## ports:
548
## - name: portname
549
## containerPort: 1234
550
##
551
sidecars: []
552
## @param grafana.initContainers Add additional init containers to the Grafana pod(s)
553
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
554
## e.g:
555
## initContainers:
556
## - name: your-image-name
557
## image: your-image
558
## imagePullPolicy: Always
559
## command: ['sh', '-c', 'echo "hello world"']
560
##
561
initContainers: []
562
## @param grafana.enableServiceLinks Whether information about services should be injected into pod's environment variable
563
## The environment variables injected by service links are not used, but can lead to slow boot times or slow running of the scripts when there are many services in the current namespace.
564
## If you experience slow pod startups or slow running of the scripts you probably want to set this to `false`.
565
##
566
enableServiceLinks: true
567
## @param grafana.extraVolumes Additional volumes for the Grafana pod
568
## Example:
569
## extraVolumes:
570
## - name: my-volume
571
## emptyDir: {}
572
##
573
extraVolumes: []
574
## @param grafana.extraVolumeMounts Additional volume mounts for the Grafana container
575
## Example:
576
## extraVolumeMounts:
577
## - name: my-volume
578
## mountPath: /opt/iamguarded/grafana/my-stuff
579
##
580
extraVolumeMounts: []
581
## @param grafana.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Grafana nodes
582
##
583
extraEnvVarsCM: ""
584
## @param grafana.extraEnvVarsCMOptional Whether to still run the Grafana node if the ConfigMap does not exist
585
##
586
extraEnvVarsCMOptional: false
587
## @param grafana.extraEnvVarsSecret Name of existing Secret containing extra env vars for Grafana nodes
588
##
589
extraEnvVarsSecret: ""
590
## @param grafana.extraEnvVarsSecretOptional Whether to still run the Grafana node if the Secret does not exist
591
##
592
extraEnvVarsSecretOptional: false
593
## @param grafana.extraEnvVars Array containing extra env vars to configure Grafana
594
## For example:
595
## extraEnvVars:
596
## - name: GF_DEFAULT_INSTANCE_NAME
597
## value: my-instance
598
##
599
extraEnvVars: []
600
## @param grafana.extraConfigmaps Array to mount extra ConfigMaps to configure Grafana
601
## For example:
602
## extraConfigmaps:
603
## - name: myconfigmap
604
## mountPath: /opt/iamguarded/desired-path
605
## subPath: file-name.extension (optional)
606
## readOnly: true
607
##
608
extraConfigmaps: []
609
## @param grafana.command Override default container command (useful when using custom images)
610
##
611
command: []
612
## @param grafana.args Override default container args (useful when using custom images)
613
##
614
args: []
615
## Pod Disruption Budget configuration
616
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
617
## @param grafana.pdb.create Enable/disable a Pod Disruption Budget creation
618
## @param grafana.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
619
## @param grafana.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `grafana.pdb.minAvailable` and `grafana.pdb.maxUnavailable` are empty.
620
##
621
pdb:
622
create: true
623
minAvailable: ""
624
maxUnavailable: ""
625
## @section Persistence parameters
626
627
## Enable persistence using Persistent Volume Claims
628
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
629
## @param persistence.enabled Enable persistence
630
## @param persistence.annotations Persistent Volume Claim annotations
631
## @param persistence.accessMode Persistent Volume Access Mode
632
## @param persistence.accessModes Persistent Volume Access Modes
633
## @param persistence.storageClass Storage class to use with the PVC
634
## @param persistence.existingClaim If you want to reuse an existing claim, you can pass the name of the PVC using the existingClaim variable. Please note that this setting will be ignored when `grafana.kind` is set to `StatefulSet`.
635
## @param persistence.size Size for the PV
636
##
637
persistence:
638
enabled: true
639
## If defined, storageClassName: <storageClass>
640
## If set to "-", storageClassName: "", which disables dynamic provisioning
641
## If undefined (the default) or set to null, no storageClassName spec is
642
## set, choosing the default provisioner. (gp2 on AWS, standard on
643
## GKE, AWS & OpenStack)
644
##
645
storageClass: ""
646
annotations: {}
647
existingClaim: ""
648
accessMode: ReadWriteOnce
649
accessModes: []
650
size: 10Gi
651
## @section RBAC parameters
652
653
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
654
## @param serviceAccount.name The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template
655
## @param serviceAccount.annotations Annotations to add to the ServiceAccount Metadata
656
## @param serviceAccount.automountServiceAccountToken Automount service account token for the application controller service account
657
serviceAccount:
658
create: true
659
name: ""
660
annotations: {}
661
automountServiceAccountToken: false
662
## @section Traffic exposure parameters
663
664
## Service parameters
665
##
666
service:
667
## @param service.type Kubernetes Service type
668
##
669
type: ClusterIP
670
## @param service.clusterIP Grafana service Cluster IP
671
## e.g.:
672
## clusterIP: None
673
##
674
clusterIP: ""
675
## @param service.ports.grafana Grafana service port
676
##
677
ports:
678
grafana: 3000
679
## @param service.nodePorts.grafana Specify the nodePort value for the LoadBalancer and NodePort service types
680
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
681
##
682
nodePorts:
683
grafana: ""
684
## @param service.loadBalancerIP loadBalancerIP if Grafana service type is `LoadBalancer` (optional, cloud specific)
685
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
686
##
687
loadBalancerIP: ""
688
## @param service.loadBalancerClass loadBalancerClass if Grafana service type is `LoadBalancer` (optional, cloud specific)
689
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
690
##
691
loadBalancerClass: ""
692
## @param service.loadBalancerSourceRanges loadBalancerSourceRanges if Grafana service type is `LoadBalancer` (optional, cloud specific)
693
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
694
## e.g:
695
## loadBalancerSourceRanges:
696
## - 10.10.10.0/24
697
##
698
loadBalancerSourceRanges: []
699
## @param service.annotations Provide any additional annotations which may be required.
700
## This can be used to set the LoadBalancer service type to internal only.
701
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
702
##
703
annotations: {}
704
## @param service.externalTrafficPolicy Grafana service external traffic policy
705
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
706
##
707
externalTrafficPolicy: Cluster
708
## @param service.extraPorts Extra port to expose on Grafana service
709
##
710
extraPorts: []
711
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
712
## If "ClientIP", consecutive client requests will be directed to the same Pod
713
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
714
##
715
sessionAffinity: None
716
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
717
## sessionAffinityConfig:
718
## clientIP:
719
## timeoutSeconds: 300
720
##
721
sessionAffinityConfig: {}
722
## Network Policies
723
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
724
##
725
networkPolicy:
726
## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
727
##
728
enabled: true
729
## @param networkPolicy.allowExternal Don't require server label for connections
730
## The Policy model to apply. When set to false, only pods with the correct
731
## server label will have network access to the ports server is listening
732
## on. When true, server will accept connections from any source
733
## (with the correct destination port).
734
##
735
allowExternal: true
736
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
737
##
738
allowExternalEgress: true
739
## @param networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
740
##
741
addExternalClientAccess: true
742
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
743
## e.g:
744
## extraIngress:
745
## - ports:
746
## - port: 1234
747
## from:
748
## - podSelector:
749
## - matchLabels:
750
## - role: frontend
751
## - podSelector:
752
## - matchExpressions:
753
## - key: role
754
## operator: In
755
## values:
756
## - frontend
757
extraIngress: []
758
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
759
## e.g:
760
## extraEgress:
761
## - ports:
762
## - port: 1234
763
## to:
764
## - podSelector:
765
## - matchLabels:
766
## - role: frontend
767
## - podSelector:
768
## - matchExpressions:
769
## - key: role
770
## operator: In
771
## values:
772
## - frontend
773
##
774
extraEgress: []
775
## @param networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
776
## e.g:
777
## ingressPodMatchLabels:
778
## my-client: "true"
779
#
780
ingressPodMatchLabels: {}
781
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
782
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces. Ignored if `networkPolicy.allowExternal` is true.
783
##
784
ingressNSMatchLabels: {}
785
ingressNSPodMatchLabels: {}
786
## Configure the ingress resource that allows you to access the
787
## Grafana installation. Set up the URL
788
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
789
##
790
ingress:
791
## @param ingress.enabled Set to true to enable ingress record generation
792
##
793
enabled: false
794
## DEPRECATED: Use ingress.annotations instead of ingress.certManager
795
## certManager: false
796
##
797
798
## @param ingress.pathType Ingress Path type
799
##
800
pathType: ImplementationSpecific
801
## @param ingress.apiVersion Override API Version (automatically detected if not set)
802
##
803
apiVersion: ""
804
## @param ingress.hostname When the ingress is enabled, a host pointing to this will be created
805
##
806
hostname: grafana.local
807
## @param ingress.path Default path for the ingress resource
808
## The Path to Grafana. You may need to set this to '/*' in order to use this with ALB ingress controllers.
809
##
810
path: /
811
## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
812
## For a full list of possible ingress annotations, please see
813
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
814
## Use this parameter to set the required annotations for cert-manager, see
815
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
816
##
817
## e.g:
818
## annotations:
819
## kubernetes.io/ingress.class: nginx
820
## cert-manager.io/cluster-issuer: cluster-issuer-name
821
##
822
annotations: {}
823
## @param ingress.tls Enable TLS configuration for the hostname defined at ingress.hostname parameter
824
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
825
## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
826
##
827
tls: false
828
## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
829
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
830
## extraHosts:
831
## - name: grafana.local
832
## path: /
833
##
834
extraHosts: []
835
## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
836
## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
837
## extraPaths:
838
## - path: /*
839
## backend:
840
## serviceName: ssl-redirect
841
## servicePort: use-annotation
842
##
843
extraPaths: []
844
## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
845
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
846
## extraTls:
847
## - hosts:
848
## - grafana.local
849
## secretName: grafana.local-tls
850
##
851
extraTls: []
852
## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
853
## key and certificate should start with -----BEGIN CERTIFICATE----- or
854
## -----BEGIN RSA PRIVATE KEY-----
855
##
856
## name should line up with a tlsSecret set further up
857
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
858
##
859
## @param ingress.secrets It is also possible to create and manage the certificates outside of this helm chart
860
## Please see README.md for more information
861
## e.g:
862
## - name: grafana.local-tls
863
## key:
864
## certificate:
865
##
866
secrets: []
867
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
868
##
869
selfSigned: false
870
## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
871
ingressClassName: ""
872
## @param ingress.extraRules Additional rules to be covered with this ingress record
873
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
874
## e.g:
875
## extraRules:
876
## - host: example.local
877
## http:
878
## path: /
879
## backend:
880
## service:
881
## name: example-svc
882
## port:
883
## name: http
884
##
885
extraRules: []
886
## @section Metrics parameters
887
888
## Prometheus metrics
889
##
890
metrics:
891
## @param metrics.enabled Enable the export of Prometheus metrics
892
##
893
enabled: false
894
## Prometheus Operator ServiceMonitor configuration
895
## @param metrics.service.annotations [object] Annotations for Prometheus metrics service
896
##
897
service:
898
annotations:
899
prometheus.io/scrape: "true"
900
prometheus.io/port: "3000"
901
prometheus.io/path: "/metrics"
902
serviceMonitor:
903
## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
904
##
905
enabled: false
906
## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
907
##
908
namespace: ""
909
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
910
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
911
## e.g:
912
## interval: 10s
913
##
914
interval: ""
915
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
916
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
917
## e.g:
918
## scrapeTimeout: 10s
919
##
920
scrapeTimeout: ""
921
## @param metrics.serviceMonitor.selector Prometheus instance selector labels
922
## e.g:
923
## selector:
924
## prometheus: my-prometheus
925
##
926
selector: {}
927
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
928
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
929
##
930
relabelings: []
931
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
932
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
933
##
934
metricRelabelings: []
935
## @param metrics.serviceMonitor.honorLabels Labels to honor to add to the scrape endpoint
936
##
937
honorLabels: false
938
## DEPRECATED metrics.serviceMonitor.additionalLabels - It will be removed in a future release, please use metrics.serviceMonitor.labels instead
939
## @param metrics.serviceMonitor.labels Additional custom labels for the ServiceMonitor
940
##
941
labels: {}
942
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
943
##
944
jobLabel: ""
945
## Prometheus Operator PrometheusRule configuration
946
##
947
prometheusRule:
948
## @param metrics.prometheusRule.enabled if `true`, creates a Prometheus Operator PrometheusRule (also requires `metrics.enabled` to be `true` and `metrics.prometheusRule.rules`)
949
##
950
enabled: false
951
## @param metrics.prometheusRule.namespace Namespace for the PrometheusRule Resource (defaults to the Release Namespace)
952
##
953
namespace: ""
954
## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so PrometheusRule will be discovered by Prometheus
955
##
956
additionalLabels: {}
957
## @param metrics.prometheusRule.rules PrometheusRule rules to configure
958
## e.g:
959
## - alert: Grafana-Down
960
## annotations:
961
## message: 'Grafana instance is down'
962
## summary: Grafana instance is down
963
## expr: absent(up{job="grafana"} == 1)
964
## labels:
965
## severity: warning
966
## service: grafana
967
## for: 5m
968
##
969
rules: []
970
## @section Volume permissions init Container Parameters
971
972
## 'volumePermissions' init container parameters
973
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
974
## based on the `grafana:podSecurityContext`/`grafana:containerSecurityContext`` parameters
975
## May require setting `grafana:podSecurityContext:runAsNonRoot` to false
976
##
977
volumePermissions:
978
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
979
##
980
enabled: false
981
## OS Shell + Utility image
982
## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
983
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
984
## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
985
## @param volumePermissions.image.digest OS Shell + Utility image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
986
## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
987
## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
988
##
989
image:
990
registry: cgr.dev
991
repository: chainguard-private/os-shell-iamguarded
992
tag: 1.0.0
993
digest: ""
994
pullPolicy: IfNotPresent
995
## Optionally specify an array of imagePullSecrets.
996
## Secrets must be manually created in the namespace.
997
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
998
## e.g:
999
## pullSecrets:
1000
## - myRegistryKeySecretName
1001
##
1002
pullSecrets: []
1003
## Init container's resource requests and limits
1004
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1005
## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
1006
##
1007
resourcesPreset: "nano"
1008
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1009
## Example:
1010
## resources:
1011
## requests:
1012
## cpu: 2
1013
## memory: 512Mi
1014
## limits:
1015
## cpu: 3
1016
## memory: 1024Mi
1017
##
1018
resources: {}
1019
## Init container Container Security Context
1020
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1021
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1022
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
1023
## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
1024
## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
1025
## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
1026
##
1027
containerSecurityContext:
1028
seLinuxOptions: {}
1029
runAsUser: 0
1030
## @section Diagnostic Mode Parameters
1031
1032
## Enable diagnostic mode in the deployment
1033
##
1034
diagnosticMode:
1035
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
1036
##
1037
enabled: false
1038
## @param diagnosticMode.command Command to override all containers in the deployment
1039
##
1040
command:
1041
- sleep
1042
## @param diagnosticMode.args Args to override all containers in the deployment
1043
##
1044
args:
1045
- infinity
1046

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.