DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
flux logoHELM

flux

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
## @section Kustomize Controller Parameters
89
##
90
kustomizeController:
91
## @param kustomizeController.enabled Enable Kustomize Controller
92
##
93
enabled: true
94
## @param kustomizeController.installCRDs Flag to install Kustomize Controller CRDs
95
##
96
installCRDs: true
97
## @param kustomizeController.watchAllNamespaces Watch for custom resources in all namespaces
98
##
99
watchAllNamespaces: true
100
## Iamguarded Kustomize Controller image
101
## @param kustomizeController.image.registry [default: REGISTRY_NAME] Kustomize Controller image registry
102
## @param kustomizeController.image.repository [default: REPOSITORY_NAME/fluxcd-kustomize-controller] Kustomize Controller image repository
103
## @skip kustomizeController.image.tag Kustomize Controller image tag (immutable tags are recommended)
104
## @param kustomizeController.image.digest Kustomize Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
105
## @param kustomizeController.image.pullPolicy Kustomize Controller image pull policy
106
## @param kustomizeController.image.pullSecrets Kustomize Controller image pull secrets
107
## @param kustomizeController.image.debug Enable Kustomize Controller image debug mode
108
##
109
image:
110
registry: cgr.dev
111
repository: chainguard-private/flux-kustomize-controller-iamguarded
112
tag: 1.10.2
113
digest: ""
114
## Specify a imagePullPolicy
115
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
116
##
117
pullPolicy: IfNotPresent
118
## Optionally specify an array of imagePullSecrets.
119
## Secrets must be manually created in the namespace.
120
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
121
## e.g:
122
## pullSecrets:
123
## - myRegistryKeySecretName
124
##
125
pullSecrets: []
126
## Enable debug mode
127
##
128
debug: false
129
## @param kustomizeController.replicaCount Number of Kustomize Controller replicas to deploy
130
##
131
replicaCount: 1
132
## @param kustomizeController.containerPorts.metrics Kustomize Controller metrics container port
133
## @param kustomizeController.containerPorts.health Kustomize Controller health container port
134
##
135
containerPorts:
136
metrics: 8080
137
health: 9440
138
## Network Policies
139
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
140
##
141
networkPolicy:
142
## @param kustomizeController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
143
##
144
enabled: true
145
## @param kustomizeController.networkPolicy.allowExternal Don't require server label for connections
146
## The Policy model to apply. When set to false, only pods with the correct
147
## server label will have network access to the ports server is listening
148
## on. When true, server will accept connections from any source
149
## (with the correct destination port).
150
##
151
allowExternal: true
152
## @param kustomizeController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
153
##
154
allowExternalEgress: true
155
## @param kustomizeController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
156
##
157
kubeAPIServerPorts: [443, 6443, 8443]
158
## @param kustomizeController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
159
## e.g:
160
## extraIngress:
161
## - ports:
162
## - port: 1234
163
## from:
164
## - podSelector:
165
## - matchLabels:
166
## - role: frontend
167
## - podSelector:
168
## - matchExpressions:
169
## - key: role
170
## operator: In
171
## values:
172
## - frontend
173
extraIngress: []
174
## @param kustomizeController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
175
## e.g:
176
## extraEgress:
177
## - ports:
178
## - port: 1234
179
## to:
180
## - podSelector:
181
## - matchLabels:
182
## - role: frontend
183
## - podSelector:
184
## - matchExpressions:
185
## - key: role
186
## operator: In
187
## values:
188
## - frontend
189
##
190
extraEgress: []
191
## @param kustomizeController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
192
## @param kustomizeController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
193
##
194
ingressNSMatchLabels: {}
195
ingressNSPodMatchLabels: {}
196
## Configure extra options for Kustomize Controller containers' liveness and readiness probes
197
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
198
## @param kustomizeController.livenessProbe.enabled Enable livenessProbe on Kustomize Controller containers
199
## @param kustomizeController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
200
## @param kustomizeController.livenessProbe.periodSeconds Period seconds for livenessProbe
201
## @param kustomizeController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
202
## @param kustomizeController.livenessProbe.failureThreshold Failure threshold for livenessProbe
203
## @param kustomizeController.livenessProbe.successThreshold Success threshold for livenessProbe
204
##
205
livenessProbe:
206
enabled: true
207
initialDelaySeconds: 5
208
periodSeconds: 10
209
timeoutSeconds: 5
210
failureThreshold: 5
211
successThreshold: 1
212
## @param kustomizeController.readinessProbe.enabled Enable readinessProbe on Kustomize Controller containers
213
## @param kustomizeController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
214
## @param kustomizeController.readinessProbe.periodSeconds Period seconds for readinessProbe
215
## @param kustomizeController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
216
## @param kustomizeController.readinessProbe.failureThreshold Failure threshold for readinessProbe
217
## @param kustomizeController.readinessProbe.successThreshold Success threshold for readinessProbe
218
##
219
readinessProbe:
220
enabled: true
221
initialDelaySeconds: 5
222
periodSeconds: 10
223
timeoutSeconds: 5
224
failureThreshold: 5
225
successThreshold: 1
226
## @param kustomizeController.startupProbe.enabled Enable startupProbe on Kustomize Controller containers
227
## @param kustomizeController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
228
## @param kustomizeController.startupProbe.periodSeconds Period seconds for startupProbe
229
## @param kustomizeController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
230
## @param kustomizeController.startupProbe.failureThreshold Failure threshold for startupProbe
231
## @param kustomizeController.startupProbe.successThreshold Success threshold for startupProbe
232
##
233
startupProbe:
234
enabled: false
235
initialDelaySeconds: 5
236
periodSeconds: 10
237
timeoutSeconds: 5
238
failureThreshold: 5
239
successThreshold: 1
240
## @param kustomizeController.customLivenessProbe Custom livenessProbe that overrides the default one
241
##
242
customLivenessProbe: {}
243
## @param kustomizeController.customReadinessProbe Custom readinessProbe that overrides the default one
244
##
245
customReadinessProbe: {}
246
## @param kustomizeController.customStartupProbe Custom startupProbe that overrides the default one
247
##
248
customStartupProbe: {}
249
## Kustomize Controller resource requests and limits
250
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
251
## @param kustomizeController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if kustomizeController.resources is set (kustomizeController.resources is recommended for production).
252
##
253
resourcesPreset: "nano"
254
## @param kustomizeController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
255
## Example:
256
## resources:
257
## requests:
258
## cpu: 2
259
## memory: 512Mi
260
## limits:
261
## cpu: 3
262
## memory: 1024Mi
263
##
264
resources: {}
265
## Configure Pods Security Context
266
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
267
## @param kustomizeController.podSecurityContext.enabled Enabled Kustomize Controller pods' Security Context
268
## @param kustomizeController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
269
## @param kustomizeController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
270
## @param kustomizeController.podSecurityContext.supplementalGroups Set filesystem extra groups
271
## @param kustomizeController.podSecurityContext.fsGroup Set Kustomize Controller pod's Security Context fsGroup
272
##
273
podSecurityContext:
274
enabled: true
275
fsGroupChangePolicy: Always
276
sysctls: []
277
supplementalGroups: []
278
fsGroup: 1001
279
## Configure Container Security Context
280
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
281
## @param kustomizeController.containerSecurityContext.enabled Enabled Kustomize Controller containers' Security Context
282
## @param kustomizeController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
283
## @param kustomizeController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
284
## @param kustomizeController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
285
## @param kustomizeController.containerSecurityContext.runAsNonRoot Set Kustomize Controller containers' Security Context runAsNonRoot
286
## @param kustomizeController.containerSecurityContext.privileged Set Kustomize Controller containers' Security Context privileged
287
## @param kustomizeController.containerSecurityContext.readOnlyRootFilesystem Set Kustomize Controller containers' Security Context runAsNonRoot
288
## @param kustomizeController.containerSecurityContext.allowPrivilegeEscalation Set Kustomize Controller container's privilege escalation
289
## @param kustomizeController.containerSecurityContext.capabilities.drop Set Kustomize Controller container's Security Context runAsNonRoot
290
## @param kustomizeController.containerSecurityContext.seccompProfile.type Set Kustomize Controller container's Security Context seccomp profile
291
##
292
containerSecurityContext:
293
enabled: true
294
seLinuxOptions: {}
295
runAsUser: 1001
296
runAsGroup: 1001
297
runAsNonRoot: true
298
privileged: false
299
readOnlyRootFilesystem: true
300
allowPrivilegeEscalation: false
301
capabilities:
302
drop: ["ALL"]
303
seccompProfile:
304
type: RuntimeDefault
305
## @param kustomizeController.command Override default container command (useful when using custom images)
306
##
307
command: []
308
## @param kustomizeController.args Override default container args (useful when using custom images)
309
##
310
args: []
311
## @param kustomizeController.automountServiceAccountToken Mount Service Account token in pod
312
##
313
automountServiceAccountToken: true
314
## @param kustomizeController.hostAliases Kustomize Controller pods host aliases
315
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
316
##
317
hostAliases: []
318
## @param kustomizeController.podLabels Extra labels for Kustomize Controller pods
319
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
320
##
321
podLabels: {}
322
## @param kustomizeController.podAnnotations Annotations for Kustomize Controller pods
323
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
324
##
325
podAnnotations: {}
326
## @param kustomizeController.podAffinityPreset Pod affinity preset. Ignored if `kustomizeController.affinity` is set. Allowed values: `soft` or `hard`
327
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
328
##
329
podAffinityPreset: ""
330
## @param kustomizeController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `kustomizeController.affinity` is set. Allowed values: `soft` or `hard`
331
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
332
##
333
podAntiAffinityPreset: soft
334
## Pod Disruption Budget configuration
335
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
336
## @param kustomizeController.pdb.create Enable/disable a Pod Disruption Budget creation
337
## @param kustomizeController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
338
## @param kustomizeController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
339
##
340
pdb:
341
create: true
342
minAvailable: ""
343
maxUnavailable: ""
344
## Autoscaling configuration
345
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
346
## @param kustomizeController.autoscaling.enabled Enable autoscaling for kustomizeController
347
## @param kustomizeController.autoscaling.minReplicas Minimum number of kustomizeController replicas
348
## @param kustomizeController.autoscaling.maxReplicas Maximum number of kustomizeController replicas
349
## @param kustomizeController.autoscaling.targetCPU Target CPU utilization percentage
350
## @param kustomizeController.autoscaling.targetMemory Target Memory utilization percentage
351
##
352
autoscaling:
353
enabled: false
354
minReplicas: ""
355
maxReplicas: ""
356
targetCPU: ""
357
targetMemory: ""
358
## Node kustomizeController.affinity preset
359
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
360
##
361
nodeAffinityPreset:
362
## @param kustomizeController.nodeAffinityPreset.type Node affinity preset type. Ignored if `kustomizeController.affinity` is set. Allowed values: `soft` or `hard`
363
##
364
type: ""
365
## @param kustomizeController.nodeAffinityPreset.key Node label key to match. Ignored if `kustomizeController.affinity` is set
366
##
367
key: ""
368
## @param kustomizeController.nodeAffinityPreset.values Node label values to match. Ignored if `kustomizeController.affinity` is set
369
## E.g.
370
## values:
371
## - e2e-az1
372
## - e2e-az2
373
##
374
values: []
375
## @param kustomizeController.affinity Affinity for Kustomize Controller pods assignment
376
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
377
## NOTE: `kustomizeController.podAffinityPreset`, `kustomizeController.podAntiAffinityPreset`, and `kustomizeController.nodeAffinityPreset` will be ignored when it's set
378
##
379
affinity: {}
380
## @param kustomizeController.nodeSelector Node labels for Kustomize Controller pods assignment
381
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
382
##
383
nodeSelector: {}
384
## @param kustomizeController.tolerations Tolerations for Kustomize Controller pods assignment
385
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
386
##
387
tolerations: []
388
## @param kustomizeController.updateStrategy.type Kustomize Controller statefulset strategy type
389
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
390
##
391
updateStrategy:
392
## StrategyType
393
## Can be set to RollingUpdate or OnDelete
394
##
395
type: RollingUpdate
396
## @param kustomizeController.priorityClassName Kustomize Controller pods' priorityClassName
397
##
398
priorityClassName: ""
399
## @param kustomizeController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
400
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
401
##
402
topologySpreadConstraints: []
403
## @param kustomizeController.schedulerName Name of the k8s scheduler (other than default) for Kustomize Controller pods
404
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
405
##
406
schedulerName: ""
407
## @param kustomizeController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
408
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
409
##
410
terminationGracePeriodSeconds: ""
411
## @param kustomizeController.lifecycleHooks for the Kustomize Controller container(s) to automate configuration before or after startup
412
##
413
lifecycleHooks: {}
414
## @param kustomizeController.extraEnvVars Array with extra environment variables to add to Kustomize Controller nodes
415
## e.g:
416
## extraEnvVars:
417
## - name: FOO
418
## value: "bar"
419
##
420
extraEnvVars: []
421
## @param kustomizeController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Kustomize Controller nodes
422
##
423
extraEnvVarsCM: ""
424
## @param kustomizeController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Kustomize Controller nodes
425
##
426
extraEnvVarsSecret: ""
427
## @param kustomizeController.extraVolumes Optionally specify extra list of additional volumes for the Kustomize Controller pod(s)
428
##
429
extraVolumes: []
430
## @param kustomizeController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Kustomize Controller container(s)
431
##
432
extraVolumeMounts: []
433
## @param kustomizeController.sidecars Add additional sidecar containers to the Kustomize Controller pod(s)
434
## e.g:
435
## sidecars:
436
## - name: your-image-name
437
## image: your-image
438
## imagePullPolicy: Always
439
## ports:
440
## - name: portname
441
## containerPort: 1234
442
##
443
sidecars: []
444
## @param kustomizeController.initContainers Add additional init containers to the Kustomize Controller pod(s)
445
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
446
## e.g:
447
## initContainers:
448
## - name: your-image-name
449
## image: your-image
450
## imagePullPolicy: Always
451
## command: ['sh', '-c', 'echo "hello world"']
452
##
453
initContainers: []
454
## @section Kustomize Controller RBAC Parameters
455
##
456
457
## RBAC configuration
458
##
459
rbac:
460
## @param kustomizeController.rbac.create Specifies whether RBAC resources should be created
461
##
462
create: true
463
## @param kustomizeController.rbac.rules Custom RBAC rules to set
464
## e.g:
465
## rules:
466
## - apiGroups:
467
## - ""
468
## resources:
469
## - pods
470
## verbs:
471
## - get
472
## - list
473
##
474
rules: []
475
## ServiceAccount configuration
476
##
477
serviceAccount:
478
## @param kustomizeController.serviceAccount.create Specifies whether a ServiceAccount should be created
479
##
480
create: true
481
## @param kustomizeController.serviceAccount.name The name of the ServiceAccount to use.
482
## If not set and create is true, a name is generated using the common.names.fullname template
483
##
484
name: ""
485
## @param kustomizeController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
486
##
487
annotations: {}
488
## @param kustomizeController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
489
##
490
automountServiceAccountToken: false
491
## @section Kustomize Controller Metrics Parameters
492
##
493
494
## Prometheus metrics
495
##
496
metrics:
497
## @param kustomizeController.metrics.enabled Enable the export of Prometheus metrics
498
##
499
enabled: true
500
## Kustomize Controller service parameters
501
##
502
service:
503
## @param kustomizeController.metrics.service.type Kustomize Controller service type
504
##
505
type: ClusterIP
506
## @param kustomizeController.metrics.service.ports.metrics Kustomize Controller service metrics port
507
##
508
ports:
509
metrics: 80
510
## Node ports to expose
511
## @param kustomizeController.metrics.service.nodePorts.metrics Node port for HTTP
512
## NOTE: choose port between <30000-32767>
513
##
514
nodePorts:
515
metrics: ""
516
## @param kustomizeController.metrics.service.clusterIP Kustomize Controller service Cluster IP
517
## e.g.:
518
## clusterIP: None
519
##
520
clusterIP: ""
521
## @param kustomizeController.metrics.service.loadBalancerIP Kustomize Controller service Load Balancer IP
522
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
523
##
524
loadBalancerIP: ""
525
## @param kustomizeController.metrics.service.loadBalancerSourceRanges Kustomize Controller service Load Balancer sources
526
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
527
## e.g:
528
## loadBalancerSourceRanges:
529
## - 10.10.10.0/24
530
##
531
loadBalancerSourceRanges: []
532
## @param kustomizeController.metrics.service.externalTrafficPolicy Kustomize Controller service external traffic policy
533
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
534
##
535
externalTrafficPolicy: Cluster
536
## @param kustomizeController.metrics.service.annotations [object] Additional custom annotations for Kustomize Controller service
537
##
538
annotations:
539
prometheus.io/scrape: "true"
540
prometheus.io/port: "{{ .Values.kustomizeController.metrics.service.ports.metrics }}"
541
## @param kustomizeController.metrics.service.extraPorts Extra ports to expose in Kustomize Controller service (normally used with the `sidecars` value)
542
##
543
extraPorts: []
544
## @param kustomizeController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
545
## Values: ClientIP or None
546
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
547
##
548
sessionAffinity: None
549
## @param kustomizeController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
550
## sessionAffinityConfig:
551
## clientIP:
552
## timeoutSeconds: 300
553
##
554
sessionAffinityConfig: {}
555
## Prometheus Operator ServiceMonitor configuration
556
##
557
serviceMonitor:
558
## @param kustomizeController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
559
##
560
enabled: false
561
## @param kustomizeController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
562
##
563
namespace: ""
564
## @param kustomizeController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
565
##
566
annotations: {}
567
## @param kustomizeController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
568
##
569
labels: {}
570
## @param kustomizeController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
571
##
572
jobLabel: ""
573
## @param kustomizeController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
574
##
575
honorLabels: false
576
## @param kustomizeController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
577
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
578
## e.g:
579
## interval: 10s
580
##
581
interval: ""
582
## @param kustomizeController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
583
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
584
## e.g:
585
## scrapeTimeout: 10s
586
##
587
scrapeTimeout: ""
588
## @param kustomizeController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
589
##
590
metricRelabelings: []
591
## @param kustomizeController.metrics.serviceMonitor.relabelings Specify general relabeling
592
##
593
relabelings: []
594
## @param kustomizeController.metrics.serviceMonitor.selector Prometheus instance selector labels
595
## selector:
596
## prometheus: my-prometheus
597
##
598
selector: {}
599
## @section Helm Controller Parameters
600
##
601
helmController:
602
## @param helmController.enabled Enable Helm Controller
603
##
604
enabled: true
605
## @param helmController.installCRDs Flag to install Helm Controller CRDs
606
##
607
installCRDs: true
608
## @param helmController.watchAllNamespaces Watch for custom resources in all namespaces
609
##
610
watchAllNamespaces: true
611
## Iamguarded Helm Controller image
612
## @param helmController.image.registry [default: REGISTRY_NAME] Helm Controller image registry
613
## @param helmController.image.repository [default: REPOSITORY_NAME/fluxcd-helm-controller] Helm Controller image repository
614
## @skip helmController.image.tag Helm Controller image tag (immutable tags are recommended)
615
## @param helmController.image.digest Helm Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
616
## @param helmController.image.pullPolicy Helm Controller image pull policy
617
## @param helmController.image.pullSecrets Helm Controller image pull secrets
618
## @param helmController.image.debug Enable Helm Controller image debug mode
619
##
620
image:
621
registry: cgr.dev
622
repository: chainguard-private/flux-helm-controller-iamguarded
623
tag: 1.7.2
624
digest: ""
625
## Specify a imagePullPolicy
626
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
627
##
628
pullPolicy: IfNotPresent
629
## Optionally specify an array of imagePullSecrets.
630
## Secrets must be manually created in the namespace.
631
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
632
## e.g:
633
## pullSecrets:
634
## - myRegistryKeySecretName
635
##
636
pullSecrets: []
637
## Enable debug mode
638
##
639
debug: false
640
## @param helmController.replicaCount Number of Helm Controller replicas to deploy
641
##
642
replicaCount: 1
643
## @param helmController.containerPorts.metrics Helm Controller metrics container port
644
## @param helmController.containerPorts.health Helm Controller health container port
645
##
646
containerPorts:
647
metrics: 8080
648
health: 9440
649
## Network Policies
650
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
651
##
652
networkPolicy:
653
## @param helmController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
654
##
655
enabled: true
656
## @param helmController.networkPolicy.allowExternal Don't require server label for connections
657
## The Policy model to apply. When set to false, only pods with the correct
658
## server label will have network access to the ports server is listening
659
## on. When true, server will accept connections from any source
660
## (with the correct destination port).
661
##
662
allowExternal: true
663
## @param helmController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
664
##
665
allowExternalEgress: true
666
## @param helmController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
667
##
668
kubeAPIServerPorts: [443, 6443, 8443]
669
## @param helmController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
670
## e.g:
671
## extraIngress:
672
## - ports:
673
## - port: 1234
674
## from:
675
## - podSelector:
676
## - matchLabels:
677
## - role: frontend
678
## - podSelector:
679
## - matchExpressions:
680
## - key: role
681
## operator: In
682
## values:
683
## - frontend
684
extraIngress: []
685
## @param helmController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
686
## e.g:
687
## extraEgress:
688
## - ports:
689
## - port: 1234
690
## to:
691
## - podSelector:
692
## - matchLabels:
693
## - role: frontend
694
## - podSelector:
695
## - matchExpressions:
696
## - key: role
697
## operator: In
698
## values:
699
## - frontend
700
##
701
extraEgress: []
702
## @param helmController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
703
## @param helmController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
704
##
705
ingressNSMatchLabels: {}
706
ingressNSPodMatchLabels: {}
707
## Configure extra options for Helm Controller containers' liveness and readiness probes
708
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
709
## @param helmController.livenessProbe.enabled Enable livenessProbe on Helm Controller containers
710
## @param helmController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
711
## @param helmController.livenessProbe.periodSeconds Period seconds for livenessProbe
712
## @param helmController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
713
## @param helmController.livenessProbe.failureThreshold Failure threshold for livenessProbe
714
## @param helmController.livenessProbe.successThreshold Success threshold for livenessProbe
715
##
716
livenessProbe:
717
enabled: true
718
initialDelaySeconds: 5
719
periodSeconds: 10
720
timeoutSeconds: 5
721
failureThreshold: 5
722
successThreshold: 1
723
## @param helmController.readinessProbe.enabled Enable readinessProbe on Helm Controller containers
724
## @param helmController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
725
## @param helmController.readinessProbe.periodSeconds Period seconds for readinessProbe
726
## @param helmController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
727
## @param helmController.readinessProbe.failureThreshold Failure threshold for readinessProbe
728
## @param helmController.readinessProbe.successThreshold Success threshold for readinessProbe
729
##
730
readinessProbe:
731
enabled: true
732
initialDelaySeconds: 5
733
periodSeconds: 10
734
timeoutSeconds: 5
735
failureThreshold: 5
736
successThreshold: 1
737
## @param helmController.startupProbe.enabled Enable startupProbe on Helm Controller containers
738
## @param helmController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
739
## @param helmController.startupProbe.periodSeconds Period seconds for startupProbe
740
## @param helmController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
741
## @param helmController.startupProbe.failureThreshold Failure threshold for startupProbe
742
## @param helmController.startupProbe.successThreshold Success threshold for startupProbe
743
##
744
startupProbe:
745
enabled: false
746
initialDelaySeconds: 5
747
periodSeconds: 10
748
timeoutSeconds: 5
749
failureThreshold: 5
750
successThreshold: 1
751
## @param helmController.customLivenessProbe Custom livenessProbe that overrides the default one
752
##
753
customLivenessProbe: {}
754
## @param helmController.customReadinessProbe Custom readinessProbe that overrides the default one
755
##
756
customReadinessProbe: {}
757
## @param helmController.customStartupProbe Custom startupProbe that overrides the default one
758
##
759
customStartupProbe: {}
760
## Helm Controller resource requests and limits
761
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
762
## @param helmController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if helmController.resources is set (helmController.resources is recommended for production).
763
##
764
resourcesPreset: "nano"
765
## @param helmController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
766
## Example:
767
## resources:
768
## requests:
769
## cpu: 2
770
## memory: 512Mi
771
## limits:
772
## cpu: 3
773
## memory: 1024Mi
774
##
775
resources: {}
776
## Configure Pods Security Context
777
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
778
## @param helmController.podSecurityContext.enabled Enabled Helm Controller pods' Security Context
779
## @param helmController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
780
## @param helmController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
781
## @param helmController.podSecurityContext.supplementalGroups Set filesystem extra groups
782
## @param helmController.podSecurityContext.fsGroup Set Helm Controller pod's Security Context fsGroup
783
##
784
podSecurityContext:
785
enabled: true
786
fsGroupChangePolicy: Always
787
sysctls: []
788
supplementalGroups: []
789
fsGroup: 1001
790
## Configure Container Security Context
791
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
792
## @param helmController.containerSecurityContext.enabled Enabled Helm Controller containers' Security Context
793
## @param helmController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
794
## @param helmController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
795
## @param helmController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
796
## @param helmController.containerSecurityContext.runAsNonRoot Set Helm Controller containers' Security Context runAsNonRoot
797
## @param helmController.containerSecurityContext.privileged Set Helm Controller containers' Security Context privileged
798
## @param helmController.containerSecurityContext.readOnlyRootFilesystem Set Helm Controller containers' Security Context runAsNonRoot
799
## @param helmController.containerSecurityContext.allowPrivilegeEscalation Set Helm Controller container's privilege escalation
800
## @param helmController.containerSecurityContext.capabilities.drop Set Helm Controller container's Security Context runAsNonRoot
801
## @param helmController.containerSecurityContext.seccompProfile.type Set Helm Controller container's Security Context seccomp profile
802
##
803
containerSecurityContext:
804
enabled: true
805
seLinuxOptions: {}
806
runAsUser: 1001
807
runAsGroup: 1001
808
runAsNonRoot: true
809
privileged: false
810
readOnlyRootFilesystem: true
811
allowPrivilegeEscalation: false
812
capabilities:
813
drop: ["ALL"]
814
seccompProfile:
815
type: RuntimeDefault
816
## @param helmController.command Override default container command (useful when using custom images)
817
##
818
command: []
819
## @param helmController.args Override default container args (useful when using custom images)
820
##
821
args: []
822
## @param helmController.automountServiceAccountToken Mount Service Account token in pod
823
##
824
automountServiceAccountToken: true
825
## @param helmController.hostAliases Helm Controller pods host aliases
826
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
827
##
828
hostAliases: []
829
## @param helmController.podLabels Extra labels for Helm Controller pods
830
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
831
##
832
podLabels: {}
833
## @param helmController.podAnnotations Annotations for Helm Controller pods
834
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
835
##
836
podAnnotations: {}
837
## @param helmController.podAffinityPreset Pod affinity preset. Ignored if `helmController.affinity` is set. Allowed values: `soft` or `hard`
838
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
839
##
840
podAffinityPreset: ""
841
## @param helmController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `helmController.affinity` is set. Allowed values: `soft` or `hard`
842
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
843
##
844
podAntiAffinityPreset: soft
845
## Pod Disruption Budget configuration
846
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
847
## @param helmController.pdb.create Enable/disable a Pod Disruption Budget creation
848
## @param helmController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
849
## @param helmController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
850
##
851
pdb:
852
create: true
853
minAvailable: ""
854
maxUnavailable: ""
855
## Autoscaling configuration
856
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
857
## @param helmController.autoscaling.enabled Enable autoscaling for helmController
858
## @param helmController.autoscaling.minReplicas Minimum number of helmController replicas
859
## @param helmController.autoscaling.maxReplicas Maximum number of helmController replicas
860
## @param helmController.autoscaling.targetCPU Target CPU utilization percentage
861
## @param helmController.autoscaling.targetMemory Target Memory utilization percentage
862
##
863
autoscaling:
864
enabled: false
865
minReplicas: ""
866
maxReplicas: ""
867
targetCPU: ""
868
targetMemory: ""
869
## Node helmController.affinity preset
870
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
871
##
872
nodeAffinityPreset:
873
## @param helmController.nodeAffinityPreset.type Node affinity preset type. Ignored if `helmController.affinity` is set. Allowed values: `soft` or `hard`
874
##
875
type: ""
876
## @param helmController.nodeAffinityPreset.key Node label key to match. Ignored if `helmController.affinity` is set
877
##
878
key: ""
879
## @param helmController.nodeAffinityPreset.values Node label values to match. Ignored if `helmController.affinity` is set
880
## E.g.
881
## values:
882
## - e2e-az1
883
## - e2e-az2
884
##
885
values: []
886
## @param helmController.affinity Affinity for Helm Controller pods assignment
887
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
888
## NOTE: `helmController.podAffinityPreset`, `helmController.podAntiAffinityPreset`, and `helmController.nodeAffinityPreset` will be ignored when it's set
889
##
890
affinity: {}
891
## @param helmController.nodeSelector Node labels for Helm Controller pods assignment
892
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
893
##
894
nodeSelector: {}
895
## @param helmController.tolerations Tolerations for Helm Controller pods assignment
896
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
897
##
898
tolerations: []
899
## @param helmController.updateStrategy.type Helm Controller statefulset strategy type
900
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
901
##
902
updateStrategy:
903
## StrategyType
904
## Can be set to RollingUpdate or OnDelete
905
##
906
type: RollingUpdate
907
## @param helmController.priorityClassName Helm Controller pods' priorityClassName
908
##
909
priorityClassName: ""
910
## @param helmController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
911
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
912
##
913
topologySpreadConstraints: []
914
## @param helmController.schedulerName Name of the k8s scheduler (other than default) for Helm Controller pods
915
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
916
##
917
schedulerName: ""
918
## @param helmController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
919
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
920
##
921
terminationGracePeriodSeconds: ""
922
## @param helmController.lifecycleHooks for the Helm Controller container(s) to automate configuration before or after startup
923
##
924
lifecycleHooks: {}
925
## @param helmController.extraEnvVars Array with extra environment variables to add to Helm Controller nodes
926
## e.g:
927
## extraEnvVars:
928
## - name: FOO
929
## value: "bar"
930
##
931
extraEnvVars: []
932
## @param helmController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Helm Controller nodes
933
##
934
extraEnvVarsCM: ""
935
## @param helmController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Helm Controller nodes
936
##
937
extraEnvVarsSecret: ""
938
## @param helmController.extraVolumes Optionally specify extra list of additional volumes for the Helm Controller pod(s)
939
##
940
extraVolumes: []
941
## @param helmController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Helm Controller container(s)
942
##
943
extraVolumeMounts: []
944
## @param helmController.sidecars Add additional sidecar containers to the Helm Controller pod(s)
945
## e.g:
946
## sidecars:
947
## - name: your-image-name
948
## image: your-image
949
## imagePullPolicy: Always
950
## ports:
951
## - name: portname
952
## containerPort: 1234
953
##
954
sidecars: []
955
## @param helmController.initContainers Add additional init containers to the Helm Controller pod(s)
956
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
957
## e.g:
958
## initContainers:
959
## - name: your-image-name
960
## image: your-image
961
## imagePullPolicy: Always
962
## command: ['sh', '-c', 'echo "hello world"']
963
##
964
initContainers: []
965
## @section Helm Controller RBAC Parameters
966
##
967
968
## RBAC configuration
969
##
970
rbac:
971
## @param helmController.rbac.create Specifies whether RBAC resources should be created
972
##
973
create: true
974
## @param helmController.rbac.rules Custom RBAC rules to set
975
## e.g:
976
## rules:
977
## - apiGroups:
978
## - ""
979
## resources:
980
## - pods
981
## verbs:
982
## - get
983
## - list
984
##
985
rules: []
986
## ServiceAccount configuration
987
##
988
serviceAccount:
989
## @param helmController.serviceAccount.create Specifies whether a ServiceAccount should be created
990
##
991
create: true
992
## @param helmController.serviceAccount.name The name of the ServiceAccount to use.
993
## If not set and create is true, a name is generated using the common.names.fullname template
994
##
995
name: ""
996
## @param helmController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
997
##
998
annotations: {}
999
## @param helmController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1000
##
1001
automountServiceAccountToken: false
1002
## @section Helm Controller Metrics Parameters
1003
##
1004
1005
## Prometheus metrics
1006
##
1007
metrics:
1008
## @param helmController.metrics.enabled Enable the export of Prometheus metrics
1009
##
1010
enabled: true
1011
## Helm Controller service parameters
1012
##
1013
service:
1014
## @param helmController.metrics.service.type Helm Controller service type
1015
##
1016
type: ClusterIP
1017
## @param helmController.metrics.service.ports.metrics Helm Controller service metrics port
1018
##
1019
ports:
1020
metrics: 80
1021
## Node ports to expose
1022
## @param helmController.metrics.service.nodePorts.metrics Node port for HTTP
1023
## NOTE: choose port between <30000-32767>
1024
##
1025
nodePorts:
1026
metrics: ""
1027
## @param helmController.metrics.service.clusterIP Helm Controller service Cluster IP
1028
## e.g.:
1029
## clusterIP: None
1030
##
1031
clusterIP: ""
1032
## @param helmController.metrics.service.loadBalancerIP Helm Controller service Load Balancer IP
1033
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1034
##
1035
loadBalancerIP: ""
1036
## @param helmController.metrics.service.loadBalancerSourceRanges Helm Controller service Load Balancer sources
1037
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1038
## e.g:
1039
## loadBalancerSourceRanges:
1040
## - 10.10.10.0/24
1041
##
1042
loadBalancerSourceRanges: []
1043
## @param helmController.metrics.service.externalTrafficPolicy Helm Controller service external traffic policy
1044
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1045
##
1046
externalTrafficPolicy: Cluster
1047
## @param helmController.metrics.service.annotations [object] Additional custom annotations for Helm Controller service
1048
##
1049
annotations:
1050
prometheus.io/scrape: "true"
1051
prometheus.io/port: "{{ .Values.helmController.metrics.service.ports.metrics }}"
1052
## @param helmController.metrics.service.extraPorts Extra ports to expose in Helm Controller service (normally used with the `sidecars` value)
1053
##
1054
extraPorts: []
1055
## @param helmController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1056
## Values: ClientIP or None
1057
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1058
##
1059
sessionAffinity: None
1060
## @param helmController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
1061
## sessionAffinityConfig:
1062
## clientIP:
1063
## timeoutSeconds: 300
1064
##
1065
sessionAffinityConfig: {}
1066
## Prometheus Operator ServiceMonitor configuration
1067
##
1068
serviceMonitor:
1069
## @param helmController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
1070
##
1071
enabled: false
1072
## @param helmController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
1073
##
1074
namespace: ""
1075
## @param helmController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
1076
##
1077
annotations: {}
1078
## @param helmController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
1079
##
1080
labels: {}
1081
## @param helmController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
1082
##
1083
jobLabel: ""
1084
## @param helmController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1085
##
1086
honorLabels: false
1087
## @param helmController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
1088
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1089
## e.g:
1090
## interval: 10s
1091
##
1092
interval: ""
1093
## @param helmController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1094
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1095
## e.g:
1096
## scrapeTimeout: 10s
1097
##
1098
scrapeTimeout: ""
1099
## @param helmController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
1100
##
1101
metricRelabelings: []
1102
## @param helmController.metrics.serviceMonitor.relabelings Specify general relabeling
1103
##
1104
relabelings: []
1105
## @param helmController.metrics.serviceMonitor.selector Prometheus instance selector labels
1106
## selector:
1107
## prometheus: my-prometheus
1108
##
1109
selector: {}
1110
## @section Source Controller Parameters
1111
##
1112
sourceController:
1113
## @param sourceController.enabled Enable Source Controller
1114
##
1115
enabled: true
1116
## @param sourceController.installCRDs Flag to install Source Controller CRDs
1117
##
1118
installCRDs: true
1119
## @param sourceController.watchAllNamespaces Watch for custom resources in all namespaces
1120
##
1121
watchAllNamespaces: true
1122
## Iamguarded Source Controller image
1123
## @param sourceController.image.registry [default: REGISTRY_NAME] Source Controller image registry
1124
## @param sourceController.image.repository [default: REPOSITORY_NAME/fluxcd-source-controller] Source Controller image repository
1125
## @skip sourceController.image.tag Source Controller image tag (immutable tags are recommended)
1126
## @param sourceController.image.digest Source Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
1127
## @param sourceController.image.pullPolicy Source Controller image pull policy
1128
## @param sourceController.image.pullSecrets Source Controller image pull secrets
1129
## @param sourceController.image.debug Enable Source Controller image debug mode
1130
##
1131
image:
1132
registry: cgr.dev
1133
repository: chainguard-private/flux-source-controller-iamguarded
1134
tag: 1.10.2
1135
digest: ""
1136
## Specify a imagePullPolicy
1137
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
1138
##
1139
pullPolicy: IfNotPresent
1140
## Optionally specify an array of imagePullSecrets.
1141
## Secrets must be manually created in the namespace.
1142
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1143
## e.g:
1144
## pullSecrets:
1145
## - myRegistryKeySecretName
1146
##
1147
pullSecrets: []
1148
## Enable debug mode
1149
##
1150
debug: false
1151
## @param sourceController.replicaCount Number of Source Controller replicas to deploy
1152
##
1153
replicaCount: 1
1154
## @param sourceController.containerPorts.http Source Controller http container port
1155
## @param sourceController.containerPorts.metrics Source Controller metrics container port
1156
## @param sourceController.containerPorts.health Source Controller health container port
1157
##
1158
containerPorts:
1159
http: 9090
1160
metrics: 8080
1161
health: 9440
1162
## Network Policies
1163
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1164
##
1165
networkPolicy:
1166
## @param sourceController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1167
##
1168
enabled: true
1169
## @param sourceController.networkPolicy.allowExternal Don't require server label for connections
1170
## The Policy model to apply. When set to false, only pods with the correct
1171
## server label will have network access to the ports server is listening
1172
## on. When true, server will accept connections from any source
1173
## (with the correct destination port).
1174
##
1175
allowExternal: true
1176
## @param sourceController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1177
##
1178
allowExternalEgress: true
1179
## @param sourceController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
1180
##
1181
kubeAPIServerPorts: [443, 6443, 8443]
1182
## @param sourceController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1183
## e.g:
1184
## extraIngress:
1185
## - ports:
1186
## - port: 1234
1187
## from:
1188
## - podSelector:
1189
## - matchLabels:
1190
## - role: frontend
1191
## - podSelector:
1192
## - matchExpressions:
1193
## - key: role
1194
## operator: In
1195
## values:
1196
## - frontend
1197
extraIngress: []
1198
## @param sourceController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1199
## e.g:
1200
## extraEgress:
1201
## - ports:
1202
## - port: 1234
1203
## to:
1204
## - podSelector:
1205
## - matchLabels:
1206
## - role: frontend
1207
## - podSelector:
1208
## - matchExpressions:
1209
## - key: role
1210
## operator: In
1211
## values:
1212
## - frontend
1213
##
1214
extraEgress: []
1215
## @param sourceController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1216
## @param sourceController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1217
##
1218
ingressNSMatchLabels: {}
1219
ingressNSPodMatchLabels: {}
1220
## Configure extra options for Source Controller containers' liveness and readiness probes
1221
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1222
## @param sourceController.livenessProbe.enabled Enable livenessProbe on Source Controller containers
1223
## @param sourceController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1224
## @param sourceController.livenessProbe.periodSeconds Period seconds for livenessProbe
1225
## @param sourceController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1226
## @param sourceController.livenessProbe.failureThreshold Failure threshold for livenessProbe
1227
## @param sourceController.livenessProbe.successThreshold Success threshold for livenessProbe
1228
##
1229
livenessProbe:
1230
enabled: true
1231
initialDelaySeconds: 5
1232
periodSeconds: 10
1233
timeoutSeconds: 5
1234
failureThreshold: 5
1235
successThreshold: 1
1236
## @param sourceController.readinessProbe.enabled Enable readinessProbe on Source Controller containers
1237
## @param sourceController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1238
## @param sourceController.readinessProbe.periodSeconds Period seconds for readinessProbe
1239
## @param sourceController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1240
## @param sourceController.readinessProbe.failureThreshold Failure threshold for readinessProbe
1241
## @param sourceController.readinessProbe.successThreshold Success threshold for readinessProbe
1242
##
1243
readinessProbe:
1244
enabled: true
1245
initialDelaySeconds: 5
1246
periodSeconds: 10
1247
timeoutSeconds: 5
1248
failureThreshold: 5
1249
successThreshold: 1
1250
## @param sourceController.startupProbe.enabled Enable startupProbe on Source Controller containers
1251
## @param sourceController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1252
## @param sourceController.startupProbe.periodSeconds Period seconds for startupProbe
1253
## @param sourceController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1254
## @param sourceController.startupProbe.failureThreshold Failure threshold for startupProbe
1255
## @param sourceController.startupProbe.successThreshold Success threshold for startupProbe
1256
##
1257
startupProbe:
1258
enabled: false
1259
initialDelaySeconds: 5
1260
periodSeconds: 10
1261
timeoutSeconds: 5
1262
failureThreshold: 5
1263
successThreshold: 1
1264
## @param sourceController.customLivenessProbe Custom livenessProbe that overrides the default one
1265
##
1266
customLivenessProbe: {}
1267
## @param sourceController.customReadinessProbe Custom readinessProbe that overrides the default one
1268
##
1269
customReadinessProbe: {}
1270
## @param sourceController.customStartupProbe Custom startupProbe that overrides the default one
1271
##
1272
customStartupProbe: {}
1273
## Source Controller resource requests and limits
1274
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1275
## @param sourceController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if sourceController.resources is set (sourceController.resources is recommended for production).
1276
##
1277
resourcesPreset: "nano"
1278
## @param sourceController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1279
## Example:
1280
## resources:
1281
## requests:
1282
## cpu: 2
1283
## memory: 512Mi
1284
## limits:
1285
## cpu: 3
1286
## memory: 1024Mi
1287
##
1288
resources: {}
1289
## Configure Pods Security Context
1290
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1291
## @param sourceController.podSecurityContext.enabled Enabled Source Controller pods' Security Context
1292
## @param sourceController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1293
## @param sourceController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1294
## @param sourceController.podSecurityContext.supplementalGroups Set filesystem extra groups
1295
## @param sourceController.podSecurityContext.fsGroup Set Source Controller pod's Security Context fsGroup
1296
##
1297
podSecurityContext:
1298
enabled: true
1299
fsGroupChangePolicy: Always
1300
sysctls: []
1301
supplementalGroups: []
1302
fsGroup: 1001
1303
## Configure Container Security Context
1304
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1305
## @param sourceController.containerSecurityContext.enabled Enabled Source Controller containers' Security Context
1306
## @param sourceController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1307
## @param sourceController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1308
## @param sourceController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1309
## @param sourceController.containerSecurityContext.runAsNonRoot Set Source Controller containers' Security Context runAsNonRoot
1310
## @param sourceController.containerSecurityContext.privileged Set Source Controller containers' Security Context privileged
1311
## @param sourceController.containerSecurityContext.readOnlyRootFilesystem Set Source Controller containers' Security Context runAsNonRoot
1312
## @param sourceController.containerSecurityContext.allowPrivilegeEscalation Set Source Controller container's privilege escalation
1313
## @param sourceController.containerSecurityContext.capabilities.drop Set Source Controller container's Security Context runAsNonRoot
1314
## @param sourceController.containerSecurityContext.seccompProfile.type Set Source Controller container's Security Context seccomp profile
1315
##
1316
containerSecurityContext:
1317
enabled: true
1318
seLinuxOptions: {}
1319
runAsUser: 1001
1320
runAsGroup: 1001
1321
runAsNonRoot: true
1322
readOnlyRootFilesystem: true
1323
privileged: false
1324
allowPrivilegeEscalation: false
1325
capabilities:
1326
drop: ["ALL"]
1327
seccompProfile:
1328
type: RuntimeDefault
1329
## @param sourceController.command Override default container command (useful when using custom images)
1330
##
1331
command: []
1332
## @param sourceController.args Override default container args (useful when using custom images)
1333
##
1334
args: []
1335
## @param sourceController.automountServiceAccountToken Mount Service Account token in pod
1336
##
1337
automountServiceAccountToken: true
1338
## @param sourceController.hostAliases Source Controller pods host aliases
1339
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1340
##
1341
hostAliases: []
1342
## @param sourceController.podLabels Extra labels for Source Controller pods
1343
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1344
##
1345
podLabels: {}
1346
## @param sourceController.podAnnotations Annotations for Source Controller pods
1347
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1348
##
1349
podAnnotations: {}
1350
## @param sourceController.podAffinityPreset Pod affinity preset. Ignored if `sourceController.affinity` is set. Allowed values: `soft` or `hard`
1351
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1352
##
1353
podAffinityPreset: ""
1354
## @param sourceController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `sourceController.affinity` is set. Allowed values: `soft` or `hard`
1355
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1356
##
1357
podAntiAffinityPreset: soft
1358
## Pod Disruption Budget configuration
1359
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1360
## @param sourceController.pdb.create Enable/disable a Pod Disruption Budget creation
1361
## @param sourceController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1362
## @param sourceController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1363
##
1364
pdb:
1365
create: true
1366
minAvailable: ""
1367
maxUnavailable: ""
1368
## Autoscaling configuration
1369
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1370
## @param sourceController.autoscaling.enabled Enable autoscaling for sourceController
1371
## @param sourceController.autoscaling.minReplicas Minimum number of sourceController replicas
1372
## @param sourceController.autoscaling.maxReplicas Maximum number of sourceController replicas
1373
## @param sourceController.autoscaling.targetCPU Target CPU utilization percentage
1374
## @param sourceController.autoscaling.targetMemory Target Memory utilization percentage
1375
##
1376
autoscaling:
1377
enabled: false
1378
minReplicas: ""
1379
maxReplicas: ""
1380
targetCPU: ""
1381
targetMemory: ""
1382
## Node sourceController.affinity preset
1383
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1384
##
1385
nodeAffinityPreset:
1386
## @param sourceController.nodeAffinityPreset.type Node affinity preset type. Ignored if `sourceController.affinity` is set. Allowed values: `soft` or `hard`
1387
##
1388
type: ""
1389
## @param sourceController.nodeAffinityPreset.key Node label key to match. Ignored if `sourceController.affinity` is set
1390
##
1391
key: ""
1392
## @param sourceController.nodeAffinityPreset.values Node label values to match. Ignored if `sourceController.affinity` is set
1393
## E.g.
1394
## values:
1395
## - e2e-az1
1396
## - e2e-az2
1397
##
1398
values: []
1399
## @param sourceController.affinity Affinity for Source Controller pods assignment
1400
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1401
## NOTE: `sourceController.podAffinityPreset`, `sourceController.podAntiAffinityPreset`, and `sourceController.nodeAffinityPreset` will be ignored when it's set
1402
##
1403
affinity: {}
1404
## @param sourceController.nodeSelector Node labels for Source Controller pods assignment
1405
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1406
##
1407
nodeSelector: {}
1408
## @param sourceController.tolerations Tolerations for Source Controller pods assignment
1409
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1410
##
1411
tolerations: []
1412
## @param sourceController.updateStrategy.type Source Controller statefulset strategy type
1413
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1414
##
1415
updateStrategy:
1416
## StrategyType
1417
## Can be set to RollingUpdate or OnDelete
1418
##
1419
type: RollingUpdate
1420
## @param sourceController.priorityClassName Source Controller pods' priorityClassName
1421
##
1422
priorityClassName: ""
1423
## @param sourceController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1424
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1425
##
1426
topologySpreadConstraints: []
1427
## @param sourceController.schedulerName Name of the k8s scheduler (other than default) for Source Controller pods
1428
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1429
##
1430
schedulerName: ""
1431
## @param sourceController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
1432
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1433
##
1434
terminationGracePeriodSeconds: ""
1435
## @param sourceController.lifecycleHooks for the Source Controller container(s) to automate configuration before or after startup
1436
##
1437
lifecycleHooks: {}
1438
## @param sourceController.extraEnvVars Array with extra environment variables to add to Source Controller nodes
1439
## e.g:
1440
## extraEnvVars:
1441
## - name: FOO
1442
## value: "bar"
1443
##
1444
extraEnvVars: []
1445
## @param sourceController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Source Controller nodes
1446
##
1447
extraEnvVarsCM: ""
1448
## @param sourceController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Source Controller nodes
1449
##
1450
extraEnvVarsSecret: ""
1451
## @param sourceController.extraVolumes Optionally specify extra list of additional volumes for the Source Controller pod(s)
1452
##
1453
extraVolumes: []
1454
## @param sourceController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Source Controller container(s)
1455
##
1456
extraVolumeMounts: []
1457
## @param sourceController.sidecars Add additional sidecar containers to the Source Controller pod(s)
1458
## e.g:
1459
## sidecars:
1460
## - name: your-image-name
1461
## image: your-image
1462
## imagePullPolicy: Always
1463
## ports:
1464
## - name: portname
1465
## containerPort: 1234
1466
##
1467
sidecars: []
1468
## @param sourceController.initContainers Add additional init containers to the Source Controller pod(s)
1469
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1470
## e.g:
1471
## initContainers:
1472
## - name: your-image-name
1473
## image: your-image
1474
## imagePullPolicy: Always
1475
## command: ['sh', '-c', 'echo "hello world"']
1476
##
1477
initContainers: []
1478
## @section Source Controller service parameters
1479
##
1480
service:
1481
## @param sourceController.service.type Source Controller service type
1482
##
1483
type: ClusterIP
1484
## @param sourceController.service.ports.http Source Controller service metrics port
1485
##
1486
ports:
1487
http: 80
1488
## Node ports to expose
1489
## @param sourceController.service.nodePorts.http Node port for HTTP
1490
## NOTE: choose port between <30000-32767>
1491
##
1492
nodePorts:
1493
http: ""
1494
## @param sourceController.service.clusterIP Source Controller service Cluster IP
1495
## e.g.:
1496
## clusterIP: None
1497
##
1498
clusterIP: ""
1499
## @param sourceController.service.loadBalancerIP Source Controller service Load Balancer IP
1500
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1501
##
1502
loadBalancerIP: ""
1503
## @param sourceController.service.loadBalancerSourceRanges Source Controller service Load Balancer sources
1504
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1505
## e.g:
1506
## loadBalancerSourceRanges:
1507
## - 10.10.10.0/24
1508
##
1509
loadBalancerSourceRanges: []
1510
## @param sourceController.service.externalTrafficPolicy Source Controller service external traffic policy
1511
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1512
##
1513
externalTrafficPolicy: Cluster
1514
## @param sourceController.service.annotations [object] Additional custom annotations for Source Controller service
1515
##
1516
annotations:
1517
prometheus.io/scrape: "true"
1518
prometheus.io/port: "{{ .Values.sourceController.service.ports }}"
1519
## @param sourceController.service.extraPorts Extra ports to expose in Source Controller service (normally used with the `sidecars` value)
1520
##
1521
extraPorts: []
1522
## @param sourceController.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1523
## Values: ClientIP or None
1524
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1525
##
1526
sessionAffinity: None
1527
## @param sourceController.service.sessionAffinityConfig Additional settings for the sessionAffinity
1528
## sessionAffinityConfig:
1529
## clientIP:
1530
## timeoutSeconds: 300
1531
##
1532
sessionAffinityConfig: {}
1533
## @section Source Conttroller Persistence Parameters
1534
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1535
##
1536
persistence:
1537
## @param sourceController.persistence.enabled Enable persistence using Persistent Volume Claims
1538
## (NOTE: Disabled by default in upstream flux configuration)
1539
##
1540
enabled: false
1541
## @param sourceController.persistence.resourcePolicy Setting it to "keep" to avoid removing PVCs during a helm delete operation. Leaving it empty will delete PVCs after the chart deleted
1542
##
1543
resourcePolicy: ""
1544
## @param sourceController.persistence.mountPath Persistent Volume mount root path
1545
##
1546
mountPath: /iamguarded/fluxcd-source-controller/data
1547
## @param sourceController.persistence.storageClass Persistent Volume storage class
1548
## If defined, storageClassName: <storageClass>
1549
## If set to "-", storageClassName: "", which disables dynamic provisioning
1550
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
1551
##
1552
storageClass: ""
1553
## @param sourceController.persistence.accessModes [array] Persistent Volume access modes
1554
##
1555
accessModes:
1556
- ReadWriteOnce
1557
## @param sourceController.persistence.size Persistent Volume size
1558
##
1559
size: 10Gi
1560
## @param sourceController.persistence.dataSource Custom PVC data source
1561
##
1562
dataSource: {}
1563
## @param sourceController.persistence.annotations Annotations for the PVC
1564
##
1565
annotations: {}
1566
## @param sourceController.persistence.selector Selector to match an existing Persistent Volume (this value is evaluated as a template)
1567
## selector:
1568
## matchLabels:
1569
## app: my-app
1570
##
1571
selector: {}
1572
## @param sourceController.persistence.existingClaim The name of an existing PVC to use for persistence
1573
##
1574
existingClaim: ""
1575
## @section Source Controller RBAC Parameters
1576
##
1577
1578
## RBAC configuration
1579
##
1580
rbac:
1581
## @param sourceController.rbac.create Specifies whether RBAC resources should be created
1582
##
1583
create: true
1584
## @param sourceController.rbac.rules Custom RBAC rules to set
1585
## e.g:
1586
## rules:
1587
## - apiGroups:
1588
## - ""
1589
## resources:
1590
## - pods
1591
## verbs:
1592
## - get
1593
## - list
1594
##
1595
rules: []
1596
## ServiceAccount configuration
1597
##
1598
serviceAccount:
1599
## @param sourceController.serviceAccount.create Specifies whether a ServiceAccount should be created
1600
##
1601
create: true
1602
## @param sourceController.serviceAccount.name The name of the ServiceAccount to use.
1603
## If not set and create is true, a name is generated using the common.names.fullname template
1604
##
1605
name: ""
1606
## @param sourceController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
1607
##
1608
annotations: {}
1609
## @param sourceController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1610
##
1611
automountServiceAccountToken: false
1612
## @section Source Controller Metrics Parameters
1613
##
1614
1615
## Prometheus metrics
1616
##
1617
metrics:
1618
## @param sourceController.metrics.enabled Enable the export of Prometheus metrics
1619
##
1620
enabled: true
1621
## Source Controller service parameters
1622
##
1623
service:
1624
## @param sourceController.metrics.service.type Source Controller service type
1625
##
1626
type: ClusterIP
1627
## @param sourceController.metrics.service.ports.metrics Source Controller service metrics port
1628
##
1629
ports:
1630
metrics: 80
1631
## Node ports to expose
1632
## @param sourceController.metrics.service.nodePorts.metrics Node port for HTTP
1633
## NOTE: choose port between <30000-32767>
1634
##
1635
nodePorts:
1636
metrics: ""
1637
## @param sourceController.metrics.service.clusterIP Source Controller service Cluster IP
1638
## e.g.:
1639
## clusterIP: None
1640
##
1641
clusterIP: ""
1642
## @param sourceController.metrics.service.loadBalancerIP Source Controller service Load Balancer IP
1643
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1644
##
1645
loadBalancerIP: ""
1646
## @param sourceController.metrics.service.loadBalancerSourceRanges Source Controller service Load Balancer sources
1647
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1648
## e.g:
1649
## loadBalancerSourceRanges:
1650
## - 10.10.10.0/24
1651
##
1652
loadBalancerSourceRanges: []
1653
## @param sourceController.metrics.service.externalTrafficPolicy Source Controller service external traffic policy
1654
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1655
##
1656
externalTrafficPolicy: Cluster
1657
## @param sourceController.metrics.service.annotations [object] Additional custom annotations for Source Controller service
1658
##
1659
annotations:
1660
prometheus.io/scrape: "true"
1661
prometheus.io/port: "{{ .Values.sourceController.metrics.service.ports.metrics }}"
1662
## @param sourceController.metrics.service.extraPorts Extra ports to expose in Source Controller service (normally used with the `sidecars` value)
1663
##
1664
extraPorts: []
1665
## @param sourceController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1666
## Values: ClientIP or None
1667
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1668
##
1669
sessionAffinity: None
1670
## @param sourceController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
1671
## sessionAffinityConfig:
1672
## clientIP:
1673
## timeoutSeconds: 300
1674
##
1675
sessionAffinityConfig: {}
1676
## Prometheus Operator ServiceMonitor configuration
1677
##
1678
serviceMonitor:
1679
## @param sourceController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
1680
##
1681
enabled: false
1682
## @param sourceController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
1683
##
1684
namespace: ""
1685
## @param sourceController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
1686
##
1687
annotations: {}
1688
## @param sourceController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
1689
##
1690
labels: {}
1691
## @param sourceController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
1692
##
1693
jobLabel: ""
1694
## @param sourceController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1695
##
1696
honorLabels: false
1697
## @param sourceController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
1698
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1699
## e.g:
1700
## interval: 10s
1701
##
1702
interval: ""
1703
## @param sourceController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1704
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1705
## e.g:
1706
## scrapeTimeout: 10s
1707
##
1708
scrapeTimeout: ""
1709
## @param sourceController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
1710
##
1711
metricRelabelings: []
1712
## @param sourceController.metrics.serviceMonitor.relabelings Specify general relabeling
1713
##
1714
relabelings: []
1715
## @param sourceController.metrics.serviceMonitor.selector Prometheus instance selector labels
1716
## selector:
1717
## prometheus: my-prometheus
1718
##
1719
selector: {}
1720
## @section Notification Controller Parameters
1721
##
1722
notificationController:
1723
## @param notificationController.enabled Enable Notification Controller
1724
##
1725
enabled: true
1726
## @param notificationController.installCRDs Flag to install Notification Controller CRDs
1727
##
1728
installCRDs: true
1729
## @param notificationController.watchAllNamespaces Watch for custom resources in all namespaces
1730
##
1731
watchAllNamespaces: true
1732
## Iamguarded Notification Controller image
1733
## @param notificationController.image.registry [default: REGISTRY_NAME] Notification Controller image registry
1734
## @param notificationController.image.repository [default: REPOSITORY_NAME/fluxcd-notification-controller] Notification Controller image repository
1735
## @skip notificationController.image.tag Notification Controller image tag (immutable tags are recommended)
1736
## @param notificationController.image.digest Notification Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
1737
## @param notificationController.image.pullPolicy Notification Controller image pull policy
1738
## @param notificationController.image.pullSecrets Notification Controller image pull secrets
1739
## @param notificationController.image.debug Enable Notification Controller image debug mode
1740
##
1741
image:
1742
registry: cgr.dev
1743
repository: chainguard-private/flux-notification-controller-iamguarded
1744
tag: 1.10.1
1745
digest: ""
1746
## Specify a imagePullPolicy
1747
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
1748
##
1749
pullPolicy: IfNotPresent
1750
## Optionally specify an array of imagePullSecrets.
1751
## Secrets must be manually created in the namespace.
1752
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1753
## e.g:
1754
## pullSecrets:
1755
## - myRegistryKeySecretName
1756
##
1757
pullSecrets: []
1758
## Enable debug mode
1759
##
1760
debug: false
1761
## @param notificationController.replicaCount Number of Notification Controller replicas to deploy
1762
##
1763
replicaCount: 1
1764
## @param notificationController.containerPorts.metrics Notification Controller metrics container port
1765
## @param notificationController.containerPorts.receiver Notification Controller receiver container port
1766
## @param notificationController.containerPorts.health Notification Controller health container port
1767
## @param notificationController.containerPorts.webhook Notification Controller webhook container port
1768
##
1769
containerPorts:
1770
metrics: 8080
1771
receiver: 9090
1772
health: 9440
1773
webhook: 9292
1774
## Network Policies
1775
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1776
##
1777
networkPolicy:
1778
## @param notificationController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1779
##
1780
enabled: true
1781
## @param notificationController.networkPolicy.allowExternal Don't require server label for connections
1782
## The Policy model to apply. When set to false, only pods with the correct
1783
## server label will have network access to the ports server is listening
1784
## on. When true, server will accept connections from any source
1785
## (with the correct destination port).
1786
##
1787
allowExternal: true
1788
## @param notificationController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1789
##
1790
allowExternalEgress: true
1791
## @param notificationController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
1792
##
1793
kubeAPIServerPorts: [443, 6443, 8443]
1794
## @param notificationController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1795
## e.g:
1796
## extraIngress:
1797
## - ports:
1798
## - port: 1234
1799
## from:
1800
## - podSelector:
1801
## - matchLabels:
1802
## - role: frontend
1803
## - podSelector:
1804
## - matchExpressions:
1805
## - key: role
1806
## operator: In
1807
## values:
1808
## - frontend
1809
extraIngress: []
1810
## @param notificationController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1811
## e.g:
1812
## extraEgress:
1813
## - ports:
1814
## - port: 1234
1815
## to:
1816
## - podSelector:
1817
## - matchLabels:
1818
## - role: frontend
1819
## - podSelector:
1820
## - matchExpressions:
1821
## - key: role
1822
## operator: In
1823
## values:
1824
## - frontend
1825
##
1826
extraEgress: []
1827
## @param notificationController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1828
## @param notificationController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1829
##
1830
ingressNSMatchLabels: {}
1831
ingressNSPodMatchLabels: {}
1832
## Configure extra options for Notification Controller containers' liveness and readiness probes
1833
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1834
## @param notificationController.livenessProbe.enabled Enable livenessProbe on Notification Controller containers
1835
## @param notificationController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1836
## @param notificationController.livenessProbe.periodSeconds Period seconds for livenessProbe
1837
## @param notificationController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1838
## @param notificationController.livenessProbe.failureThreshold Failure threshold for livenessProbe
1839
## @param notificationController.livenessProbe.successThreshold Success threshold for livenessProbe
1840
##
1841
livenessProbe:
1842
enabled: true
1843
initialDelaySeconds: 5
1844
periodSeconds: 10
1845
timeoutSeconds: 5
1846
failureThreshold: 5
1847
successThreshold: 1
1848
## @param notificationController.readinessProbe.enabled Enable readinessProbe on Notification Controller containers
1849
## @param notificationController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1850
## @param notificationController.readinessProbe.periodSeconds Period seconds for readinessProbe
1851
## @param notificationController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1852
## @param notificationController.readinessProbe.failureThreshold Failure threshold for readinessProbe
1853
## @param notificationController.readinessProbe.successThreshold Success threshold for readinessProbe
1854
##
1855
readinessProbe:
1856
enabled: true
1857
initialDelaySeconds: 5
1858
periodSeconds: 10
1859
timeoutSeconds: 5
1860
failureThreshold: 5
1861
successThreshold: 1
1862
## @param notificationController.startupProbe.enabled Enable startupProbe on Notification Controller containers
1863
## @param notificationController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1864
## @param notificationController.startupProbe.periodSeconds Period seconds for startupProbe
1865
## @param notificationController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1866
## @param notificationController.startupProbe.failureThreshold Failure threshold for startupProbe
1867
## @param notificationController.startupProbe.successThreshold Success threshold for startupProbe
1868
##
1869
startupProbe:
1870
enabled: false
1871
initialDelaySeconds: 5
1872
periodSeconds: 10
1873
timeoutSeconds: 5
1874
failureThreshold: 5
1875
successThreshold: 1
1876
## @param notificationController.customLivenessProbe Custom livenessProbe that overrides the default one
1877
##
1878
customLivenessProbe: {}
1879
## @param notificationController.customReadinessProbe Custom readinessProbe that overrides the default one
1880
##
1881
customReadinessProbe: {}
1882
## @param notificationController.customStartupProbe Custom startupProbe that overrides the default one
1883
##
1884
customStartupProbe: {}
1885
## Notification Controller resource requests and limits
1886
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1887
## @param notificationController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if notificationController.resources is set (notificationController.resources is recommended for production).
1888
##
1889
resourcesPreset: "nano"
1890
## @param notificationController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1891
## Example:
1892
## resources:
1893
## requests:
1894
## cpu: 2
1895
## memory: 512Mi
1896
## limits:
1897
## cpu: 3
1898
## memory: 1024Mi
1899
##
1900
resources: {}
1901
## Configure Pods Security Context
1902
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1903
## @param notificationController.podSecurityContext.enabled Enabled Notification Controller pods' Security Context
1904
## @param notificationController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1905
## @param notificationController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1906
## @param notificationController.podSecurityContext.supplementalGroups Set filesystem extra groups
1907
## @param notificationController.podSecurityContext.fsGroup Set Notification Controller pod's Security Context fsGroup
1908
##
1909
podSecurityContext:
1910
enabled: true
1911
fsGroupChangePolicy: Always
1912
sysctls: []
1913
supplementalGroups: []
1914
fsGroup: 1001
1915
## Configure Container Security Context
1916
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1917
## @param notificationController.containerSecurityContext.enabled Enabled Notification Controller containers' Security Context
1918
## @param notificationController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1919
## @param notificationController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1920
## @param notificationController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1921
## @param notificationController.containerSecurityContext.runAsNonRoot Set Notification Controller containers' Security Context runAsNonRoot
1922
## @param notificationController.containerSecurityContext.readOnlyRootFilesystem Set Notification Controller containers' Security Context runAsNonRoot
1923
## @param notificationController.containerSecurityContext.privileged Set Notification Controller containers' Security Context privileged
1924
## @param notificationController.containerSecurityContext.allowPrivilegeEscalation Set Notification Controller container's privilege escalation
1925
## @param notificationController.containerSecurityContext.capabilities.drop Set Notification Controller container's Security Context runAsNonRoot
1926
## @param notificationController.containerSecurityContext.seccompProfile.type Set Notification Controller container's Security Context seccomp profile
1927
##
1928
containerSecurityContext:
1929
enabled: true
1930
seLinuxOptions: {}
1931
runAsUser: 1001
1932
runAsGroup: 1001
1933
runAsNonRoot: true
1934
privileged: false
1935
readOnlyRootFilesystem: true
1936
allowPrivilegeEscalation: false
1937
capabilities:
1938
drop: ["ALL"]
1939
seccompProfile:
1940
type: RuntimeDefault
1941
## @param notificationController.command Override default container command (useful when using custom images)
1942
##
1943
command: []
1944
## @param notificationController.args Override default container args (useful when using custom images)
1945
##
1946
args: []
1947
## @param notificationController.automountServiceAccountToken Mount Service Account token in pod
1948
##
1949
automountServiceAccountToken: true
1950
## @param notificationController.hostAliases Notification Controller pods host aliases
1951
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1952
##
1953
hostAliases: []
1954
## @param notificationController.podLabels Extra labels for Notification Controller pods
1955
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1956
##
1957
podLabels: {}
1958
## @param notificationController.podAnnotations Annotations for Notification Controller pods
1959
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1960
##
1961
podAnnotations: {}
1962
## @param notificationController.podAffinityPreset Pod affinity preset. Ignored if `notificationController.affinity` is set. Allowed values: `soft` or `hard`
1963
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1964
##
1965
podAffinityPreset: ""
1966
## @param notificationController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `notificationController.affinity` is set. Allowed values: `soft` or `hard`
1967
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1968
##
1969
podAntiAffinityPreset: soft
1970
## Pod Disruption Budget configuration
1971
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1972
## @param notificationController.pdb.create Enable/disable a Pod Disruption Budget creation
1973
## @param notificationController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1974
## @param notificationController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1975
##
1976
pdb:
1977
create: true
1978
minAvailable: ""
1979
maxUnavailable: ""
1980
## Autoscaling configuration
1981
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1982
## @param notificationController.autoscaling.enabled Enable autoscaling for notificationController
1983
## @param notificationController.autoscaling.minReplicas Minimum number of notificationController replicas
1984
## @param notificationController.autoscaling.maxReplicas Maximum number of notificationController replicas
1985
## @param notificationController.autoscaling.targetCPU Target CPU utilization percentage
1986
## @param notificationController.autoscaling.targetMemory Target Memory utilization percentage
1987
##
1988
autoscaling:
1989
enabled: false
1990
minReplicas: ""
1991
maxReplicas: ""
1992
targetCPU: ""
1993
targetMemory: ""
1994
## Node notificationController.affinity preset
1995
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1996
##
1997
nodeAffinityPreset:
1998
## @param notificationController.nodeAffinityPreset.type Node affinity preset type. Ignored if `notificationController.affinity` is set. Allowed values: `soft` or `hard`
1999
##
2000
type: ""
2001
## @param notificationController.nodeAffinityPreset.key Node label key to match. Ignored if `notificationController.affinity` is set
2002
##
2003
key: ""
2004
## @param notificationController.nodeAffinityPreset.values Node label values to match. Ignored if `notificationController.affinity` is set
2005
## E.g.
2006
## values:
2007
## - e2e-az1
2008
## - e2e-az2
2009
##
2010
values: []
2011
## @param notificationController.affinity Affinity for Notification Controller pods assignment
2012
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2013
## NOTE: `notificationController.podAffinityPreset`, `notificationController.podAntiAffinityPreset`, and `notificationController.nodeAffinityPreset` will be ignored when it's set
2014
##
2015
affinity: {}
2016
## @param notificationController.nodeSelector Node labels for Notification Controller pods assignment
2017
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2018
##
2019
nodeSelector: {}
2020
## @param notificationController.tolerations Tolerations for Notification Controller pods assignment
2021
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2022
##
2023
tolerations: []
2024
## @param notificationController.updateStrategy.type Notification Controller statefulset strategy type
2025
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
2026
##
2027
updateStrategy:
2028
## StrategyType
2029
## Can be set to RollingUpdate or OnDelete
2030
##
2031
type: RollingUpdate
2032
## @param notificationController.priorityClassName Notification Controller pods' priorityClassName
2033
##
2034
priorityClassName: ""
2035
## @param notificationController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
2036
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2037
##
2038
topologySpreadConstraints: []
2039
## @param notificationController.schedulerName Name of the k8s scheduler (other than default) for Notification Controller pods
2040
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2041
##
2042
schedulerName: ""
2043
## @param notificationController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
2044
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
2045
##
2046
terminationGracePeriodSeconds: ""
2047
## @param notificationController.lifecycleHooks for the Notification Controller container(s) to automate configuration before or after startup
2048
##
2049
lifecycleHooks: {}
2050
## @param notificationController.extraEnvVars Array with extra environment variables to add to Notification Controller nodes
2051
## e.g:
2052
## extraEnvVars:
2053
## - name: FOO
2054
## value: "bar"
2055
##
2056
extraEnvVars: []
2057
## @param notificationController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Notification Controller nodes
2058
##
2059
extraEnvVarsCM: ""
2060
## @param notificationController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Notification Controller nodes
2061
##
2062
extraEnvVarsSecret: ""
2063
## @param notificationController.extraVolumes Optionally specify extra list of additional volumes for the Notification Controller pod(s)
2064
##
2065
extraVolumes: []
2066
## @param notificationController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Notification Controller container(s)
2067
##
2068
extraVolumeMounts: []
2069
## @param notificationController.sidecars Add additional sidecar containers to the Notification Controller pod(s)
2070
## e.g:
2071
## sidecars:
2072
## - name: your-image-name
2073
## image: your-image
2074
## imagePullPolicy: Always
2075
## ports:
2076
## - name: portname
2077
## containerPort: 1234
2078
##
2079
sidecars: []
2080
## @param notificationController.initContainers Add additional init containers to the Notification Controller pod(s)
2081
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2082
## e.g:
2083
## initContainers:
2084
## - name: your-image-name
2085
## image: your-image
2086
## imagePullPolicy: Always
2087
## command: ['sh', '-c', 'echo "hello world"']
2088
##
2089
initContainers: []
2090
## @section Notification Controller Traffic Exposure Parameters
2091
service:
2092
## Notification Controller Receiver service parameters
2093
##
2094
receiver:
2095
## @param notificationController.service.receiver.type Notification Controller service type
2096
##
2097
type: ClusterIP
2098
## @param notificationController.service.receiver.ports.http Notification Controller service receiver port
2099
##
2100
ports:
2101
http: 80
2102
## Node ports to expose
2103
## @param notificationController.service.receiver.nodePorts.http Node port for HTTP
2104
## NOTE: choose port between <30000-32767>
2105
##
2106
nodePorts:
2107
http: ""
2108
## @param notificationController.service.receiver.clusterIP Notification Controller service Cluster IP
2109
## e.g.:
2110
## clusterIP: None
2111
##
2112
clusterIP: ""
2113
## @param notificationController.service.receiver.loadBalancerIP Notification Controller service Load Balancer IP
2114
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2115
##
2116
loadBalancerIP: ""
2117
## @param notificationController.service.receiver.loadBalancerSourceRanges Notification Controller service Load Balancer sources
2118
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2119
## e.g:
2120
## loadBalancerSourceRanges:
2121
## - 10.10.10.0/24
2122
##
2123
loadBalancerSourceRanges: []
2124
## @param notificationController.service.receiver.externalTrafficPolicy Notification Controller service external traffic policy
2125
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2126
##
2127
externalTrafficPolicy: Cluster
2128
## @param notificationController.service.receiver.annotations [object] Additional custom annotations for Notification Controller service
2129
##
2130
annotations: {}
2131
## @param notificationController.service.receiver.extraPorts Extra ports to expose in Notification Controller service (normally used with the `sidecars` value)
2132
##
2133
extraPorts: []
2134
## @param notificationController.service.receiver.sessionAffinity Control where client requests go, to the same pod or round-robin
2135
## Values: ClientIP or None
2136
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2137
##
2138
sessionAffinity: None
2139
## @param notificationController.service.receiver.sessionAffinityConfig Additional settings for the sessionAffinity
2140
## sessionAffinityConfig:
2141
## clientIP:
2142
## timeoutSeconds: 300
2143
##
2144
sessionAffinityConfig: {}
2145
## Notification Controller webhook service parameters
2146
##
2147
webhook:
2148
## @param notificationController.service.webhook.type Notification Controller service type
2149
##
2150
type: ClusterIP
2151
## @param notificationController.service.webhook.ports.http Notification Controller service webhook port
2152
##
2153
ports:
2154
http: 80
2155
## Node ports to expose
2156
## @param notificationController.service.webhook.nodePorts.http Node port for HTTP
2157
## NOTE: choose port between <30000-32767>
2158
##
2159
nodePorts:
2160
http: ""
2161
## @param notificationController.service.webhook.clusterIP Notification Controller service Cluster IP
2162
## e.g.:
2163
## clusterIP: None
2164
##
2165
clusterIP: ""
2166
## @param notificationController.service.webhook.loadBalancerIP Notification Controller service Load Balancer IP
2167
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2168
##
2169
loadBalancerIP: ""
2170
## @param notificationController.service.webhook.loadBalancerSourceRanges Notification Controller service Load Balancer sources
2171
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2172
## e.g:
2173
## loadBalancerSourceRanges:
2174
## - 10.10.10.0/24
2175
##
2176
loadBalancerSourceRanges: []
2177
## @param notificationController.service.webhook.externalTrafficPolicy Notification Controller service external traffic policy
2178
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2179
##
2180
externalTrafficPolicy: Cluster
2181
## @param notificationController.service.webhook.annotations [object] Additional custom annotations for Notification Controller service
2182
##
2183
annotations: {}
2184
## @param notificationController.service.webhook.extraPorts Extra ports to expose in Notification Controller service (normally used with the `sidecars` value)
2185
##
2186
extraPorts: []
2187
## @param notificationController.service.webhook.sessionAffinity Control where client requests go, to the same pod or round-robin
2188
## Values: ClientIP or None
2189
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2190
##
2191
sessionAffinity: None
2192
## @param notificationController.service.webhook.sessionAffinityConfig Additional settings for the sessionAffinity
2193
## sessionAffinityConfig:
2194
## clientIP:
2195
## timeoutSeconds: 300
2196
##
2197
sessionAffinityConfig: {}
2198
## @section Notification Controller RBAC Parameters
2199
##
2200
2201
## RBAC configuration
2202
##
2203
rbac:
2204
## @param notificationController.rbac.create Specifies whether RBAC resources should be created
2205
##
2206
create: true
2207
## @param notificationController.rbac.rules Custom RBAC rules to set
2208
## e.g:
2209
## rules:
2210
## - apiGroups:
2211
## - ""
2212
## resources:
2213
## - pods
2214
## verbs:
2215
## - get
2216
## - list
2217
##
2218
rules: []
2219
## ServiceAccount configuration
2220
##
2221
serviceAccount:
2222
## @param notificationController.serviceAccount.create Specifies whether a ServiceAccount should be created
2223
##
2224
create: true
2225
## @param notificationController.serviceAccount.name The name of the ServiceAccount to use.
2226
## If not set and create is true, a name is generated using the common.names.fullname template
2227
##
2228
name: ""
2229
## @param notificationController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
2230
##
2231
annotations: {}
2232
## @param notificationController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2233
##
2234
automountServiceAccountToken: false
2235
## @section Notification Controller Metrics Parameters
2236
##
2237
2238
## Prometheus metrics
2239
##
2240
metrics:
2241
## @param notificationController.metrics.enabled Enable the export of Prometheus metrics
2242
##
2243
enabled: true
2244
## Notification Controller service parameters
2245
##
2246
service:
2247
## @param notificationController.metrics.service.type Notification Controller service type
2248
##
2249
type: ClusterIP
2250
## @param notificationController.metrics.service.ports.metrics Notification Controller service metrics port
2251
##
2252
ports:
2253
metrics: 80
2254
## Node ports to expose
2255
## @param notificationController.metrics.service.nodePorts.metrics Node port for HTTP
2256
## NOTE: choose port between <30000-32767>
2257
##
2258
nodePorts:
2259
metrics: ""
2260
## @param notificationController.metrics.service.clusterIP Notification Controller service Cluster IP
2261
## e.g.:
2262
## clusterIP: None
2263
##
2264
clusterIP: ""
2265
## @param notificationController.metrics.service.loadBalancerIP Notification Controller service Load Balancer IP
2266
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2267
##
2268
loadBalancerIP: ""
2269
## @param notificationController.metrics.service.loadBalancerSourceRanges Notification Controller service Load Balancer sources
2270
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2271
## e.g:
2272
## loadBalancerSourceRanges:
2273
## - 10.10.10.0/24
2274
##
2275
loadBalancerSourceRanges: []
2276
## @param notificationController.metrics.service.externalTrafficPolicy Notification Controller service external traffic policy
2277
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2278
##
2279
externalTrafficPolicy: Cluster
2280
## @param notificationController.metrics.service.annotations [object] Additional custom annotations for Notification Controller service
2281
##
2282
annotations:
2283
prometheus.io/scrape: "true"
2284
prometheus.io/port: "{{ .Values.notificationController.metrics.service.ports.metrics }}"
2285
## @param notificationController.metrics.service.extraPorts Extra ports to expose in Notification Controller service (normally used with the `sidecars` value)
2286
##
2287
extraPorts: []
2288
## @param notificationController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
2289
## Values: ClientIP or None
2290
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2291
##
2292
sessionAffinity: None
2293
## @param notificationController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
2294
## sessionAffinityConfig:
2295
## clientIP:
2296
## timeoutSeconds: 300
2297
##
2298
sessionAffinityConfig: {}
2299
## Prometheus Operator ServiceMonitor configuration
2300
##
2301
serviceMonitor:
2302
## @param notificationController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
2303
##
2304
enabled: false
2305
## @param notificationController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
2306
##
2307
namespace: ""
2308
## @param notificationController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
2309
##
2310
annotations: {}
2311
## @param notificationController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2312
##
2313
labels: {}
2314
## @param notificationController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
2315
##
2316
jobLabel: ""
2317
## @param notificationController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2318
##
2319
honorLabels: false
2320
## @param notificationController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
2321
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2322
## e.g:
2323
## interval: 10s
2324
##
2325
interval: ""
2326
## @param notificationController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2327
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2328
## e.g:
2329
## scrapeTimeout: 10s
2330
##
2331
scrapeTimeout: ""
2332
## @param notificationController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
2333
##
2334
metricRelabelings: []
2335
## @param notificationController.metrics.serviceMonitor.relabelings Specify general relabeling
2336
##
2337
relabelings: []
2338
## @param notificationController.metrics.serviceMonitor.selector Prometheus instance selector labels
2339
## selector:
2340
## prometheus: my-prometheus
2341
##
2342
selector: {}
2343
## @section Image Automation Controller Parameters
2344
##
2345
imageAutomationController:
2346
## @param imageAutomationController.enabled Enable Image Automation Controller
2347
##
2348
enabled: true
2349
## @param imageAutomationController.installCRDs Flag to install Image Automation Controller CRDs
2350
##
2351
installCRDs: true
2352
## @param imageAutomationController.watchAllNamespaces Watch for custom resources in all namespaces
2353
##
2354
watchAllNamespaces: true
2355
## Iamguarded Image Automation Controller image
2356
## @param imageAutomationController.image.registry [default: REGISTRY_NAME] Image Automation Controller image registry
2357
## @param imageAutomationController.image.repository [default: REPOSITORY_NAME/fluxcd-image-automation-controller] Image Automation Controller image repository
2358
## @skip imageAutomationController.image.tag Image Automation Controller image tag (immutable tags are recommended)
2359
## @param imageAutomationController.image.digest Image Automation Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
2360
## @param imageAutomationController.image.pullPolicy Image Automation Controller image pull policy
2361
## @param imageAutomationController.image.pullSecrets Image Automation Controller image pull secrets
2362
## @param imageAutomationController.image.debug Enable Image Automation Controller image debug mode
2363
##
2364
image:
2365
registry: cgr.dev
2366
repository: chainguard-private/flux-image-automation-controller-iamguarded
2367
tag: 1.3.1
2368
digest: ""
2369
## Specify a imagePullPolicy
2370
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2371
##
2372
pullPolicy: IfNotPresent
2373
## Optionally specify an array of imagePullSecrets.
2374
## Secrets must be manually created in the namespace.
2375
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2376
## e.g:
2377
## pullSecrets:
2378
## - myRegistryKeySecretName
2379
##
2380
pullSecrets: []
2381
## Enable debug mode
2382
##
2383
debug: false
2384
## @param imageAutomationController.replicaCount Number of Image Automation Controller replicas to deploy
2385
##
2386
replicaCount: 1
2387
## @param imageAutomationController.containerPorts.metrics Image Automation Controller metrics container port
2388
## @param imageAutomationController.containerPorts.health Image Automation Controller health container port
2389
##
2390
containerPorts:
2391
metrics: 8080
2392
health: 9440
2393
## Network Policies
2394
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2395
##
2396
networkPolicy:
2397
## @param imageAutomationController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
2398
##
2399
enabled: true
2400
## @param imageAutomationController.networkPolicy.allowExternal Don't require server label for connections
2401
## The Policy model to apply. When set to false, only pods with the correct
2402
## server label will have network access to the ports server is listening
2403
## on. When true, server will accept connections from any source
2404
## (with the correct destination port).
2405
##
2406
allowExternal: true
2407
## @param imageAutomationController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2408
##
2409
allowExternalEgress: true
2410
## @param imageAutomationController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
2411
##
2412
kubeAPIServerPorts: [443, 6443, 8443]
2413
## @param imageAutomationController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2414
## e.g:
2415
## extraIngress:
2416
## - ports:
2417
## - port: 1234
2418
## from:
2419
## - podSelector:
2420
## - matchLabels:
2421
## - role: frontend
2422
## - podSelector:
2423
## - matchExpressions:
2424
## - key: role
2425
## operator: In
2426
## values:
2427
## - frontend
2428
extraIngress: []
2429
## @param imageAutomationController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2430
## e.g:
2431
## extraEgress:
2432
## - ports:
2433
## - port: 1234
2434
## to:
2435
## - podSelector:
2436
## - matchLabels:
2437
## - role: frontend
2438
## - podSelector:
2439
## - matchExpressions:
2440
## - key: role
2441
## operator: In
2442
## values:
2443
## - frontend
2444
##
2445
extraEgress: []
2446
## @param imageAutomationController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2447
## @param imageAutomationController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2448
##
2449
ingressNSMatchLabels: {}
2450
ingressNSPodMatchLabels: {}
2451
## Configure extra options for Image Automation Controller containers' liveness and readiness probes
2452
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2453
## @param imageAutomationController.livenessProbe.enabled Enable livenessProbe on Image Automation Controller containers
2454
## @param imageAutomationController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2455
## @param imageAutomationController.livenessProbe.periodSeconds Period seconds for livenessProbe
2456
## @param imageAutomationController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2457
## @param imageAutomationController.livenessProbe.failureThreshold Failure threshold for livenessProbe
2458
## @param imageAutomationController.livenessProbe.successThreshold Success threshold for livenessProbe
2459
##
2460
livenessProbe:
2461
enabled: true
2462
initialDelaySeconds: 5
2463
periodSeconds: 10
2464
timeoutSeconds: 5
2465
failureThreshold: 5
2466
successThreshold: 1
2467
## @param imageAutomationController.readinessProbe.enabled Enable readinessProbe on Image Automation Controller containers
2468
## @param imageAutomationController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2469
## @param imageAutomationController.readinessProbe.periodSeconds Period seconds for readinessProbe
2470
## @param imageAutomationController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2471
## @param imageAutomationController.readinessProbe.failureThreshold Failure threshold for readinessProbe
2472
## @param imageAutomationController.readinessProbe.successThreshold Success threshold for readinessProbe
2473
##
2474
readinessProbe:
2475
enabled: true
2476
initialDelaySeconds: 5
2477
periodSeconds: 10
2478
timeoutSeconds: 5
2479
failureThreshold: 5
2480
successThreshold: 1
2481
## @param imageAutomationController.startupProbe.enabled Enable startupProbe on Image Automation Controller containers
2482
## @param imageAutomationController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2483
## @param imageAutomationController.startupProbe.periodSeconds Period seconds for startupProbe
2484
## @param imageAutomationController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2485
## @param imageAutomationController.startupProbe.failureThreshold Failure threshold for startupProbe
2486
## @param imageAutomationController.startupProbe.successThreshold Success threshold for startupProbe
2487
##
2488
startupProbe:
2489
enabled: false
2490
initialDelaySeconds: 5
2491
periodSeconds: 10
2492
timeoutSeconds: 5
2493
failureThreshold: 5
2494
successThreshold: 1
2495
## @param imageAutomationController.customLivenessProbe Custom livenessProbe that overrides the default one
2496
##
2497
customLivenessProbe: {}
2498
## @param imageAutomationController.customReadinessProbe Custom readinessProbe that overrides the default one
2499
##
2500
customReadinessProbe: {}
2501
## @param imageAutomationController.customStartupProbe Custom startupProbe that overrides the default one
2502
##
2503
customStartupProbe: {}
2504
## Image Automation Controller resource requests and limits
2505
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2506
## @param imageAutomationController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if imageAutomationController.resources is set (imageAutomationController.resources is recommended for production).
2507
##
2508
resourcesPreset: "nano"
2509
## @param imageAutomationController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2510
## Example:
2511
## resources:
2512
## requests:
2513
## cpu: 2
2514
## memory: 512Mi
2515
## limits:
2516
## cpu: 3
2517
## memory: 1024Mi
2518
##
2519
resources: {}
2520
## Configure Pods Security Context
2521
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2522
## @param imageAutomationController.podSecurityContext.enabled Enabled Image Automation Controller pods' Security Context
2523
## @param imageAutomationController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2524
## @param imageAutomationController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2525
## @param imageAutomationController.podSecurityContext.supplementalGroups Set filesystem extra groups
2526
## @param imageAutomationController.podSecurityContext.fsGroup Set Image Automation Controller pod's Security Context fsGroup
2527
##
2528
podSecurityContext:
2529
enabled: true
2530
fsGroupChangePolicy: Always
2531
sysctls: []
2532
supplementalGroups: []
2533
fsGroup: 1001
2534
## Configure Container Security Context
2535
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2536
## @param imageAutomationController.containerSecurityContext.enabled Enabled Image Automation Controller containers' Security Context
2537
## @param imageAutomationController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2538
## @param imageAutomationController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2539
## @param imageAutomationController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2540
## @param imageAutomationController.containerSecurityContext.runAsNonRoot Set Image Automation Controller containers' Security Context runAsNonRoot
2541
## @param imageAutomationController.containerSecurityContext.readOnlyRootFilesystem Set Image Automation Controller containers' Security Context runAsNonRoot
2542
## @param imageAutomationController.containerSecurityContext.privileged Set Image Automation Controller containers' Security Context privileged
2543
## @param imageAutomationController.containerSecurityContext.allowPrivilegeEscalation Set Image Automation Controller container's privilege escalation
2544
## @param imageAutomationController.containerSecurityContext.capabilities.drop Set Image Automation Controller container's Security Context runAsNonRoot
2545
## @param imageAutomationController.containerSecurityContext.seccompProfile.type Set Image Automation Controller container's Security Context seccomp profile
2546
##
2547
containerSecurityContext:
2548
enabled: true
2549
seLinuxOptions: {}
2550
runAsUser: 1001
2551
runAsGroup: 1001
2552
runAsNonRoot: true
2553
readOnlyRootFilesystem: true
2554
privileged: false
2555
allowPrivilegeEscalation: false
2556
capabilities:
2557
drop: ["ALL"]
2558
seccompProfile:
2559
type: RuntimeDefault
2560
## @param imageAutomationController.command Override default container command (useful when using custom images)
2561
##
2562
command: []
2563
## @param imageAutomationController.args Override default container args (useful when using custom images)
2564
##
2565
args: []
2566
## @param imageAutomationController.automountServiceAccountToken Mount Service Account token in pod
2567
##
2568
automountServiceAccountToken: true
2569
## @param imageAutomationController.hostAliases Image Automation Controller pods host aliases
2570
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2571
##
2572
hostAliases: []
2573
## @param imageAutomationController.podLabels Extra labels for Image Automation Controller pods
2574
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2575
##
2576
podLabels: {}
2577
## @param imageAutomationController.podAnnotations Annotations for Image Automation Controller pods
2578
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2579
##
2580
podAnnotations: {}
2581
## @param imageAutomationController.podAffinityPreset Pod affinity preset. Ignored if `imageAutomationController.affinity` is set. Allowed values: `soft` or `hard`
2582
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2583
##
2584
podAffinityPreset: ""
2585
## @param imageAutomationController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `imageAutomationController.affinity` is set. Allowed values: `soft` or `hard`
2586
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2587
##
2588
podAntiAffinityPreset: soft
2589
## Pod Disruption Budget configuration
2590
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
2591
## @param imageAutomationController.pdb.create Enable/disable a Pod Disruption Budget creation
2592
## @param imageAutomationController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
2593
## @param imageAutomationController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
2594
##
2595
pdb:
2596
create: true
2597
minAvailable: ""
2598
maxUnavailable: ""
2599
## Autoscaling configuration
2600
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
2601
## @param imageAutomationController.autoscaling.enabled Enable autoscaling for imageAutomationController
2602
## @param imageAutomationController.autoscaling.minReplicas Minimum number of imageAutomationController replicas
2603
## @param imageAutomationController.autoscaling.maxReplicas Maximum number of imageAutomationController replicas
2604
## @param imageAutomationController.autoscaling.targetCPU Target CPU utilization percentage
2605
## @param imageAutomationController.autoscaling.targetMemory Target Memory utilization percentage
2606
##
2607
autoscaling:
2608
enabled: false
2609
minReplicas: ""
2610
maxReplicas: ""
2611
targetCPU: ""
2612
targetMemory: ""
2613
## Node imageAutomationController.affinity preset
2614
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2615
##
2616
nodeAffinityPreset:
2617
## @param imageAutomationController.nodeAffinityPreset.type Node affinity preset type. Ignored if `imageAutomationController.affinity` is set. Allowed values: `soft` or `hard`
2618
##
2619
type: ""
2620
## @param imageAutomationController.nodeAffinityPreset.key Node label key to match. Ignored if `imageAutomationController.affinity` is set
2621
##
2622
key: ""
2623
## @param imageAutomationController.nodeAffinityPreset.values Node label values to match. Ignored if `imageAutomationController.affinity` is set
2624
## E.g.
2625
## values:
2626
## - e2e-az1
2627
## - e2e-az2
2628
##
2629
values: []
2630
## @param imageAutomationController.affinity Affinity for Image Automation Controller pods assignment
2631
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2632
## NOTE: `imageAutomationController.podAffinityPreset`, `imageAutomationController.podAntiAffinityPreset`, and `imageAutomationController.nodeAffinityPreset` will be ignored when it's set
2633
##
2634
affinity: {}
2635
## @param imageAutomationController.nodeSelector Node labels for Image Automation Controller pods assignment
2636
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2637
##
2638
nodeSelector: {}
2639
## @param imageAutomationController.tolerations Tolerations for Image Automation Controller pods assignment
2640
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2641
##
2642
tolerations: []
2643
## @param imageAutomationController.updateStrategy.type Image Automation Controller statefulset strategy type
2644
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
2645
##
2646
updateStrategy:
2647
## StrategyType
2648
## Can be set to RollingUpdate or OnDelete
2649
##
2650
type: RollingUpdate
2651
## @param imageAutomationController.priorityClassName Image Automation Controller pods' priorityClassName
2652
##
2653
priorityClassName: ""
2654
## @param imageAutomationController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
2655
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2656
##
2657
topologySpreadConstraints: []
2658
## @param imageAutomationController.schedulerName Name of the k8s scheduler (other than default) for Image Automation Controller pods
2659
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2660
##
2661
schedulerName: ""
2662
## @param imageAutomationController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
2663
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
2664
##
2665
terminationGracePeriodSeconds: ""
2666
## @param imageAutomationController.lifecycleHooks for the Image Automation Controller container(s) to automate configuration before or after startup
2667
##
2668
lifecycleHooks: {}
2669
## @param imageAutomationController.extraEnvVars Array with extra environment variables to add to Image Automation Controller nodes
2670
## e.g:
2671
## extraEnvVars:
2672
## - name: FOO
2673
## value: "bar"
2674
##
2675
extraEnvVars: []
2676
## @param imageAutomationController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Image Automation Controller nodes
2677
##
2678
extraEnvVarsCM: ""
2679
## @param imageAutomationController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Image Automation Controller nodes
2680
##
2681
extraEnvVarsSecret: ""
2682
## @param imageAutomationController.extraVolumes Optionally specify extra list of additional volumes for the Image Automation Controller pod(s)
2683
##
2684
extraVolumes: []
2685
## @param imageAutomationController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Image Automation Controller container(s)
2686
##
2687
extraVolumeMounts: []
2688
## @param imageAutomationController.sidecars Add additional sidecar containers to the Image Automation Controller pod(s)
2689
## e.g:
2690
## sidecars:
2691
## - name: your-image-name
2692
## image: your-image
2693
## imagePullPolicy: Always
2694
## ports:
2695
## - name: portname
2696
## containerPort: 1234
2697
##
2698
sidecars: []
2699
## @param imageAutomationController.initContainers Add additional init containers to the Image Automation Controller pod(s)
2700
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2701
## e.g:
2702
## initContainers:
2703
## - name: your-image-name
2704
## image: your-image
2705
## imagePullPolicy: Always
2706
## command: ['sh', '-c', 'echo "hello world"']
2707
##
2708
initContainers: []
2709
## @section Image Automation Controller RBAC Parameters
2710
##
2711
2712
## RBAC configuration
2713
##
2714
rbac:
2715
## @param imageAutomationController.rbac.create Specifies whether RBAC resources should be created
2716
##
2717
create: true
2718
## @param imageAutomationController.rbac.rules Custom RBAC rules to set
2719
## e.g:
2720
## rules:
2721
## - apiGroups:
2722
## - ""
2723
## resources:
2724
## - pods
2725
## verbs:
2726
## - get
2727
## - list
2728
##
2729
rules: []
2730
## ServiceAccount configuration
2731
##
2732
serviceAccount:
2733
## @param imageAutomationController.serviceAccount.create Specifies whether a ServiceAccount should be created
2734
##
2735
create: true
2736
## @param imageAutomationController.serviceAccount.name The name of the ServiceAccount to use.
2737
## If not set and create is true, a name is generated using the common.names.fullname template
2738
##
2739
name: ""
2740
## @param imageAutomationController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
2741
##
2742
annotations: {}
2743
## @param imageAutomationController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2744
##
2745
automountServiceAccountToken: false
2746
## @section Image Automation Controller Metrics Parameters
2747
##
2748
2749
## Prometheus metrics
2750
##
2751
metrics:
2752
## @param imageAutomationController.metrics.enabled Enable the export of Prometheus metrics
2753
##
2754
enabled: true
2755
## Image Automation Controller service parameters
2756
##
2757
service:
2758
## @param imageAutomationController.metrics.service.type Image Automation Controller service type
2759
##
2760
type: ClusterIP
2761
## @param imageAutomationController.metrics.service.ports.metrics Image Automation Controller service metrics port
2762
##
2763
ports:
2764
metrics: 80
2765
## Node ports to expose
2766
## @param imageAutomationController.metrics.service.nodePorts.metrics Node port for HTTP
2767
## NOTE: choose port between <30000-32767>
2768
##
2769
nodePorts:
2770
metrics: ""
2771
## @param imageAutomationController.metrics.service.clusterIP Image Automation Controller service Cluster IP
2772
## e.g.:
2773
## clusterIP: None
2774
##
2775
clusterIP: ""
2776
## @param imageAutomationController.metrics.service.loadBalancerIP Image Automation Controller service Load Balancer IP
2777
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2778
##
2779
loadBalancerIP: ""
2780
## @param imageAutomationController.metrics.service.loadBalancerSourceRanges Image Automation Controller service Load Balancer sources
2781
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2782
## e.g:
2783
## loadBalancerSourceRanges:
2784
## - 10.10.10.0/24
2785
##
2786
loadBalancerSourceRanges: []
2787
## @param imageAutomationController.metrics.service.externalTrafficPolicy Image Automation Controller service external traffic policy
2788
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2789
##
2790
externalTrafficPolicy: Cluster
2791
## @param imageAutomationController.metrics.service.annotations [object] Additional custom annotations for Image Automation Controller service
2792
##
2793
annotations:
2794
prometheus.io/scrape: "true"
2795
prometheus.io/port: "{{ .Values.imageAutomationController.metrics.service.ports.metrics }}"
2796
## @param imageAutomationController.metrics.service.extraPorts Extra ports to expose in Image Automation Controller service (normally used with the `sidecars` value)
2797
##
2798
extraPorts: []
2799
## @param imageAutomationController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
2800
## Values: ClientIP or None
2801
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2802
##
2803
sessionAffinity: None
2804
## @param imageAutomationController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
2805
## sessionAffinityConfig:
2806
## clientIP:
2807
## timeoutSeconds: 300
2808
##
2809
sessionAffinityConfig: {}
2810
## Prometheus Operator ServiceMonitor configuration
2811
##
2812
serviceMonitor:
2813
## @param imageAutomationController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
2814
##
2815
enabled: false
2816
## @param imageAutomationController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
2817
##
2818
namespace: ""
2819
## @param imageAutomationController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
2820
##
2821
annotations: {}
2822
## @param imageAutomationController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2823
##
2824
labels: {}
2825
## @param imageAutomationController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
2826
##
2827
jobLabel: ""
2828
## @param imageAutomationController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2829
##
2830
honorLabels: false
2831
## @param imageAutomationController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
2832
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2833
## e.g:
2834
## interval: 10s
2835
##
2836
interval: ""
2837
## @param imageAutomationController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2838
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2839
## e.g:
2840
## scrapeTimeout: 10s
2841
##
2842
scrapeTimeout: ""
2843
## @param imageAutomationController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
2844
##
2845
metricRelabelings: []
2846
## @param imageAutomationController.metrics.serviceMonitor.relabelings Specify general relabeling
2847
##
2848
relabelings: []
2849
## @param imageAutomationController.metrics.serviceMonitor.selector Prometheus instance selector labels
2850
## selector:
2851
## prometheus: my-prometheus
2852
##
2853
selector: {}
2854
## @section Image Reflector Controller Parameters
2855
##
2856
imageReflectorController:
2857
## @param imageReflectorController.enabled Enable Image Reflector Controller
2858
##
2859
enabled: true
2860
## @param imageReflectorController.installCRDs Flag to install Image Reflector Controller CRDs
2861
##
2862
installCRDs: true
2863
## @param imageReflectorController.watchAllNamespaces Watch for custom resources in all namespaces
2864
##
2865
watchAllNamespaces: true
2866
## Iamguarded Image Reflector Controller image
2867
## @param imageReflectorController.image.registry [default: REGISTRY_NAME] Image Reflector Controller image registry
2868
## @param imageReflectorController.image.repository [default: REPOSITORY_NAME/fluxcd-image-reflector-controller] Image Reflector Controller image repository
2869
## @skip imageReflectorController.image.tag Image Reflector Controller image tag (immutable tags are recommended)
2870
## @param imageReflectorController.image.digest Image Reflector Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
2871
## @param imageReflectorController.image.pullPolicy Image Reflector Controller image pull policy
2872
## @param imageReflectorController.image.pullSecrets Image Reflector Controller image pull secrets
2873
## @param imageReflectorController.image.debug Enable Image Reflector Controller image debug mode
2874
##
2875
image:
2876
registry: cgr.dev
2877
repository: chainguard-private/flux-image-reflector-controller-iamguarded
2878
tag: 1.3.1
2879
digest: ""
2880
## Specify a imagePullPolicy
2881
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2882
##
2883
pullPolicy: IfNotPresent
2884
## Optionally specify an array of imagePullSecrets.
2885
## Secrets must be manually created in the namespace.
2886
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2887
## e.g:
2888
## pullSecrets:
2889
## - myRegistryKeySecretName
2890
##
2891
pullSecrets: []
2892
## Enable debug mode
2893
##
2894
debug: false
2895
## @param imageReflectorController.replicaCount Number of Image Reflector Controller replicas to deploy
2896
##
2897
replicaCount: 1
2898
## @param imageReflectorController.containerPorts.metrics Image Reflector Controller metrics container port
2899
## @param imageReflectorController.containerPorts.health Image Reflector Controller health container port
2900
##
2901
containerPorts:
2902
metrics: 8080
2903
health: 9440
2904
## Network Policies
2905
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2906
##
2907
networkPolicy:
2908
## @param imageReflectorController.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
2909
##
2910
enabled: true
2911
## @param imageReflectorController.networkPolicy.allowExternal Don't require server label for connections
2912
## The Policy model to apply. When set to false, only pods with the correct
2913
## server label will have network access to the ports server is listening
2914
## on. When true, server will accept connections from any source
2915
## (with the correct destination port).
2916
##
2917
allowExternal: true
2918
## @param imageReflectorController.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2919
##
2920
allowExternalEgress: true
2921
## @param imageReflectorController.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
2922
##
2923
kubeAPIServerPorts: [443, 6443, 8443]
2924
## @param imageReflectorController.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2925
## e.g:
2926
## extraIngress:
2927
## - ports:
2928
## - port: 1234
2929
## from:
2930
## - podSelector:
2931
## - matchLabels:
2932
## - role: frontend
2933
## - podSelector:
2934
## - matchExpressions:
2935
## - key: role
2936
## operator: In
2937
## values:
2938
## - frontend
2939
extraIngress: []
2940
## @param imageReflectorController.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2941
## e.g:
2942
## extraEgress:
2943
## - ports:
2944
## - port: 1234
2945
## to:
2946
## - podSelector:
2947
## - matchLabels:
2948
## - role: frontend
2949
## - podSelector:
2950
## - matchExpressions:
2951
## - key: role
2952
## operator: In
2953
## values:
2954
## - frontend
2955
##
2956
extraEgress: []
2957
## @param imageReflectorController.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2958
## @param imageReflectorController.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2959
##
2960
ingressNSMatchLabels: {}
2961
ingressNSPodMatchLabels: {}
2962
## Configure extra options for Image Reflector Controller containers' liveness and readiness probes
2963
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2964
## @param imageReflectorController.livenessProbe.enabled Enable livenessProbe on Image Reflector Controller containers
2965
## @param imageReflectorController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2966
## @param imageReflectorController.livenessProbe.periodSeconds Period seconds for livenessProbe
2967
## @param imageReflectorController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2968
## @param imageReflectorController.livenessProbe.failureThreshold Failure threshold for livenessProbe
2969
## @param imageReflectorController.livenessProbe.successThreshold Success threshold for livenessProbe
2970
##
2971
livenessProbe:
2972
enabled: true
2973
initialDelaySeconds: 5
2974
periodSeconds: 10
2975
timeoutSeconds: 5
2976
failureThreshold: 5
2977
successThreshold: 1
2978
## @param imageReflectorController.readinessProbe.enabled Enable readinessProbe on Image Reflector Controller containers
2979
## @param imageReflectorController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2980
## @param imageReflectorController.readinessProbe.periodSeconds Period seconds for readinessProbe
2981
## @param imageReflectorController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2982
## @param imageReflectorController.readinessProbe.failureThreshold Failure threshold for readinessProbe
2983
## @param imageReflectorController.readinessProbe.successThreshold Success threshold for readinessProbe
2984
##
2985
readinessProbe:
2986
enabled: true
2987
initialDelaySeconds: 5
2988
periodSeconds: 10
2989
timeoutSeconds: 5
2990
failureThreshold: 5
2991
successThreshold: 1
2992
## @param imageReflectorController.startupProbe.enabled Enable startupProbe on Image Reflector Controller containers
2993
## @param imageReflectorController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2994
## @param imageReflectorController.startupProbe.periodSeconds Period seconds for startupProbe
2995
## @param imageReflectorController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2996
## @param imageReflectorController.startupProbe.failureThreshold Failure threshold for startupProbe
2997
## @param imageReflectorController.startupProbe.successThreshold Success threshold for startupProbe
2998
##
2999
startupProbe:
3000
enabled: false
3001
initialDelaySeconds: 5
3002
periodSeconds: 10
3003
timeoutSeconds: 5
3004
failureThreshold: 5
3005
successThreshold: 1
3006
## @param imageReflectorController.customLivenessProbe Custom livenessProbe that overrides the default one
3007
##
3008
customLivenessProbe: {}
3009
## @param imageReflectorController.customReadinessProbe Custom readinessProbe that overrides the default one
3010
##
3011
customReadinessProbe: {}
3012
## @param imageReflectorController.customStartupProbe Custom startupProbe that overrides the default one
3013
##
3014
customStartupProbe: {}
3015
## Image Reflector Controller resource requests and limits
3016
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3017
## @param imageReflectorController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if imageReflectorController.resources is set (imageReflectorController.resources is recommended for production).
3018
##
3019
resourcesPreset: "nano"
3020
## @param imageReflectorController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3021
## Example:
3022
## resources:
3023
## requests:
3024
## cpu: 2
3025
## memory: 512Mi
3026
## limits:
3027
## cpu: 3
3028
## memory: 1024Mi
3029
##
3030
resources: {}
3031
## Configure Pods Security Context
3032
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3033
## @param imageReflectorController.podSecurityContext.enabled Enabled Image Reflector Controller pods' Security Context
3034
## @param imageReflectorController.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3035
## @param imageReflectorController.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3036
## @param imageReflectorController.podSecurityContext.supplementalGroups Set filesystem extra groups
3037
## @param imageReflectorController.podSecurityContext.fsGroup Set Image Reflector Controller pod's Security Context fsGroup
3038
##
3039
podSecurityContext:
3040
enabled: true
3041
fsGroupChangePolicy: Always
3042
sysctls: []
3043
supplementalGroups: []
3044
fsGroup: 1001
3045
## Configure Container Security Context
3046
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
3047
## @param imageReflectorController.containerSecurityContext.enabled Enabled Image Reflector Controller containers' Security Context
3048
## @param imageReflectorController.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3049
## @param imageReflectorController.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3050
## @param imageReflectorController.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3051
## @param imageReflectorController.containerSecurityContext.runAsNonRoot Set Image Reflector Controller containers' Security Context runAsNonRoot
3052
## @param imageReflectorController.containerSecurityContext.privileged Set Image Reflector Controller containers' Security Context privileged
3053
## @param imageReflectorController.containerSecurityContext.readOnlyRootFilesystem Set Image Reflector Controller containers' Security Context runAsNonRoot
3054
## @param imageReflectorController.containerSecurityContext.allowPrivilegeEscalation Set Image Reflector Controller container's privilege escalation
3055
## @param imageReflectorController.containerSecurityContext.capabilities.drop Set Image Reflector Controller container's Security Context runAsNonRoot
3056
## @param imageReflectorController.containerSecurityContext.seccompProfile.type Set Image Reflector Controller container's Security Context seccomp profile
3057
##
3058
containerSecurityContext:
3059
enabled: true
3060
seLinuxOptions: {}
3061
runAsUser: 1001
3062
runAsGroup: 1001
3063
runAsNonRoot: true
3064
privileged: false
3065
readOnlyRootFilesystem: true
3066
allowPrivilegeEscalation: false
3067
capabilities:
3068
drop: ["ALL"]
3069
seccompProfile:
3070
type: RuntimeDefault
3071
## @param imageReflectorController.command Override default container command (useful when using custom images)
3072
##
3073
command: []
3074
## @param imageReflectorController.args Override default container args (useful when using custom images)
3075
##
3076
args: []
3077
## @param imageReflectorController.automountServiceAccountToken Mount Service Account token in pod
3078
##
3079
automountServiceAccountToken: true
3080
## @param imageReflectorController.hostAliases Image Reflector Controller pods host aliases
3081
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3082
##
3083
hostAliases: []
3084
## @param imageReflectorController.podLabels Extra labels for Image Reflector Controller pods
3085
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3086
##
3087
podLabels: {}
3088
## @param imageReflectorController.podAnnotations Annotations for Image Reflector Controller pods
3089
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3090
##
3091
podAnnotations: {}
3092
## @param imageReflectorController.podAffinityPreset Pod affinity preset. Ignored if `imageReflectorController.affinity` is set. Allowed values: `soft` or `hard`
3093
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3094
##
3095
podAffinityPreset: ""
3096
## @param imageReflectorController.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `imageReflectorController.affinity` is set. Allowed values: `soft` or `hard`
3097
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3098
##
3099
podAntiAffinityPreset: soft
3100
## Pod Disruption Budget configuration
3101
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3102
## @param imageReflectorController.pdb.create Enable/disable a Pod Disruption Budget creation
3103
## @param imageReflectorController.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3104
## @param imageReflectorController.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
3105
##
3106
pdb:
3107
create: true
3108
minAvailable: ""
3109
maxUnavailable: ""
3110
## Autoscaling configuration
3111
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
3112
## @param imageReflectorController.autoscaling.enabled Enable autoscaling for imageReflectorController
3113
## @param imageReflectorController.autoscaling.minReplicas Minimum number of imageReflectorController replicas
3114
## @param imageReflectorController.autoscaling.maxReplicas Maximum number of imageReflectorController replicas
3115
## @param imageReflectorController.autoscaling.targetCPU Target CPU utilization percentage
3116
## @param imageReflectorController.autoscaling.targetMemory Target Memory utilization percentage
3117
##
3118
autoscaling:
3119
enabled: false
3120
minReplicas: ""
3121
maxReplicas: ""
3122
targetCPU: ""
3123
targetMemory: ""
3124
## Node imageReflectorController.affinity preset
3125
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3126
##
3127
nodeAffinityPreset:
3128
## @param imageReflectorController.nodeAffinityPreset.type Node affinity preset type. Ignored if `imageReflectorController.affinity` is set. Allowed values: `soft` or `hard`
3129
##
3130
type: ""
3131
## @param imageReflectorController.nodeAffinityPreset.key Node label key to match. Ignored if `imageReflectorController.affinity` is set
3132
##
3133
key: ""
3134
## @param imageReflectorController.nodeAffinityPreset.values Node label values to match. Ignored if `imageReflectorController.affinity` is set
3135
## E.g.
3136
## values:
3137
## - e2e-az1
3138
## - e2e-az2
3139
##
3140
values: []
3141
## @param imageReflectorController.affinity Affinity for Image Reflector Controller pods assignment
3142
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3143
## NOTE: `imageReflectorController.podAffinityPreset`, `imageReflectorController.podAntiAffinityPreset`, and `imageReflectorController.nodeAffinityPreset` will be ignored when it's set
3144
##
3145
affinity: {}
3146
## @param imageReflectorController.nodeSelector Node labels for Image Reflector Controller pods assignment
3147
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3148
##
3149
nodeSelector: {}
3150
## @param imageReflectorController.tolerations Tolerations for Image Reflector Controller pods assignment
3151
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3152
##
3153
tolerations: []
3154
## @param imageReflectorController.updateStrategy.type Image Reflector Controller statefulset strategy type
3155
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
3156
##
3157
updateStrategy:
3158
## StrategyType
3159
## Can be set to RollingUpdate or OnDelete
3160
##
3161
type: RollingUpdate
3162
## @param imageReflectorController.priorityClassName Image Reflector Controller pods' priorityClassName
3163
##
3164
priorityClassName: ""
3165
## @param imageReflectorController.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
3166
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3167
##
3168
topologySpreadConstraints: []
3169
## @param imageReflectorController.schedulerName Name of the k8s scheduler (other than default) for Image Reflector Controller pods
3170
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3171
##
3172
schedulerName: ""
3173
## @param imageReflectorController.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
3174
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
3175
##
3176
terminationGracePeriodSeconds: ""
3177
## @param imageReflectorController.lifecycleHooks for the Image Reflector Controller container(s) to automate configuration before or after startup
3178
##
3179
lifecycleHooks: {}
3180
## @param imageReflectorController.extraEnvVars Array with extra environment variables to add to Image Reflector Controller nodes
3181
## e.g:
3182
## extraEnvVars:
3183
## - name: FOO
3184
## value: "bar"
3185
##
3186
extraEnvVars: []
3187
## @param imageReflectorController.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Image Reflector Controller nodes
3188
##
3189
extraEnvVarsCM: ""
3190
## @param imageReflectorController.extraEnvVarsSecret Name of existing Secret containing extra env vars for Image Reflector Controller nodes
3191
##
3192
extraEnvVarsSecret: ""
3193
## @param imageReflectorController.extraVolumes Optionally specify extra list of additional volumes for the Image Reflector Controller pod(s)
3194
##
3195
extraVolumes: []
3196
## @param imageReflectorController.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Image Reflector Controller container(s)
3197
##
3198
extraVolumeMounts: []
3199
## @param imageReflectorController.sidecars Add additional sidecar containers to the Image Reflector Controller pod(s)
3200
## e.g:
3201
## sidecars:
3202
## - name: your-image-name
3203
## image: your-image
3204
## imagePullPolicy: Always
3205
## ports:
3206
## - name: portname
3207
## containerPort: 1234
3208
##
3209
sidecars: []
3210
## @param imageReflectorController.initContainers Add additional init containers to the Image Reflector Controller pod(s)
3211
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3212
## e.g:
3213
## initContainers:
3214
## - name: your-image-name
3215
## image: your-image
3216
## imagePullPolicy: Always
3217
## command: ['sh', '-c', 'echo "hello world"']
3218
##
3219
initContainers: []
3220
## @section Image Reflector Conttroller Persistence Parameters
3221
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3222
##
3223
persistence:
3224
## @param imageReflectorController.persistence.enabled Enable persistence using Persistent Volume Claims
3225
## (NOTE: Disabled by default in upstream flux configuration)
3226
##
3227
enabled: false
3228
## @param imageReflectorController.persistence.resourcePolicy Setting it to "keep" to avoid removing PVCs during a helm delete operation. Leaving it empty will delete PVCs after the chart deleted
3229
##
3230
resourcePolicy: ""
3231
## @param imageReflectorController.persistence.mountPath Persistent Volume mount root path
3232
##
3233
mountPath: /iamguarded/fluxcd-image-reflector-controller/data
3234
## @param imageReflectorController.persistence.storageClass Persistent Volume storage class
3235
## If defined, storageClassName: <storageClass>
3236
## If set to "-", storageClassName: "", which disables dynamic provisioning
3237
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
3238
##
3239
storageClass: ""
3240
## @param imageReflectorController.persistence.accessModes [array] Persistent Volume access modes
3241
##
3242
accessModes:
3243
- ReadWriteOnce
3244
## @param imageReflectorController.persistence.size Persistent Volume size
3245
##
3246
size: 10Gi
3247
## @param imageReflectorController.persistence.dataSource Custom PVC data source
3248
##
3249
dataSource: {}
3250
## @param imageReflectorController.persistence.annotations Annotations for the PVC
3251
##
3252
annotations: {}
3253
## @param imageReflectorController.persistence.selector Selector to match an existing Persistent Volume (this value is evaluated as a template)
3254
## selector:
3255
## matchLabels:
3256
## app: my-app
3257
##
3258
selector: {}
3259
## @param imageReflectorController.persistence.existingClaim The name of an existing PVC to use for persistence
3260
##
3261
existingClaim: ""
3262
## @section Image Reflector Controller RBAC Parameters
3263
##
3264
3265
## RBAC configuration
3266
##
3267
rbac:
3268
## @param imageReflectorController.rbac.create Specifies whether RBAC resources should be created
3269
##
3270
create: true
3271
## @param imageReflectorController.rbac.rules Custom RBAC rules to set
3272
## e.g:
3273
## rules:
3274
## - apiGroups:
3275
## - ""
3276
## resources:
3277
## - pods
3278
## verbs:
3279
## - get
3280
## - list
3281
##
3282
rules: []
3283
## ServiceAccount configuration
3284
##
3285
serviceAccount:
3286
## @param imageReflectorController.serviceAccount.create Specifies whether a ServiceAccount should be created
3287
##
3288
create: true
3289
## @param imageReflectorController.serviceAccount.name The name of the ServiceAccount to use.
3290
## If not set and create is true, a name is generated using the common.names.fullname template
3291
##
3292
name: ""
3293
## @param imageReflectorController.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
3294
##
3295
annotations: {}
3296
## @param imageReflectorController.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
3297
##
3298
automountServiceAccountToken: false
3299
## @section Image Reflector Controller Metrics Parameters
3300
##
3301
3302
## Prometheus metrics
3303
##
3304
metrics:
3305
## @param imageReflectorController.metrics.enabled Enable the export of Prometheus metrics
3306
##
3307
enabled: true
3308
## Image Reflector Controller service parameters
3309
##
3310
service:
3311
## @param imageReflectorController.metrics.service.type Image Reflector Controller service type
3312
##
3313
type: ClusterIP
3314
## @param imageReflectorController.metrics.service.ports.metrics Image Reflector Controller service metrics port
3315
##
3316
ports:
3317
metrics: 80
3318
## Node ports to expose
3319
## @param imageReflectorController.metrics.service.nodePorts.metrics Node port for HTTP
3320
## NOTE: choose port between <30000-32767>
3321
##
3322
nodePorts:
3323
metrics: ""
3324
## @param imageReflectorController.metrics.service.clusterIP Image Reflector Controller service Cluster IP
3325
## e.g.:
3326
## clusterIP: None
3327
##
3328
clusterIP: ""
3329
## @param imageReflectorController.metrics.service.loadBalancerIP Image Reflector Controller service Load Balancer IP
3330
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
3331
##
3332
loadBalancerIP: ""
3333
## @param imageReflectorController.metrics.service.loadBalancerSourceRanges Image Reflector Controller service Load Balancer sources
3334
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
3335
## e.g:
3336
## loadBalancerSourceRanges:
3337
## - 10.10.10.0/24
3338
##
3339
loadBalancerSourceRanges: []
3340
## @param imageReflectorController.metrics.service.externalTrafficPolicy Image Reflector Controller service external traffic policy
3341
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
3342
##
3343
externalTrafficPolicy: Cluster
3344
## @param imageReflectorController.metrics.service.annotations [object] Additional custom annotations for Image Reflector Controller service
3345
##
3346
annotations:
3347
prometheus.io/scrape: "true"
3348
prometheus.io/port: "{{ .Values.imageReflectorController.metrics.service.ports.metrics }}"
3349
## @param imageReflectorController.metrics.service.extraPorts Extra ports to expose in Image Reflector Controller service (normally used with the `sidecars` value)
3350
##
3351
extraPorts: []
3352
## @param imageReflectorController.metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
3353
## Values: ClientIP or None
3354
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
3355
##
3356
sessionAffinity: None
3357
## @param imageReflectorController.metrics.service.sessionAffinityConfig Additional settings for the sessionAffinity
3358
## sessionAffinityConfig:
3359
## clientIP:
3360
## timeoutSeconds: 300
3361
##
3362
sessionAffinityConfig: {}
3363
## Prometheus Operator ServiceMonitor configuration
3364
##
3365
serviceMonitor:
3366
## @param imageReflectorController.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
3367
##
3368
enabled: false
3369
## @param imageReflectorController.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
3370
##
3371
namespace: ""
3372
## @param imageReflectorController.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
3373
##
3374
annotations: {}
3375
## @param imageReflectorController.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
3376
##
3377
labels: {}
3378
## @param imageReflectorController.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
3379
##
3380
jobLabel: ""
3381
## @param imageReflectorController.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
3382
##
3383
honorLabels: false
3384
## @param imageReflectorController.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
3385
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
3386
## e.g:
3387
## interval: 10s
3388
##
3389
interval: ""
3390
## @param imageReflectorController.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
3391
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
3392
## e.g:
3393
## scrapeTimeout: 10s
3394
##
3395
scrapeTimeout: ""
3396
## @param imageReflectorController.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
3397
##
3398
metricRelabelings: []
3399
## @param imageReflectorController.metrics.serviceMonitor.relabelings Specify general relabeling
3400
##
3401
relabelings: []
3402
## @param imageReflectorController.metrics.serviceMonitor.selector Prometheus instance selector labels
3403
## selector:
3404
## prometheus: my-prometheus
3405
##
3406
selector: {}
3407
## 'volumePermissions' init container parameters
3408
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
3409
## based on the podSecurityContext/containerSecurityContext parameters
3410
##
3411
volumePermissions:
3412
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
3413
##
3414
enabled: false
3415
## OS Shell + Utility image
3416
## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
3417
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
3418
## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
3419
## @param volumePermissions.image.digest OS Shell + Utility image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
3420
## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
3421
## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
3422
##
3423
image:
3424
registry: cgr.dev
3425
repository: chainguard-private/os-shell-iamguarded
3426
tag: 1.0.0
3427
digest: ""
3428
pullPolicy: IfNotPresent
3429
## Optionally specify an array of imagePullSecrets.
3430
## Secrets must be manually created in the namespace.
3431
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3432
## e.g:
3433
## pullSecrets:
3434
## - myRegistryKeySecretName
3435
##
3436
pullSecrets: []
3437
## Init container's resource requests and limits
3438
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3439
## @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).
3440
##
3441
resourcesPreset: "nano"
3442
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3443
## Example:
3444
## resources:
3445
## requests:
3446
## cpu: 2
3447
## memory: 512Mi
3448
## limits:
3449
## cpu: 3
3450
## memory: 1024Mi
3451
##
3452
resources: {}
3453
## Init container Container Security Context
3454
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
3455
## @param volumePermissions.containerSecurityContext.enabled Enable init container's Security Context
3456
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3457
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
3458
##
3459
containerSecurityContext:
3460
enabled: true
3461
seLinuxOptions: {}
3462
runAsUser: 0
3463

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.