DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
prometheus logoHELM

prometheus

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
16
## @param global.imageRegistry Global Docker image registry
17
## @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.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
21
##
22
global:
23
imageRegistry: ""
24
useImageTags: false
25
## E.g.
26
## imagePullSecrets:
27
## - myRegistryKeySecretName
28
##
29
imagePullSecrets: []
30
defaultStorageClass: ""
31
storageClass: ""
32
## Security parameters
33
##
34
security:
35
## @param global.security.allowInsecureImages Allows skipping image verification
36
allowInsecureImages: false
37
## Compatibility adaptations for Kubernetes platforms
38
##
39
compatibility:
40
## Compatibility adaptations for Openshift
41
##
42
openshift:
43
## @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)
44
##
45
adaptSecurityContext: auto
46
org: ""
47
## @section Common parameters
48
##
49
50
## @param kubeVersion Override Kubernetes version
51
##
52
kubeVersion: ""
53
## @param nameOverride String to partially override common.names.name
54
##
55
nameOverride: ""
56
## @param fullnameOverride String to fully override common.names.fullname
57
##
58
fullnameOverride: ""
59
## @param namespaceOverride String to fully override common.names.namespace
60
##
61
namespaceOverride: ""
62
## @param commonLabels Labels to add to all deployed objects
63
##
64
commonLabels: {}
65
## @param commonAnnotations Annotations to add to all deployed objects
66
##
67
commonAnnotations: {}
68
## @param clusterDomain Kubernetes cluster domain name
69
##
70
clusterDomain: cluster.local
71
## @param extraDeploy Array of extra objects to deploy with the release
72
##
73
extraDeploy: []
74
## Enable diagnostic mode in the deployment
75
##
76
diagnosticMode:
77
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
78
##
79
enabled: false
80
## @param diagnosticMode.command Command to override all containers in the deployment
81
##
82
command:
83
- sleep
84
## @param diagnosticMode.args Args to override all containers in the deployment
85
##
86
args:
87
- infinity
88
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
89
##
90
ingress:
91
apiVersion: ""
92
## @section Alertmanager Parameters
93
##
94
## Iamguarded Alertmanager image
95
## @param alertmanager.enabled Alertmanager enabled
96
## @param alertmanager.image.registry [default: REGISTRY_NAME] Alertmanager image registry
97
## @param alertmanager.image.repository [default: REPOSITORY_NAME/alertmanager] Alertmanager image repository
98
## @skip alertmanager.image.tag Alertmanager image tag (immutable tags are recommended)
99
## @param alertmanager.image.digest Alertmanager image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
100
## @param alertmanager.image.pullPolicy Alertmanager image pull policy
101
## @param alertmanager.image.pullSecrets Alertmanager image pull secrets
102
##
103
alertmanager:
104
enabled: true
105
image:
106
registry: cgr.dev
107
repository: chainguard-private/prometheus-alertmanager-iamguarded
108
tag: 0.35.1
109
digest: ""
110
## Specify a imagePullPolicy
111
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
112
##
113
pullPolicy: IfNotPresent
114
## Optionally specify an array of imagePullSecrets.
115
## Secrets must be manually created in the namespace.
116
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
117
## e.g:
118
## pullSecrets:
119
## - myRegistryKeySecretName
120
##
121
pullSecrets: []
122
## @param alertmanager.configuration [string] Alertmanager configuration. This content will be stored in the the alertmanager.yaml file and the content can be a template.
123
## ref: <https://github.com/prometheus-community/helm-charts/blob/8f2743ed3a9c93c56978a95b62a63e84c52f5748/charts/alertmanager/values.yaml#L171-L188>
124
##
125
configuration: |
126
receivers:
127
- name: default-receiver
128
route:
129
group_wait: 10s
130
group_interval: 5m
131
receiver: default-receiver
132
repeat_interval: 3h
133
## @param alertmanager.replicaCount Number of Alertmanager replicas to deploy
134
##
135
replicaCount: 1
136
## @param alertmanager.containerPorts.http Alertmanager HTTP container port
137
## @param alertmanager.containerPorts.cluster Alertmanager Cluster HA port
138
##
139
containerPorts:
140
http: 9093
141
cluster: 9094
142
## Configure extra options for Alertmanager containers' liveness and readiness probes
143
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
144
## @param alertmanager.livenessProbe.enabled Enable livenessProbe on Alertmanager containers
145
## @param alertmanager.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
146
## @param alertmanager.livenessProbe.periodSeconds Period seconds for livenessProbe
147
## @param alertmanager.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
148
## @param alertmanager.livenessProbe.failureThreshold Failure threshold for livenessProbe
149
## @param alertmanager.livenessProbe.successThreshold Success threshold for livenessProbe
150
##
151
livenessProbe:
152
enabled: true
153
initialDelaySeconds: 5
154
periodSeconds: 20
155
timeoutSeconds: 3
156
failureThreshold: 3
157
successThreshold: 1
158
## @param alertmanager.readinessProbe.enabled Enable readinessProbe on Alertmanager containers
159
## @param alertmanager.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
160
## @param alertmanager.readinessProbe.periodSeconds Period seconds for readinessProbe
161
## @param alertmanager.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
162
## @param alertmanager.readinessProbe.failureThreshold Failure threshold for readinessProbe
163
## @param alertmanager.readinessProbe.successThreshold Success threshold for readinessProbe
164
##
165
readinessProbe:
166
enabled: true
167
initialDelaySeconds: 5
168
periodSeconds: 10
169
timeoutSeconds: 2
170
failureThreshold: 5
171
successThreshold: 1
172
## @param alertmanager.startupProbe.enabled Enable startupProbe on Alertmanager containers
173
## @param alertmanager.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
174
## @param alertmanager.startupProbe.periodSeconds Period seconds for startupProbe
175
## @param alertmanager.startupProbe.timeoutSeconds Timeout seconds for startupProbe
176
## @param alertmanager.startupProbe.failureThreshold Failure threshold for startupProbe
177
## @param alertmanager.startupProbe.successThreshold Success threshold for startupProbe
178
##
179
startupProbe:
180
enabled: false
181
initialDelaySeconds: 2
182
periodSeconds: 5
183
timeoutSeconds: 2
184
failureThreshold: 10
185
successThreshold: 1
186
## @param alertmanager.customLivenessProbe Custom livenessProbe that overrides the default one
187
##
188
customLivenessProbe: {}
189
## @param alertmanager.customReadinessProbe Custom readinessProbe that overrides the default one
190
##
191
customReadinessProbe: {}
192
## @param alertmanager.customStartupProbe Custom startupProbe that overrides the default one
193
##
194
customStartupProbe: {}
195
## Alertmanager resource requests and limits
196
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
197
## @param alertmanager.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if alertmanager.resources is set (alertmanager.resources is recommended for production).
198
##
199
resourcesPreset: "nano"
200
## @param alertmanager.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
201
## Example:
202
## resources:
203
## requests:
204
## cpu: 2
205
## memory: 512Mi
206
## limits:
207
## cpu: 3
208
## memory: 1024Mi
209
##
210
resources: {}
211
## Configure Pods Security Context
212
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
213
## @param alertmanager.podSecurityContext.enabled Enabled Alertmanager pods' Security Context
214
## @param alertmanager.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
215
## @param alertmanager.podSecurityContext.sysctls Set kernel settings using the sysctl interface
216
## @param alertmanager.podSecurityContext.supplementalGroups Set filesystem extra groups
217
## @param alertmanager.podSecurityContext.fsGroup Set Alertmanager pod's Security Context fsGroup
218
##
219
podSecurityContext:
220
enabled: true
221
fsGroupChangePolicy: Always
222
sysctls: []
223
supplementalGroups: []
224
fsGroup: 1001
225
## Configure Container Security Context
226
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
227
## @param alertmanager.containerSecurityContext.enabled Enabled containers' Security Context
228
## @param alertmanager.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
229
## @param alertmanager.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
230
## @param alertmanager.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
231
## @param alertmanager.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
232
## @param alertmanager.containerSecurityContext.privileged Set container's Security Context privileged
233
## @param alertmanager.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
234
## @param alertmanager.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
235
## @param alertmanager.containerSecurityContext.capabilities.drop List of capabilities to be dropped
236
## @param alertmanager.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
237
##
238
containerSecurityContext:
239
enabled: true
240
seLinuxOptions: {}
241
runAsUser: 1001
242
runAsGroup: 1001
243
runAsNonRoot: true
244
privileged: false
245
readOnlyRootFilesystem: true
246
allowPrivilegeEscalation: false
247
capabilities:
248
drop: ["ALL"]
249
seccompProfile:
250
type: "RuntimeDefault"
251
## @param alertmanager.existingConfigmap The name of an existing ConfigMap with your custom configuration for Alertmanager
252
##
253
existingConfigmap: ""
254
## @param alertmanager.existingConfigmapKey The name of the key with the Alertmanager config file
255
##
256
existingConfigmapKey: ""
257
## @param alertmanager.command Override default container command (useful when using custom images)
258
##
259
command: []
260
## @param alertmanager.args Override default container args (useful when using custom images)
261
##
262
args: []
263
## @param alertmanager.extraArgs Additional arguments passed to the Prometheus server container
264
## extraArgs:
265
## - --log.level=debug
266
## - --tsdb.path=/data/
267
##
268
extraArgs: []
269
## @param alertmanager.automountServiceAccountToken Mount Service Account token in pod
270
##
271
automountServiceAccountToken: false
272
## @param alertmanager.hostAliases Alertmanager pods host aliases
273
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
274
##
275
hostAliases: []
276
## @param alertmanager.podLabels Extra labels for Alertmanager pods
277
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
278
##
279
podLabels: {}
280
## @param alertmanager.podAnnotations Annotations for Alertmanager pods
281
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
282
##
283
podAnnotations: {}
284
## @param alertmanager.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
285
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
286
##
287
podAffinityPreset: ""
288
## @param alertmanager.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
289
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
290
##
291
podAntiAffinityPreset: soft
292
## Pod Disruption Budget configuration
293
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
294
## @param alertmanager.pdb.create Enable/disable a Pod Disruption Budget creation
295
## @param alertmanager.pdb.minAvailable [object] Minimum number/percentage of pods that should remain scheduled
296
## @param alertmanager.pdb.maxUnavailable [object] Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `alertmanager.pdb.minAvailable` and `alertmanager.pdb.maxUnavailable` are empty.
297
##
298
pdb:
299
create: true
300
minAvailable: ""
301
maxUnavailable: ""
302
## Node affinity preset
303
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
304
##
305
nodeAffinityPreset:
306
## @param alertmanager.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
307
##
308
type: ""
309
## @param alertmanager.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
310
##
311
key: ""
312
## @param alertmanager.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
313
## E.g.
314
## values:
315
## - e2e-az1
316
## - e2e-az2
317
##
318
values: []
319
## @param alertmanager.affinity Affinity for Alertmanager pods assignment
320
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
321
## NOTE: `podAffinityPreset`, `podAntiAffinityPreset`, and `nodeAffinityPreset` will be ignored when it's set
322
##
323
affinity: {}
324
## @param alertmanager.nodeSelector Node labels for Alertmanager pods assignment
325
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
326
##
327
nodeSelector: {}
328
## @param alertmanager.tolerations Tolerations for Alertmanager pods assignment
329
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
330
##
331
tolerations: []
332
## @param alertmanager.updateStrategy.type Alertmanager statefulset strategy type
333
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
334
##
335
updateStrategy:
336
## StrategyType
337
## Can be set to RollingUpdate or OnDelete
338
##
339
type: RollingUpdate
340
## @param alertmanager.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
341
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
342
##
343
podManagementPolicy: OrderedReady
344
## @param alertmanager.priorityClassName Alertmanager pods' priorityClassName
345
##
346
priorityClassName: ""
347
## @param alertmanager.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
348
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
349
##
350
topologySpreadConstraints: []
351
## @param alertmanager.schedulerName Name of the k8s scheduler (other than default) for Alertmanager pods
352
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
353
##
354
schedulerName: ""
355
## @param alertmanager.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
356
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
357
##
358
terminationGracePeriodSeconds: ""
359
## @param alertmanager.lifecycleHooks for the Alertmanager container(s) to automate configuration before or after startup
360
##
361
lifecycleHooks: {}
362
## @param alertmanager.extraEnvVars Array with extra environment variables to add to Alertmanager nodes
363
## e.g:
364
## extraEnvVars:
365
## - name: FOO
366
## value: "bar"
367
##
368
extraEnvVars: []
369
## @param alertmanager.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Alertmanager nodes
370
##
371
extraEnvVarsCM: ""
372
## @param alertmanager.extraEnvVarsSecret Name of existing Secret containing extra env vars for Alertmanager nodes
373
##
374
extraEnvVarsSecret: ""
375
## @param alertmanager.extraVolumes Optionally specify extra list of additional volumes for the Alertmanager pod(s)
376
##
377
extraVolumes: []
378
## @param alertmanager.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Alertmanager container(s)
379
##
380
extraVolumeMounts: []
381
## @param alertmanager.sidecars Add additional sidecar containers to the Alertmanager pod(s)
382
## e.g:
383
## sidecars:
384
## - name: your-image-name
385
## image: your-image
386
## imagePullPolicy: Always
387
## ports:
388
## - name: portname
389
## containerPort: 1234
390
##
391
sidecars: []
392
## @param alertmanager.initContainers Add additional init containers to the Alertmanager pod(s)
393
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
394
## e.g:
395
## initContainers:
396
## - name: your-image-name
397
## image: your-image
398
## imagePullPolicy: Always
399
## command: ['sh', '-c', 'echo "hello world"']
400
##
401
initContainers: []
402
## Alertmanager ingress parameters
403
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
404
##
405
ingress:
406
## @param alertmanager.ingress.enabled Enable ingress record generation for Alertmanager
407
##
408
enabled: false
409
## @param alertmanager.ingress.pathType Ingress path type
410
##
411
pathType: ImplementationSpecific
412
## @param alertmanager.ingress.hostname Default host for the ingress record
413
##
414
hostname: alertmanager.prometheus.local
415
## @param alertmanager.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
416
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
417
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
418
##
419
ingressClassName: ""
420
## @param alertmanager.ingress.path Default path for the ingress record
421
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
422
##
423
path: /
424
## @param alertmanager.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
425
## Use this parameter to set the required annotations for cert-manager, see
426
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
427
## e.g:
428
## annotations:
429
## kubernetes.io/ingress.class: nginx
430
## cert-manager.io/cluster-issuer: cluster-issuer-name
431
##
432
annotations: {}
433
## @param alertmanager.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
434
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
435
## You can:
436
## - Use the `ingress.secrets` parameter to create this TLS secret
437
## - Rely on cert-manager to create it by setting the corresponding annotations
438
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
439
##
440
tls: false
441
## @param alertmanager.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
442
##
443
selfSigned: false
444
## @param alertmanager.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
445
## e.g:
446
## extraHosts:
447
## - name: prometheus.local
448
## path: /
449
##
450
extraHosts: []
451
## @param alertmanager.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
452
## e.g:
453
## extraPaths:
454
## - path: /*
455
## backend:
456
## serviceName: ssl-redirect
457
## servicePort: use-annotation
458
##
459
extraPaths: []
460
## @param alertmanager.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
461
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
462
## e.g:
463
## extraTls:
464
## - hosts:
465
## - prometheus.local
466
## secretName: prometheus.local-tls
467
##
468
extraTls: []
469
## @param alertmanager.ingress.secrets Custom TLS certificates as secrets
470
## NOTE: 'key' and 'certificate' are expected in PEM format
471
## NOTE: 'name' should line up with a 'secretName' set further up
472
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
473
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
474
## It is also possible to create and manage the certificates outside of this helm chart
475
## Please see README.md for more information
476
## e.g:
477
## secrets:
478
## - name: prometheus.local-tls
479
## key: |-
480
## -----BEGIN RSA PRIVATE KEY-----
481
## ...
482
## -----END RSA PRIVATE KEY-----
483
## certificate: |-
484
## -----BEGIN CERTIFICATE-----
485
## ...
486
## -----END CERTIFICATE-----
487
##
488
secrets: []
489
## @param alertmanager.ingress.extraRules Additional rules to be covered with this ingress record
490
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
491
## e.g:
492
## extraRules:
493
## - host: example.local
494
## http:
495
## path: /
496
## backend:
497
## service:
498
## name: example-svc
499
## port:
500
## name: http
501
##
502
extraRules: []
503
## ServiceAccount configuration
504
##
505
serviceAccount:
506
## @param alertmanager.serviceAccount.create Specifies whether a ServiceAccount should be created
507
##
508
create: true
509
## @param alertmanager.serviceAccount.name The name of the ServiceAccount to use.
510
## If not set and create is true, a name is generated using the common.names.fullname template
511
##
512
name: ""
513
## @param alertmanager.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
514
##
515
annotations: {}
516
## @param alertmanager.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
517
##
518
automountServiceAccountToken: false
519
## Network Policies
520
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
521
##
522
networkPolicy:
523
## @param alertmanager.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
524
##
525
enabled: true
526
## @param alertmanager.networkPolicy.allowExternal Don't require alertmanager label for connections
527
## The Policy model to apply. When set to false, only pods with the correct
528
## alertmanager label will have network access to the ports alertmanager is listening
529
## on. When true, alertmanager will accept connections from any source
530
## (with the correct destination port).
531
##
532
allowExternal: true
533
## @param alertmanager.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
534
##
535
allowExternalEgress: true
536
## @param alertmanager.networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `alertmanager.networkPolicy.allowExternal` is true.
537
##
538
addExternalClientAccess: true
539
## @param alertmanager.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
540
## e.g:
541
## extraIngress:
542
## - ports:
543
## - port: 1234
544
## from:
545
## - podSelector:
546
## - matchLabels:
547
## - role: frontend
548
## - podSelector:
549
## - matchExpressions:
550
## - key: role
551
## operator: In
552
## values:
553
## - frontend
554
extraIngress: []
555
## @param alertmanager.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
556
## e.g:
557
## extraEgress:
558
## - ports:
559
## - port: 1234
560
## to:
561
## - podSelector:
562
## - matchLabels:
563
## - role: frontend
564
## - podSelector:
565
## - matchExpressions:
566
## - key: role
567
## operator: In
568
## values:
569
## - frontend
570
##
571
extraEgress: []
572
## @param alertmanager.networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `alertmanager.networkPolicy.allowExternal` is true.
573
## e.g:
574
## ingressPodMatchLabels:
575
## my-client: "true"
576
#
577
ingressPodMatchLabels: {}
578
## @param alertmanager.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces. Ignored if `alertmanager.networkPolicy.allowExternal` is true.
579
## @param alertmanager.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces. Ignored if `alertmanager.networkPolicy.allowExternal` is true.
580
##
581
ingressNSMatchLabels: {}
582
ingressNSPodMatchLabels: {}
583
## Alertmanager service parameters
584
##
585
service:
586
## @param alertmanager.service.type Alertmanager service type
587
##
588
type: LoadBalancer
589
## @param alertmanager.service.ports.http Alertmanager service HTTP port
590
## @param alertmanager.service.ports.cluster Alertmanager cluster HA port
591
##
592
ports:
593
http: 80
594
cluster: 9094
595
## Node ports to expose
596
## @param alertmanager.service.nodePorts.http Node port for HTTP
597
## NOTE: choose port between <30000-32767>
598
##
599
nodePorts:
600
http: ""
601
## @param alertmanager.service.clusterIP Alertmanager service Cluster IP
602
## e.g.:
603
## clusterIP: None
604
##
605
clusterIP: ""
606
## @param alertmanager.service.loadBalancerIP Alertmanager service Load Balancer IP
607
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
608
##
609
loadBalancerIP: ""
610
## @param alertmanager.service.loadBalancerClass Alertmanager service Load Balancer class if service type is `LoadBalancer` (optional, cloud specific)
611
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
612
##
613
loadBalancerClass: ""
614
## @param alertmanager.service.loadBalancerSourceRanges Alertmanager service Load Balancer sources
615
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
616
## e.g:
617
## loadBalancerSourceRanges:
618
## - 10.10.10.0/24
619
##
620
loadBalancerSourceRanges: []
621
## @param alertmanager.service.externalTrafficPolicy Alertmanager service external traffic policy
622
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
623
##
624
externalTrafficPolicy: Cluster
625
## @param alertmanager.service.annotations Additional custom annotations for Alertmanager service
626
##
627
annotations: {}
628
## @param alertmanager.service.extraPorts Extra ports to expose in Alertmanager service (normally used with the `sidecars` value)
629
##
630
extraPorts: []
631
## @param alertmanager.service.sessionAffinity Control where client requests go, to the same pod or round-robin
632
## Values: ClientIP or None
633
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
634
##
635
sessionAffinity: None
636
## @param alertmanager.service.sessionAffinityConfig Additional settings for the sessionAffinity
637
## sessionAffinityConfig:
638
## clientIP:
639
## timeoutSeconds: 300
640
##
641
sessionAffinityConfig: {}
642
persistence:
643
## @param alertmanager.persistence.enabled Enable Alertmanager data persistence using VolumeClaimTemplates
644
##
645
enabled: false
646
## @param alertmanager.persistence.mountPath Path to mount the volume at.
647
##
648
mountPath: /iamguarded/alertmanager/data
649
## @param alertmanager.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
650
##
651
subPath: ""
652
## @param alertmanager.persistence.storageClass PVC Storage Class for Concourse worker data volume
653
## If defined, storageClassName: <storageClass>
654
## If set to "-", storageClassName: "", which disables dynamic provisioning
655
## If undefined (the default) or set to null, no storageClassName spec is
656
## set, choosing the default provisioner. (gp2 on AWS, standard on
657
## GKE, AWS & OpenStack)
658
##
659
storageClass: ""
660
## @param alertmanager.persistence.accessModes PVC Access Mode for Concourse worker volume
661
##
662
accessModes:
663
- ReadWriteOnce
664
## @param alertmanager.persistence.size PVC Storage Request for Concourse worker volume
665
##
666
size: 8Gi
667
## @param alertmanager.persistence.annotations Annotations for the PVC
668
##
669
annotations: {}
670
## @param alertmanager.persistence.selector Selector to match an existing Persistent Volume (this value is evaluated as a template)
671
## selector:
672
## matchLabels:
673
## app: my-app
674
##
675
selector: {}
676
## @section Prometheus server Parameters
677
##
678
## Iamguarded Prometheus image
679
## @param server.image.registry [default: REGISTRY_NAME] Prometheus image registry
680
## @param server.image.repository [default: REPOSITORY_NAME/prometheus] Prometheus image repository
681
## @skip server.image.tag Prometheus image tag (immutable tags are recommended)
682
## @param server.image.digest Prometheus image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
683
## @param server.image.pullPolicy Prometheus image pull policy
684
## @param server.image.pullSecrets Prometheus image pull secrets
685
##
686
server:
687
image:
688
registry: cgr.dev
689
repository: chainguard-private/prometheus-iamguarded
690
tag: 3.16.0
691
digest: ""
692
## Specify a imagePullPolicy
693
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
694
##
695
pullPolicy: IfNotPresent
696
## Optionally specify an array of imagePullSecrets.
697
## Secrets must be manually created in the namespace.
698
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
699
## e.g:
700
## pullSecrets:
701
## - myRegistryKeySecretName
702
##
703
pullSecrets: []
704
## @param server.scrapePrometheusHost Specifies whether to include prometheus host scraping job
705
##
706
scrapePrometheusHost: true
707
## @param server.scrapeAlertmanagerHost Specifies whether to include alertmanager host scraping job
708
##
709
scrapeAlertmanagerHost: true
710
## @param server.configuration [string] Promethus configuration. This content will be stored in the the prometheus.yaml file and the content can be a template.
711
## ref: <https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml>
712
##
713
configuration: |
714
global:
715
{{- if .Values.server.scrapeInterval }}
716
scrape_interval: {{ .Values.server.scrapeInterval }}
717
{{- end }}
718
{{- if .Values.server.scrapeTimeout }}
719
scrape_timeout: {{ .Values.server.scrapeTimeout }}
720
{{- end }}
721
{{- if .Values.server.evaluationInterval }}
722
evaluation_interval: {{ .Values.server.evaluationInterval }}
723
{{- end }}
724
external_labels:
725
monitor: {{ template "common.names.fullname" . }}
726
{{- if .Values.server.externalLabels }}
727
{{- include "common.tplvalues.render" (dict "value" .Values.server.externalLabels "context" $) | nindent 4 }}
728
{{- end }}
729
{{- if .Values.server.remoteWrite }}
730
remote_write: {{- include "common.tplvalues.render" (dict "value" .Values.server.remoteWrite "context" $) | nindent 4 }}
731
{{- end }}
732
scrape_configs:
733
{{- if .Values.server.scrapePrometheusHost }}
734
- job_name: prometheus
735
{{- include "prometheus.scrape_config" (dict "component" "server" "context" $) | nindent 4 }}
736
{{- end }}
737
{{- if and .Values.alertmanager.enabled .Values.server.scrapeAlertmanagerHost }}
738
- job_name: alertmanager
739
{{- include "prometheus.scrape_config" (dict "component" "alertmanager" "context" $) | nindent 4 }}
740
{{- end }}
741
{{- if .Values.server.extraScrapeConfigs}}
742
{{- include "common.tplvalues.render" (dict "value" .Values.server.extraScrapeConfigs "context" $) | nindent 2 }}
743
{{- end }}
744
{{- if or .Values.alertmanager.enabled .Values.server.alertingEndpoints}}
745
alerting:
746
alertmanagers:
747
{{- if .Values.server.alertingEndpoints }}
748
{{- include "common.tplvalues.render" (dict "value" .Values.server.alertingEndpoints "context" $) | nindent 4 }}
749
{{- end }}
750
- scheme: HTTP
751
static_configs:
752
- targets: [ "{{ printf "%s.%s.svc.%s:%d" (include "prometheus.alertmanager.fullname" .) (include "common.names.namespace" .) .Values.clusterDomain (int .Values.alertmanager.service.ports.http) }}" ]
753
rule_files:
754
- rules.yaml
755
{{- end }}
756
## @param server.alertingRules Prometheus alerting rules. This content will be stored in the the rules.yaml file and the content can be a template.
757
## ref: <https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/>
758
##
759
alertingRules: {}
760
## @param server.extraScrapeConfigs Promethus configuration, useful to declare new scrape_configs. This content will be merged with the 'server.configuration' value and stored in the the prometheus.yaml file.
761
## ref: <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config>
762
##
763
extraScrapeConfigs: []
764
## @param server.replicaCount Number of Prometheus replicas to deploy
765
##
766
replicaCount: 1
767
## @param server.containerPorts.http Prometheus HTTP container port
768
##
769
containerPorts:
770
http: 9090
771
## Configure extra options for Prometheus containers' liveness and readiness probes
772
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
773
## @param server.livenessProbe.enabled Enable livenessProbe on Prometheus containers
774
## @param server.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
775
## @param server.livenessProbe.periodSeconds Period seconds for livenessProbe
776
## @param server.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
777
## @param server.livenessProbe.failureThreshold Failure threshold for livenessProbe
778
## @param server.livenessProbe.successThreshold Success threshold for livenessProbe
779
##
780
livenessProbe:
781
enabled: true
782
initialDelaySeconds: 5
783
periodSeconds: 20
784
timeoutSeconds: 3
785
failureThreshold: 3
786
successThreshold: 1
787
## @param server.readinessProbe.enabled Enable readinessProbe on Prometheus containers
788
## @param server.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
789
## @param server.readinessProbe.periodSeconds Period seconds for readinessProbe
790
## @param server.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
791
## @param server.readinessProbe.failureThreshold Failure threshold for readinessProbe
792
## @param server.readinessProbe.successThreshold Success threshold for readinessProbe
793
##
794
readinessProbe:
795
enabled: true
796
initialDelaySeconds: 5
797
periodSeconds: 10
798
timeoutSeconds: 2
799
failureThreshold: 5
800
successThreshold: 1
801
## @param server.startupProbe.enabled Enable startupProbe on Prometheus containers
802
## @param server.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
803
## @param server.startupProbe.periodSeconds Period seconds for startupProbe
804
## @param server.startupProbe.timeoutSeconds Timeout seconds for startupProbe
805
## @param server.startupProbe.failureThreshold Failure threshold for startupProbe
806
## @param server.startupProbe.successThreshold Success threshold for startupProbe
807
##
808
startupProbe:
809
enabled: false
810
initialDelaySeconds: 2
811
periodSeconds: 5
812
timeoutSeconds: 2
813
failureThreshold: 10
814
successThreshold: 1
815
## @param server.customLivenessProbe Custom livenessProbe that overrides the default one
816
##
817
customLivenessProbe: {}
818
## @param server.customReadinessProbe Custom readinessProbe that overrides the default one
819
##
820
customReadinessProbe: {}
821
## @param server.customStartupProbe Custom startupProbe that overrides the default one
822
##
823
customStartupProbe: {}
824
## Prometheus resource requests and limits
825
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
826
## @param server.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if server.resources is set (server.resources is recommended for production).
827
##
828
resourcesPreset: "nano"
829
## @param server.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
830
## Example:
831
## resources:
832
## requests:
833
## cpu: 2
834
## memory: 512Mi
835
## limits:
836
## cpu: 3
837
## memory: 1024Mi
838
##
839
resources: {}
840
## Configure Pods Security Context
841
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
842
## @param server.podSecurityContext.enabled Enabled Prometheus pods' Security Context
843
## @param server.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
844
## @param server.podSecurityContext.sysctls Set kernel settings using the sysctl interface
845
## @param server.podSecurityContext.supplementalGroups Set filesystem extra groups
846
## @param server.podSecurityContext.fsGroup Set Prometheus pod's Security Context fsGroup
847
##
848
podSecurityContext:
849
enabled: true
850
fsGroupChangePolicy: Always
851
sysctls: []
852
supplementalGroups: []
853
fsGroup: 1001
854
## Configure Container Security Context
855
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
856
## @param server.containerSecurityContext.enabled Enabled containers' Security Context
857
## @param server.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
858
## @param server.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
859
## @param server.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
860
## @param server.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
861
## @param server.containerSecurityContext.privileged Set container's Security Context privileged
862
## @param server.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
863
## @param server.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
864
## @param server.containerSecurityContext.capabilities.drop List of capabilities to be dropped
865
## @param server.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
866
##
867
containerSecurityContext:
868
enabled: true
869
seLinuxOptions: {}
870
runAsUser: 1001
871
runAsGroup: 1001
872
runAsNonRoot: true
873
privileged: false
874
readOnlyRootFilesystem: true
875
allowPrivilegeEscalation: false
876
capabilities:
877
drop: ["ALL"]
878
seccompProfile:
879
type: "RuntimeDefault"
880
## @param server.existingConfigmap The name of an existing ConfigMap with your custom configuration for Prometheus
881
##
882
existingConfigmap: ""
883
## @param server.existingConfigmapKey The name of the key with the Prometheus config file
884
##
885
existingConfigmapKey: ""
886
## @param server.command Override default container command (useful when using custom images)
887
##
888
command: []
889
## @param server.args Override default container args (useful when using custom images)
890
##
891
args: []
892
## @param server.extraArgs Additional arguments passed to the Prometheus server container
893
## extraArgs:
894
## - --log.level=debug
895
## - --tsdb.path=/data/
896
##
897
extraArgs: []
898
## @param server.automountServiceAccountToken Mount Service Account token in pod
899
##
900
automountServiceAccountToken: true
901
## @param server.hostAliases Prometheus pods host aliases
902
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
903
##
904
hostAliases: []
905
## @param server.podLabels Extra labels for Prometheus pods
906
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
907
##
908
podLabels: {}
909
## @param server.podAnnotations Annotations for Prometheus pods
910
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
911
##
912
podAnnotations: {}
913
## @param server.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
914
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
915
##
916
podAffinityPreset: ""
917
## @param server.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
918
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
919
##
920
podAntiAffinityPreset: soft
921
## Pod Disruption Budget configuration
922
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
923
## @param server.pdb.create Enable/disable a Pod Disruption Budget creation
924
## @param server.pdb.minAvailable [object] Minimum number/percentage of pods that should remain scheduled
925
## @param server.pdb.maxUnavailable [object] Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `server.pdb.minAvailable` and `server.pdb.maxUnavailable` are empty.
926
##
927
pdb:
928
create: true
929
minAvailable: ""
930
maxUnavailable: ""
931
## Node affinity preset
932
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
933
##
934
nodeAffinityPreset:
935
## @param server.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
936
##
937
type: ""
938
## @param server.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
939
##
940
key: ""
941
## @param server.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
942
## E.g.
943
## values:
944
## - e2e-az1
945
## - e2e-az2
946
##
947
values: []
948
## @param server.affinity Affinity for Prometheus pods assignment
949
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
950
## NOTE: `podAffinityPreset`, `podAntiAffinityPreset`, and `nodeAffinityPreset` will be ignored when it's set
951
##
952
affinity: {}
953
## @param server.nodeSelector Node labels for Prometheus pods assignment
954
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
955
##
956
nodeSelector: {}
957
## @param server.tolerations Tolerations for Prometheus pods assignment
958
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
959
##
960
tolerations: []
961
## @param server.updateStrategy.type Prometheus deployment strategy type. If persistence is enabled, strategy type should be set to Recreate to avoid dead locks.
962
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
963
##
964
updateStrategy:
965
## StrategyType
966
## Can be set to RollingUpdate or Recreate
967
##
968
type: RollingUpdate
969
## @param server.priorityClassName Prometheus pods' priorityClassName
970
##
971
priorityClassName: ""
972
## @param server.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
973
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
974
##
975
topologySpreadConstraints: []
976
## @param server.schedulerName Name of the k8s scheduler (other than default) for Prometheus pods
977
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
978
##
979
schedulerName: ""
980
## @param server.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
981
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
982
##
983
terminationGracePeriodSeconds: ""
984
## @param server.lifecycleHooks for the Prometheus container(s) to automate configuration before or after startup
985
##
986
lifecycleHooks: {}
987
## @param server.extraEnvVars Array with extra environment variables to add to Prometheus nodes
988
## e.g:
989
## extraEnvVars:
990
## - name: FOO
991
## value: "bar"
992
##
993
extraEnvVars: []
994
## @param server.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Prometheus nodes
995
##
996
extraEnvVarsCM: ""
997
## @param server.extraEnvVarsSecret Name of existing Secret containing extra env vars for Prometheus nodes
998
##
999
extraEnvVarsSecret: ""
1000
## @param server.extraVolumes Optionally specify extra list of additional volumes for the Prometheus pod(s)
1001
##
1002
extraVolumes: []
1003
## @param server.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Prometheus container(s)
1004
##
1005
extraVolumeMounts: []
1006
## @param server.sidecars Add additional sidecar containers to the Prometheus pod(s)
1007
## e.g:
1008
## sidecars:
1009
## - name: your-image-name
1010
## image: your-image
1011
## imagePullPolicy: Always
1012
## ports:
1013
## - name: portname
1014
## containerPort: 1234
1015
##
1016
sidecars: []
1017
## @param server.initContainers Add additional init containers to the Prometheus pod(s)
1018
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1019
## e.g:
1020
## initContainers:
1021
## - name: your-image-name
1022
## image: your-image
1023
## imagePullPolicy: Always
1024
## command: ['sh', '-c', 'echo "hello world"']
1025
##
1026
initContainers: []
1027
## @param server.routePrefix Prefix for the internal routes of web endpoints
1028
##
1029
routePrefix: /
1030
## @param server.remoteWrite The remote_write spec configuration for Prometheus
1031
##
1032
remoteWrite: []
1033
## @param server.scrapeInterval Interval between consecutive scrapes. Example: "1m"
1034
##
1035
scrapeInterval: ""
1036
## @param server.scrapeTimeout Interval between consecutive scrapes. Example: "10s"
1037
##
1038
scrapeTimeout: ""
1039
## @param server.evaluationInterval Interval between consecutive evaluations. Example: "1m"
1040
##
1041
evaluationInterval: ""
1042
## @param server.enableAdminAPI Enable Prometheus adminitrative API
1043
## ref: https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis
1044
##
1045
enableAdminAPI: false
1046
## @param server.enableRemoteWriteReceiver Enable Prometheus to be used as a receiver for the Prometheus remote write protocol.
1047
##
1048
enableRemoteWriteReceiver: false
1049
## @param server.enableFeatures Enable access to Prometheus disabled features.
1050
## ref: https://prometheus.io/docs/prometheus/latest/disabled_features/
1051
##
1052
enableFeatures: []
1053
## @param server.logLevel Log level for Prometheus
1054
##
1055
logLevel: info
1056
## @param server.logFormat Log format for Prometheus
1057
##
1058
logFormat: logfmt
1059
## @param server.retention Metrics retention days
1060
##
1061
retention: 10d
1062
## @param server.retentionSize Maximum size of metrics
1063
##
1064
retentionSize: "0"
1065
## @param server.alertingEndpoints Alertmanagers to which alerts will be sent
1066
## ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alertmanager_config
1067
##
1068
alertingEndpoints: []
1069
## @param server.externalLabels External labels to add to any time series or alerts when communicating with external systems
1070
##
1071
externalLabels: {}
1072
## Thanos sidecar container configuration
1073
##
1074
thanos:
1075
## @param server.thanos.create Create a Thanos sidecar container
1076
##
1077
create: false
1078
## Iamguarded Thanos image
1079
## @param server.thanos.image.registry [default: REGISTRY_NAME] Thanos image registry
1080
## @param server.thanos.image.repository [default: REPOSITORY_NAME/thanos] Thanos image name
1081
## @skip server.thanos.image.tag Thanos image tag
1082
## @param server.thanos.image.digest Thanos image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1083
## @param server.thanos.image.pullPolicy Thanos image pull policy
1084
## @param server.thanos.image.pullSecrets Specify docker-registry secret names as an array
1085
##
1086
image:
1087
registry: cgr.dev
1088
repository: chainguard-private/thanos-iamguarded
1089
tag: 0.42.5
1090
digest: ""
1091
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
1092
##
1093
pullPolicy: IfNotPresent
1094
## Optionally specify an array of imagePullSecrets.
1095
## Secrets must be manually created in the namespace.
1096
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1097
## Example:
1098
## pullSecrets:
1099
## - myRegistryKeySecretName
1100
##
1101
pullSecrets: []
1102
## Thanos Sidecar container's securityContext
1103
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1104
## @param server.thanos.containerSecurityContext.enabled Enabled containers' Security Context
1105
## @param server.thanos.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1106
## @param server.thanos.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1107
## @param server.thanos.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1108
## @param server.thanos.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1109
## @param server.thanos.containerSecurityContext.privileged Set container's Security Context privileged
1110
## @param server.thanos.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1111
## @param server.thanos.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1112
## @param server.thanos.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1113
## @param server.thanos.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1114
##
1115
containerSecurityContext:
1116
enabled: true
1117
seLinuxOptions: {}
1118
runAsUser: 1001
1119
runAsGroup: 1001
1120
runAsNonRoot: true
1121
privileged: false
1122
readOnlyRootFilesystem: true
1123
allowPrivilegeEscalation: false
1124
capabilities:
1125
drop: ["ALL"]
1126
seccompProfile:
1127
type: "RuntimeDefault"
1128
## @param server.thanos.prometheusUrl Override default prometheus url `http://localhost:9090`
1129
##
1130
prometheusUrl: ""
1131
## @param server.thanos.extraArgs Additional arguments passed to the thanos sidecar container
1132
## extraArgs:
1133
## - --log.level=debug
1134
## - --tsdb.path=/data/
1135
##
1136
extraArgs: []
1137
## @param server.thanos.objectStorageConfig.secretName Support mounting a Secret for the objectStorageConfig of the sideCar container.
1138
## @param server.thanos.objectStorageConfig.secretKey Secret key with the configuration file.
1139
## ref: https://github.com/thanos-io/thanos/blob/main/docs/storage.md
1140
## objectStorageConfig:
1141
## secretName: thanos-objstore-config
1142
## secretKey: thanos.yaml
1143
##
1144
objectStorageConfig:
1145
secretName: ""
1146
secretKey: thanos.yaml
1147
## ref: https://github.com/thanos-io/thanos/blob/main/docs/components/sidecar.md
1148
## @param server.thanos.extraVolumeMounts Additional volumeMounts from `server.volumes` for thanos sidecar container
1149
## extraVolumeMounts:
1150
## - name: my-secret-volume
1151
## mountPath: /etc/thanos/secrets/my-secret
1152
##
1153
extraVolumeMounts: []
1154
## Thanos sidecar container resource requests and limits.
1155
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1156
## We usually recommend not to specify default resources and to leave this as a conscious
1157
## choice for the user. This also increases chances charts run on environments with little
1158
## resources, such as Minikube. If you do want to specify resources, uncomment the following
1159
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
1160
## @param server.thanos.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if server.thanos.resources is set (server.thanos.resources is recommended for production).
1161
##
1162
resourcesPreset: "nano"
1163
## @param server.thanos.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1164
## Example:
1165
## resources:
1166
## requests:
1167
## cpu: 2
1168
## memory: 512Mi
1169
## limits:
1170
## cpu: 3
1171
## memory: 1024Mi
1172
##
1173
resources: {}
1174
## Configure extra options for liveness probe
1175
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1176
## @param server.thanos.livenessProbe.enabled Turn on and off liveness probe
1177
## @param server.thanos.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated
1178
## @param server.thanos.livenessProbe.periodSeconds How often to perform the probe
1179
## @param server.thanos.livenessProbe.timeoutSeconds When the probe times out
1180
## @param server.thanos.livenessProbe.failureThreshold Minimum consecutive failures for the probe
1181
## @param server.thanos.livenessProbe.successThreshold Minimum consecutive successes for the probe
1182
##
1183
livenessProbe:
1184
enabled: true
1185
initialDelaySeconds: 0
1186
periodSeconds: 5
1187
timeoutSeconds: 3
1188
failureThreshold: 120
1189
successThreshold: 1
1190
## Configure extra options for readiness probe
1191
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1192
## @param server.thanos.readinessProbe.enabled Turn on and off readiness probe
1193
## @param server.thanos.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated
1194
## @param server.thanos.readinessProbe.periodSeconds How often to perform the probe
1195
## @param server.thanos.readinessProbe.timeoutSeconds When the probe times out
1196
## @param server.thanos.readinessProbe.failureThreshold Minimum consecutive failures for the probe
1197
## @param server.thanos.readinessProbe.successThreshold Minimum consecutive successes for the probe
1198
##
1199
readinessProbe:
1200
enabled: true
1201
initialDelaySeconds: 0
1202
periodSeconds: 5
1203
timeoutSeconds: 3
1204
failureThreshold: 120
1205
successThreshold: 1
1206
## @param server.thanos.customLivenessProbe Custom livenessProbe that overrides the default one
1207
##
1208
customLivenessProbe: {}
1209
## @param server.thanos.customReadinessProbe Custom readinessProbe that overrides the default one
1210
##
1211
customReadinessProbe: {}
1212
## Thanos Sidecar Service
1213
##
1214
service:
1215
## @param server.thanos.service.type Kubernetes service type
1216
##
1217
type: ClusterIP
1218
## @param server.thanos.service.ports.grpc Thanos service port
1219
##
1220
ports:
1221
grpc: 10901
1222
## @param server.thanos.service.clusterIP Specific cluster IP when service type is cluster IP. Use `None` to create headless service by default.
1223
## Use a "headless" service by default so it returns every pod's IP instead of loadbalancing requests.
1224
##
1225
clusterIP: None
1226
## @param server.thanos.service.nodePorts.grpc Specify the nodePort value for the LoadBalancer and NodePort service types.
1227
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
1228
## e.g:
1229
## nodePort: 30901
1230
##
1231
nodePorts:
1232
grpc: ""
1233
## @param server.thanos.service.loadBalancerIP `loadBalancerIP` if service type is `LoadBalancer`
1234
## Set the LoadBalancer service type to internal only
1235
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
1236
##
1237
loadBalancerIP: ""
1238
## @param server.thanos.service.loadBalancerClass Thanos service Load Balancer class if service type is `LoadBalancer` (optional, cloud specific)
1239
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1240
##
1241
loadBalancerClass: ""
1242
## @param server.thanos.service.loadBalancerSourceRanges Address that are allowed when svc is `LoadBalancer`
1243
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1244
## e.g:
1245
## loadBalancerSourceRanges:
1246
## - 10.10.10.0/24
1247
##
1248
loadBalancerSourceRanges: []
1249
## @param server.thanos.service.annotations Additional annotations for Prometheus service
1250
##
1251
annotations: {}
1252
## @param server.thanos.service.extraPorts Additional ports to expose from the Thanos sidecar container
1253
## extraPorts:
1254
## - name: http
1255
## port: 10902
1256
## targetPort: http
1257
## protocol: TCP
1258
##
1259
extraPorts: []
1260
## @param server.thanos.service.externalTrafficPolicy Prometheus service external traffic policy
1261
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1262
##
1263
externalTrafficPolicy: Cluster
1264
## @param server.thanos.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
1265
## If "ClientIP", consecutive client requests will be directed to the same Pod
1266
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
1267
##
1268
sessionAffinity: None
1269
## @param server.thanos.service.sessionAffinityConfig Additional settings for the sessionAffinity
1270
## sessionAffinityConfig:
1271
## clientIP:
1272
## timeoutSeconds: 300
1273
##
1274
sessionAffinityConfig: {}
1275
## Configure the ingress resource that allows you to access the
1276
## Thanos Sidecar installation. Set up the URL
1277
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1278
##
1279
ingress:
1280
## @param server.thanos.ingress.enabled Enable ingress controller resource
1281
##
1282
enabled: false
1283
## @param server.thanos.ingress.pathType Ingress path type
1284
##
1285
pathType: ImplementationSpecific
1286
## @param server.thanos.ingress.hostname Default host for the ingress record
1287
##
1288
hostname: thanos.prometheus.local
1289
## @param server.thanos.ingress.path Default path for the ingress record
1290
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
1291
##
1292
path: /
1293
## @param server.thanos.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1294
## For a full list of possible ingress annotations, please see
1295
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
1296
## Use this parameter to set the required annotations for cert-manager, see
1297
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1298
##
1299
## Examples:
1300
## kubernetes.io/ingress.class: nginx
1301
## cert-manager.io/cluster-issuer: cluster-issuer-name
1302
##
1303
annotations: {}
1304
## @param server.thanos.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1305
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1306
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1307
##
1308
ingressClassName: ""
1309
## @param server.thanos.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
1310
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
1311
## You can:
1312
## - Use the `ingress.secrets` parameter to create this TLS secret
1313
## - Relay on cert-manager to create it by setting `ingress.certManager=true`
1314
## - Relay on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
1315
##
1316
tls: false
1317
## @param server.thanos.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1318
##
1319
selfSigned: false
1320
## @param server.thanos.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
1321
## e.g:
1322
## extraHosts:
1323
## - name: thanos.prometheus.local
1324
## path: /
1325
##
1326
extraHosts: []
1327
## @param server.thanos.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
1328
## e.g:
1329
## extraPaths:
1330
## - path: /*
1331
## backend:
1332
## serviceName: ssl-redirect
1333
## servicePort: use-annotation
1334
##
1335
extraPaths: []
1336
## @param server.thanos.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
1337
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1338
## e.g:
1339
## extraTls:
1340
## - hosts:
1341
## - thanos.prometheus.local
1342
## secretName: thanos.prometheus.local-tls
1343
##
1344
extraTls: []
1345
## @param server.thanos.ingress.secrets Custom TLS certificates as secrets
1346
## NOTE: 'key' and 'certificate' are expected in PEM format
1347
## NOTE: 'name' should line up with a 'secretName' set further up
1348
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
1349
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
1350
## It is also possible to create and manage the certificates outside of this helm chart
1351
## Please see README.md for more information
1352
## e.g:
1353
## secrets:
1354
## - name: thanos.prometheus.local-tls
1355
## key: |-
1356
## -----BEGIN RSA PRIVATE KEY-----
1357
## ...
1358
## -----END RSA PRIVATE KEY-----
1359
## certificate: |-
1360
## -----BEGIN CERTIFICATE-----
1361
## ...
1362
## -----END CERTIFICATE-----
1363
##
1364
secrets: []
1365
## @param server.thanos.ingress.extraRules The list of additional rules to be added to this ingress record. Evaluated as a template
1366
## Useful when looking for additional customization, such as using different backend
1367
##
1368
extraRules: []
1369
## Prometheus Server ingress parameters
1370
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
1371
##
1372
ingress:
1373
## @param server.ingress.enabled Enable ingress record generation for Prometheus
1374
##
1375
enabled: false
1376
## @param server.ingress.pathType Ingress path type
1377
##
1378
pathType: ImplementationSpecific
1379
## @param server.ingress.hostname Default host for the ingress record
1380
##
1381
hostname: server.prometheus.local
1382
## @param server.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1383
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1384
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1385
##
1386
ingressClassName: ""
1387
## @param server.ingress.path Default path for the ingress record
1388
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
1389
##
1390
path: /
1391
## @param server.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1392
## Use this parameter to set the required annotations for cert-manager, see
1393
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1394
## e.g:
1395
## annotations:
1396
## kubernetes.io/ingress.class: nginx
1397
## cert-manager.io/cluster-issuer: cluster-issuer-name
1398
##
1399
annotations: {}
1400
## @param server.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
1401
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
1402
## You can:
1403
## - Use the `ingress.secrets` parameter to create this TLS secret
1404
## - Rely on cert-manager to create it by setting the corresponding annotations
1405
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
1406
##
1407
tls: false
1408
## @param server.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1409
##
1410
selfSigned: false
1411
## @param server.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
1412
## e.g:
1413
## extraHosts:
1414
## - name: prometheus.local
1415
## path: /
1416
##
1417
extraHosts: []
1418
## @param server.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
1419
## e.g:
1420
## extraPaths:
1421
## - path: /*
1422
## backend:
1423
## serviceName: ssl-redirect
1424
## servicePort: use-annotation
1425
##
1426
extraPaths: []
1427
## @param server.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
1428
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1429
## e.g:
1430
## extraTls:
1431
## - hosts:
1432
## - prometheus.local
1433
## secretName: prometheus.local-tls
1434
##
1435
extraTls: []
1436
## @param server.ingress.secrets Custom TLS certificates as secrets
1437
## NOTE: 'key' and 'certificate' are expected in PEM format
1438
## NOTE: 'name' should line up with a 'secretName' set further up
1439
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
1440
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
1441
## It is also possible to create and manage the certificates outside of this helm chart
1442
## Please see README.md for more information
1443
## e.g:
1444
## secrets:
1445
## - name: prometheus.local-tls
1446
## key: |-
1447
## -----BEGIN RSA PRIVATE KEY-----
1448
## ...
1449
## -----END RSA PRIVATE KEY-----
1450
## certificate: |-
1451
## -----BEGIN CERTIFICATE-----
1452
## ...
1453
## -----END CERTIFICATE-----
1454
##
1455
secrets: []
1456
## @param server.ingress.extraRules Additional rules to be covered with this ingress record
1457
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
1458
## e.g:
1459
## extraRules:
1460
## - host: example.local
1461
## http:
1462
## path: /
1463
## backend:
1464
## service:
1465
## name: example-svc
1466
## port:
1467
## name: http
1468
##
1469
extraRules: []
1470
## ServiceAccount configuration
1471
##
1472
serviceAccount:
1473
## @param server.serviceAccount.create Specifies whether a ServiceAccount should be created
1474
##
1475
create: true
1476
## @param server.serviceAccount.name The name of the ServiceAccount to use.
1477
## If not set and create is true, a name is generated using the common.names.fullname template
1478
##
1479
name: ""
1480
## @param server.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
1481
##
1482
annotations: {}
1483
## @param server.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1484
##
1485
automountServiceAccountToken: false
1486
## Network Policies
1487
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1488
##
1489
networkPolicy:
1490
## @param server.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1491
##
1492
enabled: true
1493
## @param server.networkPolicy.allowExternal Don't require server label for connections
1494
## The Policy model to apply. When set to false, only pods with the correct
1495
## server label will have network access to the ports server is listening
1496
## on. When true, server will accept connections from any source
1497
## (with the correct destination port).
1498
##
1499
allowExternal: true
1500
## @param server.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1501
##
1502
allowExternalEgress: true
1503
## @param server.networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `server.networkPolicy.allowExternal` is true.
1504
##
1505
addExternalClientAccess: true
1506
## @param server.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1507
## e.g:
1508
## extraIngress:
1509
## - ports:
1510
## - port: 1234
1511
## from:
1512
## - podSelector:
1513
## - matchLabels:
1514
## - role: frontend
1515
## - podSelector:
1516
## - matchExpressions:
1517
## - key: role
1518
## operator: In
1519
## values:
1520
## - frontend
1521
extraIngress: []
1522
## @param server.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1523
## e.g:
1524
## extraEgress:
1525
## - ports:
1526
## - port: 1234
1527
## to:
1528
## - podSelector:
1529
## - matchLabels:
1530
## - role: frontend
1531
## - podSelector:
1532
## - matchExpressions:
1533
## - key: role
1534
## operator: In
1535
## values:
1536
## - frontend
1537
##
1538
extraEgress: []
1539
## @param server.networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `server.networkPolicy.allowExternal` is true.
1540
## e.g:
1541
## ingressPodMatchLabels:
1542
## my-client: "true"
1543
#
1544
ingressPodMatchLabels: {}
1545
## @param server.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces. Ignored if `server.networkPolicy.allowExternal` is true.
1546
## @param server.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces. Ignored if `server.networkPolicy.allowExternal` is true.
1547
##
1548
ingressNSMatchLabels: {}
1549
ingressNSPodMatchLabels: {}
1550
## Prometheus service parameters
1551
##
1552
service:
1553
## @param server.service.type Prometheus service type
1554
##
1555
type: LoadBalancer
1556
## @param server.service.ports.http Prometheus service HTTP port
1557
##
1558
ports:
1559
http: 80
1560
## Node ports to expose
1561
## @param server.service.nodePorts.http Node port for HTTP
1562
## NOTE: choose port between <30000-32767>
1563
##
1564
nodePorts:
1565
http: ""
1566
## @param server.service.clusterIP Prometheus service Cluster IP
1567
## e.g.:
1568
## clusterIP: None
1569
##
1570
clusterIP: ""
1571
## @param server.service.loadBalancerIP Prometheus service Load Balancer IP
1572
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1573
##
1574
loadBalancerIP: ""
1575
## @param server.service.loadBalancerClass Prometheus service Load Balancer class if service type is `LoadBalancer` (optional, cloud specific)
1576
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1577
##
1578
loadBalancerClass: ""
1579
## @param server.service.loadBalancerSourceRanges Prometheus service Load Balancer sources
1580
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1581
## e.g:
1582
## loadBalancerSourceRanges:
1583
## - 10.10.10.0/24
1584
##
1585
loadBalancerSourceRanges: []
1586
## @param server.service.externalTrafficPolicy Prometheus service external traffic policy
1587
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1588
##
1589
externalTrafficPolicy: Cluster
1590
## @param server.service.annotations Additional custom annotations for Prometheus service
1591
##
1592
annotations: {}
1593
## @param server.service.extraPorts Extra ports to expose in Prometheus service (normally used with the `sidecars` value)
1594
##
1595
extraPorts: []
1596
## @param server.service.sessionAffinity Control where client requests go, to the same pod or round-robin. ClientIP by default.
1597
## Values: ClientIP or None
1598
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1599
##
1600
sessionAffinity: ClientIP
1601
## @param server.service.sessionAffinityConfig Additional settings for the sessionAffinity
1602
## sessionAffinityConfig:
1603
## clientIP:
1604
## timeoutSeconds: 300
1605
##
1606
sessionAffinityConfig: {}
1607
## Persistence Parameters
1608
##
1609
1610
## Enable persistence using Persistent Volume Claims
1611
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1612
##
1613
persistence:
1614
## @param server.persistence.enabled Enable persistence using Persistent Volume Claims. If you have multiple instances (server.repicacount > 1), please considere using an external storage service like Thanos or Grafana Mimir
1615
##
1616
enabled: false
1617
## @param server.persistence.mountPath Path to mount the volume at.
1618
##
1619
mountPath: /iamguarded/prometheus/data
1620
## @param server.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
1621
##
1622
subPath: ""
1623
## @param server.persistence.storageClass Storage class of backing PVC
1624
## If defined, storageClassName: <storageClass>
1625
## If set to "-", storageClassName: "", which disables dynamic provisioning
1626
## If undefined (the default) or set to null, no storageClassName spec is
1627
## set, choosing the default provisioner. (gp2 on AWS, standard on
1628
## GKE, AWS & OpenStack)
1629
##
1630
storageClass: ""
1631
## @param server.persistence.annotations Persistent Volume Claim annotations
1632
##
1633
annotations: {}
1634
## @param server.persistence.accessModes Persistent Volume Access Modes
1635
##
1636
accessModes:
1637
- ReadWriteOnce
1638
## @param server.persistence.size Size of data volume
1639
##
1640
size: 8Gi
1641
## @param server.persistence.existingClaim The name of an existing PVC to use for persistence
1642
##
1643
existingClaim: ""
1644
## @param server.persistence.selector Selector to match an existing Persistent Volume for Prometheus data PVC
1645
## If set, the PVC can't have a PV dynamically provisioned for it
1646
## E.g.
1647
## selector:
1648
## matchLabels:
1649
## app: my-app
1650
##
1651
selector: {}
1652
## @param server.persistence.dataSource Custom PVC data source
1653
##
1654
dataSource: {}
1655
# RBAC configuration
1656
##
1657
rbac:
1658
## @param server.rbac.create Specifies whether RBAC resources should be created
1659
##
1660
create: true
1661
## @param server.rbac.includeDefaultRules Specifies whether to include default rules from official prometheus helm chart
1662
## ref: https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/templates/clusterrole.yaml
1663
##
1664
includeDefaultRules: true
1665
## @param server.rbac.rules Custom RBAC rules to set
1666
## e.g:
1667
## rules:
1668
## - apiGroups:
1669
## - ""
1670
## resources:
1671
## - pods
1672
## verbs:
1673
## - get
1674
## - list
1675
##
1676
rules: []
1677
## @section Init Container Parameters
1678
##
1679
1680
## 'volumePermissions' init container parameters
1681
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
1682
## based on the *podSecurityContext/*containerSecurityContext parameters
1683
##
1684
volumePermissions:
1685
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
1686
##
1687
enabled: false
1688
## OS Shell + Utility image
1689
## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
1690
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
1691
## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
1692
## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
1693
## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
1694
##
1695
image:
1696
registry: cgr.dev
1697
repository: chainguard-private/os-shell-iamguarded
1698
tag: 1.0.0
1699
pullPolicy: IfNotPresent
1700
digest: ""
1701
## Optionally specify an array of imagePullSecrets.
1702
## Secrets must be manually created in the namespace.
1703
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1704
## e.g:
1705
## pullSecrets:
1706
## - myRegistryKeySecretName
1707
##
1708
pullSecrets: []
1709
## Init container's resource requests and limits
1710
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1711
## @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).
1712
##
1713
resourcesPreset: "nano"
1714
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1715
## Example:
1716
## resources:
1717
## requests:
1718
## cpu: 2
1719
## memory: 512Mi
1720
## limits:
1721
## cpu: 3
1722
## memory: 1024Mi
1723
##
1724
resources: {}
1725
## Init container Container Security Context
1726
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1727
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1728
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
1729
## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
1730
## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
1731
## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
1732
##
1733
containerSecurityContext:
1734
seLinuxOptions: {}
1735
runAsUser: 0
1736

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.