DirectorySecurity AdvisoriesPricing
Sign in
Directory
nginx-ingress-controller logoHELM

nginx-ingress-controller

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
##
19
global:
20
imageRegistry: ""
21
useImageTags: false
22
## E.g.
23
## imagePullSecrets:
24
## - myRegistryKeySecretName
25
##
26
imagePullSecrets: []
27
## Security parameters
28
##
29
security:
30
## @param global.security.allowInsecureImages Allows skipping image verification
31
allowInsecureImages: false
32
## Compatibility adaptations for Kubernetes platforms
33
##
34
compatibility:
35
## Compatibility adaptations for Openshift
36
##
37
openshift:
38
## @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)
39
##
40
adaptSecurityContext: auto
41
org: ""
42
## @section Common parameters
43
44
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
45
##
46
kubeVersion: ""
47
## @param nameOverride String to partially override common.names.fullname
48
##
49
nameOverride: ""
50
## @param fullnameOverride String to fully override common.names.fullname
51
##
52
fullnameOverride: ""
53
## @param namespaceOverride String to fully override common.names.namespace
54
##
55
namespaceOverride: ""
56
## @param commonLabels Add labels to all the deployed resources
57
##
58
commonLabels: {}
59
## @param commonAnnotations Add annotations to all the deployed resources
60
##
61
commonAnnotations: {}
62
## @param extraDeploy Array of extra objects to deploy with the release
63
##
64
extraDeploy: []
65
## @param clusterDomain Kubernetes cluster domain name
66
##
67
clusterDomain: cluster.local
68
## @section Nginx Ingress Controller parameters
69
70
## Iamguarded NGINX Ingress controller image version
71
## @param image.registry [default: REGISTRY_NAME] Nginx Ingress Controller image registry
72
## @param image.repository [default: REPOSITORY_NAME/nginx-ingress-controller] Nginx Ingress Controller image repository
73
## @skip image.tag Nginx Ingress Controller image tag (immutable tags are recommended)
74
## @param image.digest Nginx Ingress Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
75
## @param image.pullPolicy Nginx Ingress Controller image pull policy
76
## @param image.pullSecrets Specify docker-registry secret names as an array
77
##
78
image:
79
registry: cgr.dev
80
repository: chainguard-private/ingress-nginx-controller-iamguarded
81
tag: 1.15.12
82
digest: ""
83
## Specify a imagePullPolicy
84
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
85
##
86
pullPolicy: IfNotPresent
87
## Optionally specify an array of imagePullSecrets.
88
## Secrets must be manually created in the namespace.
89
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
90
## Example:
91
## pullSecrets:
92
## - myRegistryKeySecretName
93
##
94
pullSecrets: []
95
## @param containerPorts.http Nginx Ingress Controller HTTP port
96
## @param containerPorts.https Nginx Ingress Controller HTTPS port
97
## @param containerPorts.defaultServer Nginx Ingress Controller default server port
98
## @param containerPorts.metrics Nginx Ingress Controller metrics port
99
## @param containerPorts.profiler Nginx Ingress Controller profiler port
100
## @param containerPorts.status Nginx Ingress Controller status port
101
## @param containerPorts.stream Nginx Ingress Controller stream port
102
##
103
containerPorts:
104
http: 8080
105
https: 8443
106
defaultServer: 8181
107
metrics: 10254
108
profiler: 10245
109
status: 10246
110
stream: 10247
111
## @param automountServiceAccountToken Mount Service Account token in pod
112
##
113
automountServiceAccountToken: true
114
## @param hostAliases Deployment pod host aliases
115
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
116
##
117
hostAliases: []
118
## @param config Custom configuration options for NGINX
119
## ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
120
##
121
config: {}
122
## @param proxySetHeaders Custom headers before sending traffic to backends
123
## ref: https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/customization/custom-headers
124
##
125
proxySetHeaders: {}
126
## @param addHeaders Custom headers before sending response traffic to the client
127
## ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers
128
##
129
addHeaders: {}
130
## @param defaultBackendService Default 404 backend service; required only if `defaultBackend.enabled = false`
131
## Must be <namespace>/<service_name>
132
##
133
defaultBackendService: ""
134
## @param electionID Election ID to use for status update
135
##
136
electionID: ingress-controller-leader
137
## @param allowSnippetAnnotations Allow users to set snippet annotations
138
##
139
allowSnippetAnnotations: false
140
## @param reportNodeInternalIp If using `hostNetwork=true`, setting `reportNodeInternalIp=true`, will pass the flag `report-node-internal-ip-address` to Nginx Ingress Controller
141
## Bare-metal considerations via the host network
142
## ref: https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network
143
##
144
reportNodeInternalIp: false
145
## @param watchIngressWithoutClass Process Ingress objects without ingressClass annotation/ingressClassName field
146
##
147
watchIngressWithoutClass: false
148
## Configuring this doesn't affect `kubernetes.io/ingress.class` annotation. See `extraArgs` below how to configure processing of custom annotation.
149
## @param ingressClassResource.name Name of the IngressClass resource
150
## @param ingressClassResource.enabled Create the IngressClass resource
151
## @param ingressClassResource.default Set the created IngressClass resource as default class
152
## @param ingressClassResource.controllerClass IngressClass identifier for the controller
153
## @param ingressClassResource.parameters Optional parameters for the controller
154
##
155
ingressClassResource:
156
name: nginx
157
enabled: true
158
default: false
159
controllerClass: "k8s.io/ingress-nginx"
160
parameters: {}
161
## Allows customization of the external service
162
## the ingress will be bound to via DNS
163
##
164
publishService:
165
## @param publishService.enabled Set the endpoint records on the Ingress objects to reflect those on the service
166
##
167
enabled: false
168
## @param publishService.pathOverride Allows overriding of the publish service to bind to
169
## Must be <namespace>/<service_name>
170
##
171
pathOverride: ""
172
## @param scope.enabled Limit the scope of the controller.
173
## @param scope.namespace Scope namespace. Defaults to `.Release.Namespace`
174
##
175
scope:
176
enabled: false
177
namespace: ""
178
## @param configMapNamespace Allows customization of the configmap / nginx-configmap namespace
179
## Defaults to .Release.Namespace
180
##
181
configMapNamespace: ""
182
## @param tcpConfigMapNamespace Allows customization of the tcp-services-configmap namespace
183
## Defaults to .Release.Namespace
184
##
185
tcpConfigMapNamespace: ""
186
## @param udpConfigMapNamespace Allows customization of the udp-services-configmap namespace
187
## Defaults to .Release.Namespace
188
##
189
udpConfigMapNamespace: ""
190
## @param maxmindLicenseKey License key used to download Geolite2 database
191
##
192
maxmindLicenseKey: ""
193
## @param dhParam A base64ed Diffie-Hellman parameter
194
## This can be generated with: openssl dhparam 4096 2> /
195
## Ref: https://github.com/krmichel/ingress-nginx/blob/master/docs/examples/customization/ssl-dh-param
196
dhParam: ""
197
## @param tcp TCP service key:value pairs
198
## ref: https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tcp
199
## e.g:
200
## tcp:
201
## 8080: "default/example-tcp-svc:9000"
202
##
203
tcp: {}
204
## @param udp UDP service key:value pairs
205
## ref: https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/udp
206
## e.g:
207
## udp:
208
## 53: "kube-system/kube-dns:53"
209
##
210
udp: {}
211
## @param svcPortNamesPrefix Prefix for TCP and UDP ports names in ingress controller service
212
## Some cloud providers, like Yandex Cloud may have a requirements for a port name regex to support cloud load balancer integration
213
##
214
svcPortNamesPrefix: ""
215
## @param command Override default container command (useful when using custom images)
216
##
217
command: []
218
## @param args Override default container args (useful when using custom images)
219
##
220
args: []
221
## @param lifecycleHooks for the %%MAIN_CONTAINER_NAME%% container(s) to automate configuration before or after startup
222
##
223
lifecycleHooks: {}
224
## @param extraArgs Additional command line arguments to pass to nginx-ingress-controller
225
## E.g. to specify the default SSL certificate you can use
226
## extraArgs:
227
## default-ssl-certificate: "<namespace>/<secret_name>"
228
## ingress-class: nginx
229
##
230
extraArgs: {}
231
## @param extraEnvVars Extra environment variables to be set on Nginx Ingress container
232
## E.g:
233
## extraEnvs:
234
## - name: FOO
235
## valueFrom:
236
## secretKeyRef:
237
## key: FOO
238
## name: secret-resource
239
##
240
extraEnvVars: []
241
## @param extraEnvVarsCM Name of a existing ConfigMap containing extra environment variables
242
##
243
extraEnvVarsCM: ""
244
## @param extraEnvVarsSecret Name of a existing Secret containing extra environment variables
245
##
246
extraEnvVarsSecret: ""
247
## @section Nginx Ingress deployment / daemonset parameters
248
249
## @param kind Install as Deployment or DaemonSet
250
##
251
kind: Deployment
252
## Daemonset configuration
253
##
254
daemonset:
255
## @param daemonset.useHostPort If `kind` is `DaemonSet`, this will enable `hostPort` for `TCP/80` and `TCP/443`
256
##
257
useHostPort: false
258
## @param daemonset.hostPorts [object] HTTP and HTTPS ports
259
##
260
hostPorts:
261
http: 80
262
https: 443
263
## @param replicaCount Desired number of Controller pods
264
##
265
replicaCount: 1
266
## @param updateStrategy Strategy to use to update Pods
267
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
268
##
269
updateStrategy: {}
270
## @param revisionHistoryLimit The number of old history to retain to allow rollback
271
##
272
revisionHistoryLimit: 10
273
## Controller pods' Security Context
274
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
275
## @param podSecurityContext.enabled Enable Controller pods' Security Context
276
## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
277
## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
278
## @param podSecurityContext.supplementalGroups Set filesystem extra groups
279
## @param podSecurityContext.fsGroup Group ID for the container filesystem
280
##
281
podSecurityContext:
282
enabled: true
283
fsGroupChangePolicy: Always
284
sysctls: []
285
supplementalGroups: []
286
fsGroup: 1001
287
## Controller containers' Security Context (only main container)
288
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
289
## @param containerSecurityContext.enabled Enable Controller containers' Security Context
290
## @param containerSecurityContext.allowPrivilegeEscalation Switch to allow priviledge escalation on the Controller container
291
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
292
## @param containerSecurityContext.runAsUser User ID for the Controller container
293
## @param containerSecurityContext.runAsGroup Group ID for the Controller container
294
## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
295
## @param containerSecurityContext.capabilities.drop [array] Linux Kernel capabilities that should be dropped
296
## @param containerSecurityContext.capabilities.add [array] Linux Kernel capabilities that should be added
297
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
298
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
299
##
300
containerSecurityContext:
301
enabled: true
302
allowPrivilegeEscalation: false
303
seLinuxOptions: {}
304
runAsUser: 1001
305
runAsGroup: 1001
306
readOnlyRootFilesystem: true
307
capabilities:
308
drop: ["ALL"]
309
add: ["NET_BIND_SERVICE"]
310
runAsNonRoot: true
311
seccompProfile:
312
type: "RuntimeDefault"
313
## @param minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
314
##
315
minReadySeconds: 0
316
## Controller containers' resource requests and limits
317
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
318
## We usually recommend not to specify default resources and to leave this as a conscious
319
## choice for the user. This also increases chances charts run on environments with little
320
## resources, such as Minikube. If you do want to specify resources, uncomment the following
321
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
322
## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
323
##
324
resourcesPreset: "nano"
325
## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
326
## Example:
327
## resources:
328
## requests:
329
## cpu: 2
330
## memory: 512Mi
331
## limits:
332
## cpu: 3
333
## memory: 1024Mi
334
##
335
resources: {}
336
## Controller containers' liveness probe. Evaluated as a template.
337
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
338
## @param livenessProbe.enabled Enable livenessProbe
339
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
340
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
341
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
342
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
343
## @param livenessProbe.successThreshold Success threshold for livenessProbe
344
##
345
livenessProbe:
346
enabled: true
347
failureThreshold: 3
348
initialDelaySeconds: 10
349
periodSeconds: 10
350
successThreshold: 1
351
timeoutSeconds: 1
352
## Controller containers' readiness probe. Evaluated as a template.
353
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
354
## @param readinessProbe.enabled Enable readinessProbe
355
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
356
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
357
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
358
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
359
## @param readinessProbe.successThreshold Success threshold for readinessProbe
360
##
361
readinessProbe:
362
enabled: true
363
failureThreshold: 3
364
initialDelaySeconds: 10
365
periodSeconds: 10
366
successThreshold: 1
367
timeoutSeconds: 1
368
## Controller containers' startup probe. Evaluated as a template.
369
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
370
## @param startupProbe.enabled Enable startupProbe
371
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
372
## @param startupProbe.periodSeconds Period seconds for startupProbe
373
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
374
## @param startupProbe.failureThreshold Failure threshold for startupProbe
375
## @param startupProbe.successThreshold Success threshold for startupProbe
376
##
377
startupProbe:
378
enabled: false
379
failureThreshold: 3
380
initialDelaySeconds: 10
381
periodSeconds: 10
382
successThreshold: 1
383
timeoutSeconds: 1
384
## @param customLivenessProbe Override default liveness probe
385
##
386
customLivenessProbe: {}
387
## @param customReadinessProbe Override default readiness probe
388
##
389
customReadinessProbe: {}
390
## @param customStartupProbe Custom liveness probe for the Web component
391
##
392
customStartupProbe: {}
393
## @param lifecycle LifecycleHooks to set additional configuration at startup
394
##
395
lifecycle: {}
396
## @param podLabels Extra labels for Controller pods
397
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
398
##
399
podLabels: {}
400
## @param podAnnotations Annotations for Controller pods
401
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
402
##
403
podAnnotations: {}
404
## @param priorityClassName Controller priorityClassName
405
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
406
##
407
priorityClassName: ""
408
## @param schedulerName Name of the k8s scheduler (other than default)
409
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
410
##
411
schedulerName: ""
412
## @param hostNetwork If the Nginx deployment / daemonset should run on the host's network namespace
413
## Required on CNI based K8s installations, since CNI and hostport don't mix yet
414
## Can be deprecated once https://github.com/kubernetes/kubernetes/issues/23920 is merged
415
##
416
hostNetwork: false
417
## @param dnsPolicy By default, while using host network, name resolution uses the host's DNS
418
## Optionally, change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true' if you wish nginx-controller
419
## to keep resolving names inside the Kubernetes network
420
##
421
dnsPolicy: ClusterFirst
422
## @param dnsConfig is an object with optional parameters to pass to the DNS resolver
423
## The dnsConfig field is optional and it can work with any dnsPolicy settings.
424
## However, when a Pod's dnsPolicy is set to "None", the dnsConfig field has to be specified.
425
##
426
dnsConfig: {}
427
## @param terminationGracePeriodSeconds How many seconds to wait before terminating a pod
428
##
429
terminationGracePeriodSeconds: 60
430
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
431
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
432
##
433
podAffinityPreset: ""
434
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
435
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
436
##
437
podAntiAffinityPreset: soft
438
## Node affinity preset
439
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
440
##
441
nodeAffinityPreset:
442
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
443
##
444
type: ""
445
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
446
## E.g.
447
## key: "kubernetes.io/e2e-az-name"
448
##
449
key: ""
450
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
451
## E.g.
452
## values:
453
## - e2e-az1
454
## - e2e-az2
455
##
456
values: []
457
## @param affinity Affinity for pod assignment. Evaluated as a template.
458
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
459
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
460
##
461
affinity: {}
462
## @param nodeSelector Node labels for pod assignment. Evaluated as a template.
463
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
464
##
465
nodeSelector: {}
466
## @param tolerations Tolerations for pod assignment. Evaluated as a template.
467
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
468
##
469
tolerations: []
470
## @param extraVolumes Optionally specify extra list of additional volumes for Controller pods
471
##
472
extraVolumes: []
473
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for Controller container(s)
474
##
475
extraVolumeMounts: []
476
## @param initContainers Add init containers to the controller pods
477
## Example:
478
## initContainers:
479
## - name: your-image-name
480
## image: your-image
481
## imagePullPolicy: Always
482
## ports:
483
## - name: portname
484
## containerPort: 1234
485
##
486
initContainers: []
487
## @param sidecars Add sidecars to the controller pods.
488
## Example:
489
## sidecars:
490
## - name: your-image-name
491
## image: your-image
492
## imagePullPolicy: Always
493
## ports:
494
## - name: portname
495
## containerPort: 1234
496
##
497
sidecars: []
498
## @param customTemplate [object] Override NGINX template
499
##
500
customTemplate:
501
configMapName: ""
502
configMapKey: ""
503
## @param topologySpreadConstraints Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in
504
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
505
##
506
## topologySpreadConstraints:
507
## - maxSkew: 1
508
## topologyKey: failure-domain.beta.kubernetes.io/zone
509
## whenUnsatisfiable: DoNotSchedule
510
## labelSelector:
511
## matchLabels:
512
## app.kubernetes.io/instance: ingress-nginx-internal
513
##
514
topologySpreadConstraints: []
515
## @param podSecurityPolicy.enabled Whether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
516
## https://kubernetes.io/docs/concepts/policy/pod-security-policy/
517
##
518
podSecurityPolicy:
519
enabled: false
520
## @section Default backend parameters
521
522
## Default 404 backend
523
##
524
defaultBackend:
525
## @param defaultBackend.enabled Enable a default backend based on NGINX
526
##
527
enabled: true
528
## @param defaultBackend.automountServiceAccountToken Mount Service Account token in pod
529
##
530
automountServiceAccountToken: true
531
## @param defaultBackend.hostAliases Add deployment host aliases
532
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
533
##
534
hostAliases: []
535
## Iamguarded NGINX image
536
## @param defaultBackend.image.registry [default: REGISTRY_NAME] Default backend image registry
537
## @param defaultBackend.image.repository [default: REPOSITORY_NAME/nginx] Default backend image repository
538
## @skip defaultBackend.image.tag Default backend image tag (immutable tags are recommended)
539
## @param defaultBackend.image.digest Default backend image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
540
## @param defaultBackend.image.pullPolicy Image pull policy
541
## @param defaultBackend.image.pullSecrets Specify docker-registry secret names as an array
542
##
543
image:
544
registry: cgr.dev
545
repository: chainguard-private/nginx-iamguarded
546
tag: 1.31.8
547
digest: ""
548
## Specify a imagePullPolicy
549
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
550
##
551
pullPolicy: IfNotPresent
552
## Optionally specify an array of imagePullSecrets.
553
## Secrets must be manually created in the namespace.
554
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
555
## Example:
556
## pullSecrets:
557
## - myRegistryKeySecretName
558
##
559
pullSecrets: []
560
## @param defaultBackend.extraArgs Additional command line arguments to pass to Nginx container
561
##
562
extraArgs: {}
563
## @param defaultBackend.containerPort HTTP container port number
564
##
565
containerPort: 8080
566
## @param defaultBackend.serverBlockConfig [string] NGINX backend default server block configuration
567
## Should be compliant with: https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/
568
##
569
serverBlockConfig: |-
570
location /healthz {
571
return 200;
572
}
573
574
location / {
575
return 404;
576
}
577
## @param defaultBackend.replicaCount Desired number of default backend pods
578
##
579
replicaCount: 1
580
## Default backend pods' Security Context
581
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
582
## @param defaultBackend.podSecurityContext.enabled Enable Default backend pods' Security Context
583
## @param defaultBackend.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
584
## @param defaultBackend.podSecurityContext.sysctls Set kernel settings using the sysctl interface
585
## @param defaultBackend.podSecurityContext.supplementalGroups Set filesystem extra groups
586
## @param defaultBackend.podSecurityContext.fsGroup Group ID for the container filesystem
587
##
588
podSecurityContext:
589
enabled: true
590
fsGroupChangePolicy: Always
591
sysctls: []
592
supplementalGroups: []
593
fsGroup: 1001
594
## Default backend containers' Security Context (only main container)
595
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
596
## @param defaultBackend.containerSecurityContext.enabled Enable Default backend containers' Security Context
597
## @param defaultBackend.containerSecurityContext.capabilities.drop [array] Linux Kernel capabilities that should be dropped
598
## @param defaultBackend.containerSecurityContext.allowPrivilegeEscalation Switch to allow priviledge escalation on the container
599
## @param defaultBackend.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
600
## @param defaultBackend.containerSecurityContext.runAsUser User ID for the Default backend container
601
## @param defaultBackend.containerSecurityContext.runAsGroup Group ID for the Default backend container
602
## @param defaultBackend.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
603
## @param defaultBackend.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
604
## @param defaultBackend.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
605
##
606
containerSecurityContext:
607
enabled: true
608
allowPrivilegeEscalation: false
609
seLinuxOptions: {}
610
runAsUser: 1001
611
runAsGroup: 1001
612
readOnlyRootFilesystem: true
613
capabilities:
614
drop: ["ALL"]
615
runAsNonRoot: true
616
seccompProfile:
617
type: "RuntimeDefault"
618
## Default backend containers' resource requests and limits
619
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
620
## We usually recommend not to specify default resources and to leave this as a conscious
621
## choice for the user. This also increases chances charts run on environments with little
622
## resources, such as Minikube. If you do want to specify resources, uncomment the following
623
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
624
## @param defaultBackend.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if defaultBackend.resources is set (defaultBackend.resources is recommended for production).
625
##
626
resourcesPreset: "nano"
627
## @param defaultBackend.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
628
## Example:
629
## resources:
630
## requests:
631
## cpu: 2
632
## memory: 512Mi
633
## limits:
634
## cpu: 3
635
## memory: 1024Mi
636
##
637
resources: {}
638
## Default backend containers' liveness probe. Evaluated as a template.
639
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
640
## @param defaultBackend.livenessProbe.enabled Enable livenessProbe
641
## @param defaultBackend.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
642
## @param defaultBackend.livenessProbe.periodSeconds Period seconds for livenessProbe
643
## @param defaultBackend.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
644
## @param defaultBackend.livenessProbe.failureThreshold Failure threshold for livenessProbe
645
## @param defaultBackend.livenessProbe.successThreshold Success threshold for livenessProbe
646
##
647
livenessProbe:
648
enabled: true
649
failureThreshold: 3
650
initialDelaySeconds: 30
651
periodSeconds: 10
652
successThreshold: 1
653
timeoutSeconds: 5
654
## Default backend containers' readiness probe. Evaluated as a template.
655
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
656
## @param defaultBackend.readinessProbe.enabled Enable readinessProbe
657
## @param defaultBackend.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
658
## @param defaultBackend.readinessProbe.periodSeconds Period seconds for readinessProbe
659
## @param defaultBackend.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
660
## @param defaultBackend.readinessProbe.failureThreshold Failure threshold for readinessProbe
661
## @param defaultBackend.readinessProbe.successThreshold Success threshold for readinessProbe
662
##
663
readinessProbe:
664
enabled: true
665
failureThreshold: 6
666
initialDelaySeconds: 0
667
periodSeconds: 5
668
successThreshold: 1
669
timeoutSeconds: 5
670
## Default backend containers' startup probe. Evaluated as a template.
671
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
672
## @param defaultBackend.startupProbe.enabled Enable startupProbe
673
## @param defaultBackend.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
674
## @param defaultBackend.startupProbe.periodSeconds Period seconds for startupProbe
675
## @param defaultBackend.startupProbe.timeoutSeconds Timeout seconds for startupProbe
676
## @param defaultBackend.startupProbe.failureThreshold Failure threshold for startupProbe
677
## @param defaultBackend.startupProbe.successThreshold Success threshold for startupProbe
678
##
679
startupProbe:
680
enabled: false
681
failureThreshold: 6
682
initialDelaySeconds: 0
683
periodSeconds: 5
684
successThreshold: 1
685
timeoutSeconds: 5
686
## @param defaultBackend.customStartupProbe Custom liveness probe for the Web component
687
##
688
customStartupProbe: {}
689
## @param defaultBackend.customLivenessProbe Custom liveness probe for the Web component
690
##
691
customLivenessProbe: {}
692
## @param defaultBackend.customReadinessProbe Custom readiness probe for the Web component
693
##
694
customReadinessProbe: {}
695
## @param defaultBackend.podLabels Extra labels for Controller pods
696
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
697
##
698
podLabels: {}
699
## @param defaultBackend.podAnnotations Annotations for Controller pods
700
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
701
##
702
podAnnotations: {}
703
## @param defaultBackend.priorityClassName priorityClassName
704
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
705
##
706
priorityClassName: ""
707
## @param defaultBackend.schedulerName Name of the k8s scheduler (other than default)
708
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
709
##
710
schedulerName: ""
711
## @param defaultBackend.terminationGracePeriodSeconds In seconds, time the given to the pod to terminate gracefully
712
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
713
##
714
terminationGracePeriodSeconds: 60
715
## @param defaultBackend.topologySpreadConstraints Topology Spread Constraints for pod assignment
716
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
717
## The value is evaluated as a template
718
##
719
topologySpreadConstraints: []
720
## @param defaultBackend.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
721
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
722
##
723
podAffinityPreset: ""
724
## @param defaultBackend.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
725
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
726
##
727
podAntiAffinityPreset: soft
728
## Node affinity preset
729
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
730
##
731
nodeAffinityPreset:
732
## @param defaultBackend.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
733
##
734
type: ""
735
## @param defaultBackend.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
736
## E.g.
737
## key: "kubernetes.io/e2e-az-name"
738
##
739
key: ""
740
## @param defaultBackend.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
741
## E.g.
742
## values:
743
## - e2e-az1
744
## - e2e-az2
745
##
746
values: []
747
## @param defaultBackend.command Override default container command (useful when using custom images)
748
##
749
command: []
750
## @param defaultBackend.args Override default container args (useful when using custom images)
751
##
752
args: []
753
## @param defaultBackend.lifecycleHooks for the %%MAIN_CONTAINER_NAME%% container(s) to automate configuration before or after startup
754
##
755
lifecycleHooks: {}
756
## @param defaultBackend.extraEnvVars Array with extra environment variables to add to %%MAIN_CONTAINER_NAME%% nodes
757
## e.g:
758
## extraEnvVars:
759
## - name: FOO
760
## value: "bar"
761
##
762
extraEnvVars: []
763
## @param defaultBackend.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for %%MAIN_CONTAINER_NAME%% nodes
764
##
765
extraEnvVarsCM: ""
766
## @param defaultBackend.extraEnvVarsSecret Name of existing Secret containing extra env vars for %%MAIN_CONTAINER_NAME%% nodes
767
##
768
extraEnvVarsSecret: ""
769
## @param defaultBackend.extraVolumes Optionally specify extra list of additional volumes for the %%MAIN_CONTAINER_NAME%% pod(s)
770
##
771
extraVolumes: []
772
## @param defaultBackend.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the %%MAIN_CONTAINER_NAME%% container(s)
773
##
774
extraVolumeMounts: []
775
## @param defaultBackend.sidecars Add additional sidecar containers to the %%MAIN_CONTAINER_NAME%% pod(s)
776
## e.g:
777
## sidecars:
778
## - name: your-image-name
779
## image: your-image
780
## imagePullPolicy: Always
781
## ports:
782
## - name: portname
783
## containerPort: 1234
784
##
785
sidecars: []
786
## @param defaultBackend.initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
787
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
788
## e.g:
789
## initContainers:
790
## - name: your-image-name
791
## image: your-image
792
## imagePullPolicy: Always
793
## command: ['sh', '-c', 'echo "hello world"']
794
##
795
initContainers: []
796
## @param defaultBackend.affinity Affinity for pod assignment
797
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
798
## Note: defaultBackend.podAffinityPreset, defaultBackend.podAntiAffinityPreset, and defaultBackend.nodeAffinityPreset will be ignored when it's set
799
##
800
affinity: {}
801
## @param defaultBackend.nodeSelector Node labels for pod assignment
802
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
803
##
804
nodeSelector: {}
805
## @param defaultBackend.tolerations Tolerations for pod assignment
806
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
807
##
808
tolerations: []
809
## Default backend Service parameters
810
##
811
service:
812
## @param defaultBackend.service.type Kubernetes Service type for default backend
813
##
814
type: ClusterIP
815
## @param defaultBackend.service.ports.http Default backend service HTTP port
816
##
817
ports:
818
http: 80
819
## @param defaultBackend.service.annotations Annotations for the default backend service
820
##
821
annotations: {}
822
## Network Policies
823
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
824
##
825
networkPolicy:
826
## @param defaultBackend.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
827
##
828
enabled: true
829
## @param defaultBackend.networkPolicy.allowExternal Don't require server label for connections
830
## The Policy model to apply. When set to false, only pods with the correct
831
## server label will have network access to the ports server is listening
832
## on. When true, server will accept connections from any source
833
## (with the correct destination port).
834
##
835
allowExternal: true
836
## @param defaultBackend.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
837
##
838
allowExternalEgress: true
839
## @param defaultBackend.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
840
## e.g:
841
## extraIngress:
842
## - ports:
843
## - port: 1234
844
## from:
845
## - podSelector:
846
## - matchLabels:
847
## - role: frontend
848
## - podSelector:
849
## - matchExpressions:
850
## - key: role
851
## operator: In
852
## values:
853
## - frontend
854
extraIngress: []
855
## @param defaultBackend.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
856
## e.g:
857
## extraEgress:
858
## - ports:
859
## - port: 1234
860
## to:
861
## - podSelector:
862
## - matchLabels:
863
## - role: frontend
864
## - podSelector:
865
## - matchExpressions:
866
## - key: role
867
## operator: In
868
## values:
869
## - frontend
870
##
871
extraEgress: []
872
## @param defaultBackend.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
873
## @param defaultBackend.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
874
##
875
ingressNSMatchLabels: {}
876
ingressNSPodMatchLabels: {}
877
## Default backend Pod Disruption Budget configuration
878
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
879
##
880
pdb:
881
## @param defaultBackend.pdb.create Enable/disable a Pod Disruption Budget creation for Default backend
882
##
883
create: true
884
## @param defaultBackend.pdb.minAvailable Minimum number/percentage of Default backend pods that should remain scheduled
885
##
886
minAvailable: ""
887
## @param defaultBackend.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `defaultBackend.pdb.minAvailable` and `defaultBackend.pdb.maxUnavailable` are empty.
888
##
889
maxUnavailable: ""
890
## @section Traffic exposure parameters
891
892
## Service parameters
893
##
894
service:
895
## @param service.type Kubernetes Service type for Controller
896
##
897
type: LoadBalancer
898
## @param service.ports [object] Service ports
899
##
900
ports:
901
http: 80
902
https: 443
903
## @param service.targetPorts [object] Map the controller service HTTP/HTTPS port
904
##
905
targetPorts:
906
http: http
907
https: https
908
## @param service.nodePorts [object] Specify the nodePort value(s) for the LoadBalancer and NodePort service types.
909
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
910
##
911
nodePorts:
912
http: ""
913
https: ""
914
tcp: {}
915
udp: {}
916
## @param service.annotations Annotations for controller service
917
## This can be used to set the LoadBalancer service type to internal only.
918
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
919
##
920
annotations: {}
921
## @param service.labels Labels for controller service
922
##
923
labels: {}
924
## @param service.clusterIP Controller Internal Cluster Service IP (optional)
925
##
926
clusterIP: ""
927
## @param service.externalIPs Controller Service external IP addresses
928
## Ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
929
##
930
externalIPs: []
931
## @param service.ipFamilyPolicy Controller Service ipFamilyPolicy (optional, cloud specific)
932
## This can be either SingleStack, PreferDualStack or RequireDualStack
933
## ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services
934
##
935
ipFamilyPolicy: ""
936
## @param service.ipFamilies Controller Service ipFamilies (optional, cloud specific)
937
## This can be either ["IPv4"], ["IPv6"], ["IPv4", "IPv6"] or ["IPv6", "IPv4"]
938
## ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services
939
##
940
ipFamilies: []
941
## @param service.loadBalancerClass Load balancer class if service type is `LoadBalancer`
942
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
943
##
944
loadBalancerClass: ""
945
## @param service.loadBalancerIP Kubernetes LoadBalancerIP to request for Controller (optional, cloud specific)
946
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
947
##
948
loadBalancerIP: ""
949
## @param service.loadBalancerSourceRanges List of IP CIDRs allowed access to load balancer (if supported)
950
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
951
##
952
loadBalancerSourceRanges: []
953
## @param service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
954
##
955
extraPorts: []
956
## @param service.externalTrafficPolicy Set external traffic policy to: "Local" to preserve source IP on providers supporting it
957
## Enable client source IP preservation
958
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer
959
##
960
externalTrafficPolicy: ""
961
## @param service.healthCheckNodePort Set this to the managed health-check port the kube-proxy will expose. If blank, a random port in the `NodePort` range will be assigned
962
##
963
healthCheckNodePort: 0
964
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
965
## If "ClientIP", consecutive client requests will be directed to the same Pod
966
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
967
##
968
sessionAffinity: None
969
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
970
## sessionAffinityConfig:
971
## clientIP:
972
## timeoutSeconds: 300
973
##
974
sessionAffinityConfig: {}
975
## Network Policies
976
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
977
##
978
networkPolicy:
979
## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
980
##
981
enabled: true
982
## @param networkPolicy.allowExternal Don't require server label for connections
983
## The Policy model to apply. When set to false, only pods with the correct
984
## server label will have network access to the ports server is listening
985
## on. When true, server will accept connections from any source
986
## (with the correct destination port).
987
##
988
allowExternal: true
989
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
990
##
991
allowExternalEgress: true
992
## @param networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
993
##
994
kubeAPIServerPorts: [443, 6443, 8443]
995
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
996
## e.g:
997
## extraIngress:
998
## - ports:
999
## - port: 1234
1000
## from:
1001
## - podSelector:
1002
## - matchLabels:
1003
## - role: frontend
1004
## - podSelector:
1005
## - matchExpressions:
1006
## - key: role
1007
## operator: In
1008
## values:
1009
## - frontend
1010
extraIngress: []
1011
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1012
## e.g:
1013
## extraEgress:
1014
## - ports:
1015
## - port: 1234
1016
## to:
1017
## - podSelector:
1018
## - matchLabels:
1019
## - role: frontend
1020
## - podSelector:
1021
## - matchExpressions:
1022
## - key: role
1023
## operator: In
1024
## values:
1025
## - frontend
1026
##
1027
extraEgress: []
1028
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1029
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1030
##
1031
ingressNSMatchLabels: {}
1032
ingressNSPodMatchLabels: {}
1033
## @section RBAC parameters
1034
1035
## Pods Service Account
1036
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1037
##
1038
serviceAccount:
1039
## @param serviceAccount.create Enable the creation of a ServiceAccount for Controller pods
1040
##
1041
create: true
1042
## @param serviceAccount.name Name of the created ServiceAccount
1043
## If not set and create is true, a name is generated using the metrics-server.fullname template
1044
name: ""
1045
## @param serviceAccount.annotations Annotations for service account.
1046
## Only used if `create` is `true`.
1047
##
1048
annotations: {}
1049
## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1050
##
1051
automountServiceAccountToken: false
1052
## Role Based Access
1053
## Ref: https://kubernetes.io/docs/admin/authorization/rbac/
1054
##
1055
rbac:
1056
## @param rbac.create Specifies whether RBAC rules should be created
1057
##
1058
create: true
1059
## @param rbac.rules Custom RBAC rules
1060
## Example:
1061
## rules:
1062
## - apiGroups:
1063
## - ""
1064
## resources:
1065
## - pods
1066
## verbs:
1067
## - get
1068
## - list
1069
##
1070
rules: []
1071
## @section Other parameters
1072
1073
## Controller Pod Disruption Budget configuration
1074
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
1075
##
1076
pdb:
1077
## @param pdb.create Enable/disable a Pod Disruption Budget creation for Controller
1078
##
1079
create: true
1080
## @param pdb.minAvailable Minimum number/percentage of Controller pods that should remain scheduled
1081
##
1082
minAvailable: ""
1083
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `pdb.minAvailable` and `pdb.maxUnavailable` are empty.
1084
##
1085
maxUnavailable: ""
1086
## Controller Autoscaling configuration
1087
## @param autoscaling.enabled Enable autoscaling for Controller
1088
## @param autoscaling.minReplicas Minimum number of Controller replicas
1089
## @param autoscaling.maxReplicas Maximum number of Controller replicas
1090
## @param autoscaling.targetCPU Target CPU utilization percentage
1091
## @param autoscaling.targetMemory Target Memory utilization percentage
1092
##
1093
autoscaling:
1094
enabled: false
1095
minReplicas: 1
1096
maxReplicas: 11
1097
targetCPU: ""
1098
targetMemory: ""
1099
## @section Metrics parameters
1100
1101
## Prometheus exporter parameters
1102
##
1103
metrics:
1104
## @param metrics.enabled Enable exposing Controller statistics
1105
##
1106
enabled: false
1107
## Prometheus exporter service parameters
1108
##
1109
service:
1110
## @param metrics.service.type Type of Prometheus metrics service to create
1111
##
1112
type: ClusterIP
1113
## @param metrics.service.ports.metrics Service HTTP management port
1114
##
1115
ports:
1116
metrics: 9913
1117
## @param metrics.service.annotations [object] Annotations for the Prometheus exporter service
1118
##
1119
annotations:
1120
prometheus.io/scrape: "true"
1121
prometheus.io/port: "{{ coalesce .Values.metrics.service.ports.metrics .Values.metrics.service.port }}"
1122
## @param metrics.service.labels Labels for the Prometheus exporter service
1123
##
1124
labels: {}
1125
## Prometheus Operator ServiceMonitor configuration
1126
##
1127
serviceMonitor:
1128
## @param metrics.serviceMonitor.enabled Create ServiceMonitor resource for scraping metrics using PrometheusOperator
1129
##
1130
enabled: false
1131
## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
1132
##
1133
namespace: ""
1134
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1135
##
1136
jobLabel: ""
1137
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
1138
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1139
##
1140
interval: 30s
1141
## @param metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
1142
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1143
## e.g:
1144
## scrapeTimeout: 10s
1145
##
1146
scrapeTimeout: ""
1147
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1148
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1149
##
1150
relabelings: []
1151
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1152
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1153
##
1154
metricRelabelings: []
1155
## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
1156
## e.g:
1157
## selector:
1158
## prometheus: my-prometheus
1159
##
1160
selector: {}
1161
## @param metrics.serviceMonitor.annotations Extra annotations for the ServiceMonitor
1162
##
1163
annotations: {}
1164
## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
1165
##
1166
labels: {}
1167
## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1168
##
1169
honorLabels: false
1170
## @param metrics.prometheusRule.enabled Create PrometheusRules resource for scraping metrics using PrometheusOperator
1171
## @param metrics.prometheusRule.additionalLabels Used to pass Labels that are required by the Installed Prometheus Operator
1172
## @param metrics.prometheusRule.namespace Namespace which Prometheus is running in
1173
## @param metrics.prometheusRule.rules Rules to be prometheus in YAML format, check values for an example
1174
##
1175
prometheusRule:
1176
enabled: false
1177
additionalLabels: {}
1178
namespace: ""
1179
rules: []
1180

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.