1## Argo Events configuration
2## Ref: https://github.com/argoproj/argo-events
5# -- Provide a name in place of `argo-events`
6nameOverride: argo-events
7# -- String to fully override "argo-events.fullname" template
9# -- Override the namespace
10# @default -- `.Release.Namespace`
12# -- Deploy on OpenShift
14# -- Create clusterroles that extend existing clusterroles to interact with argo-events crds
15# Only applies for cluster-wide installation (`controller.rbac.namespaced: false`)
16## Ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles
17createAggregateRoles: false
18## Custom resource configuration
20 # -- Install and upgrade CRDs
22 # -- Keep CRDs on chart uninstall
24 # -- Annotations to be added to all CRDs
28 # -- If defined, a repository applied to all Argo Events deployments
29 repository: cgr.dev/chainguard-private/argo-events
30 # -- Overrides the global Argo Events image tag whose default is the chart appVersion
31 tag: 1.9.11@sha256:90e1f2004cf2f44b5e8fbc5abe67176c925151912c6eef4fe4b1e493f162e8b8
32 # -- If defined, a imagePullPolicy applied to all Argo Events deployments
33 imagePullPolicy: IfNotPresent
34 # -- If defined, uses a Secret to pull an image from a private Docker registry or repository
36 # -- Annotations for the all deployed pods
38 # -- Labels for the all deployed pods
40 # -- Additional labels to add to all resources
44 # -- Toggle and define securityContext. See [values.yaml]
51 # -- Mapping between IP and hostnames that will be injected as entries in the pod's hosts files
56## Event bus configuration
60 # -- Supported versions of NATS event bus
61 # @default -- See [values.yaml]
64 natsStreamingImage: nats-streaming:latest
65 metricsExporterImage: natsio/prometheus-nats-exporter:latest
67 natsStreamingImage: nats-streaming:0.22.1
68 metricsExporterImage: natsio/prometheus-nats-exporter:0.8.0
69 ## JetStream event bus
71 # Default JetStream settings, could be overridden by EventBus JetStream spec
72 # Ref: https://docs.nats.io/running-a-nats-service/configuration#jetstream
74 # -- Maximum size of the memory storage (e.g. 1G)
76 # -- Maximum size of the file storage (e.g. 20G)
79 # -- Maximum number of messages before expiring oldest message
81 # -- Maximum age of existing messages, i.e. “72h”, “4h35m”
83 # Total size of messages before expiring oldest message, 0 means unlimited.
85 # -- Number of replicas, defaults to 3 and requires minimal 3
87 # -- Not documented at the moment
89 # -- 0: Limits, 1: Interest, 2: WorkQueue
91 # -- 0: DiscardOld, 1: DiscardNew
93 # Supported versions of JetStream eventbus
96 natsImage: nats:2.10.29
97 metricsExporterImage: natsio/prometheus-nats-exporter:0.14.0
98 configReloaderImage: natsio/nats-server-config-reloader:0.14.0
99 startCommand: /nats-server
101 natsImage: nats:2.10.10
102 metricsExporterImage: natsio/prometheus-nats-exporter:0.14.0
103 configReloaderImage: natsio/nats-server-config-reloader:0.14.0
104 startCommand: /nats-server
106 natsImage: nats:2.8.1
107 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
108 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
109 startCommand: /nats-server
110 - version: 2.8.1-alpine
111 natsImage: nats:2.8.1-alpine
112 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
113 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
114 startCommand: nats-server
116 natsImage: nats:2.8.2
117 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
118 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
119 startCommand: /nats-server
120 - version: 2.8.2-alpine
121 natsImage: nats:2.8.2-alpine
122 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
123 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
124 startCommand: nats-server
126 natsImage: nats:2.9.1
127 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
128 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
129 startCommand: /nats-server
131 natsImage: nats:2.9.12
132 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
133 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
134 startCommand: /nats-server
136 natsImage: nats:2.9.16
137 metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
138 configReloaderImage: natsio/nats-server-config-reloader:0.7.0
139 startCommand: /nats-server
141 natsImage: nats:2.10.29
142 metricsExporterImage: natsio/prometheus-nats-exporter:0.14.0
143 configReloaderImage: natsio/nats-server-config-reloader:0.14.0
144 startCommand: /nats-server
145# -- Array of extra K8s manifests to deploy
146## Note: Supports use of custom Helm templates
148# - apiVersion: secrets-store.csi.x-k8s.io/v1
149# kind: SecretProviderClass
151# name: argo-events-secrets-store
156# - objectName: "argo-events"
157# objectType: "secretsmanager"
160# objectAlias: "client_id"
161# - path: "client_secret"
162# objectAlias: "client_secret"
166# objectName: client_id
167# - key: client_secret
168# objectName: client_secret
169# secretName: argo-events-secrets-store
172# app.kubernetes.io/part-of: argocd
174## Argo Events controller
176 # -- Argo Events controller name string
177 name: controller-manager
179 # -- Create events controller RBAC
181 # -- Restrict events controller to operate only in a single namespace instead of cluster-wide scope.
183 # -- Additional namespace to be monitored by the controller
185 # -- Additional user rules for event controller's rbac
188 # -- Repository to use for the events controller
189 # @default -- `""` (defaults to global.image.repository)
191 # -- Tag to use for the events controller
192 # @default -- `""` (defaults to global.image.tag)
194 # -- Image pull policy for the events controller
195 # @default -- `""` (defaults to global.image.imagePullPolicy)
197 # -- The number of replicasets history to keep
198 revisionHistoryLimit: 5
199 # -- The number of events controller pods to run. Leader election is disabled when set to `1`.
201 # Pod disruption budget
203 # -- Deploy a PodDisruptionBudget for the events controller
207 # -- Labels to be added to events controller pdb
209 # -- Annotations to be added to events controller pdb
211 # -- Environment variables to pass to events controller
214 # value: "debug" # Options: debug, info, error (default: info)
216 # -- envFrom to pass to events controller
217 # @default -- `[]` (See [values.yaml])
220 # name: config-map-name
224 # -- Annotations to be added to events controller pods
226 # -- Annotations to be added to events controller Deployment
227 deploymentAnnotations: {}
228 # -- Labels to be added to events controller pods
230 # -- Events controller container-level security context
231 containerSecurityContext: {}
235 # readOnlyRootFilesystem: true
238 ## Readiness and liveness probes for default backend
239 ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
241 # -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
243 # -- Number of seconds after the container has started before [probe] is initiated
244 initialDelaySeconds: 10
245 # -- How often (in seconds) to perform the [probe]
247 # -- Minimum consecutive successes for the [probe] to be considered successful after having failed
249 # -- Number of seconds after which the [probe] times out
252 # -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
254 # -- Number of seconds after the container has started before [probe] is initiated
255 initialDelaySeconds: 10
256 # -- How often (in seconds) to perform the [probe]
258 # -- Minimum consecutive successes for the [probe] to be considered successful after having failed
260 # -- Number of seconds after which the [probe] times out
262 # -- Additional volumes to the events controller pod
264 # -- Additional volumeMounts to the events controller main container
268 # -- [Tolerations] for use with node taints
270 # -- Assign custom [affinity] rules to the deployment
272 # -- Assign custom [TopologySpreadConstraints] rules to the events controller
273 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
274 ## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
275 topologySpreadConstraints: []
277 # topologyKey: topology.kubernetes.io/zone
278 # whenUnsatisfiable: DoNotSchedule
280 # -- Priority class for the events controller pods
281 priorityClassName: ""
282 # -- Resource limits and requests for the events controller pods
291 # -- Additional containers to be added to the events controller pods
293 # -- Init containers to add to the events controller pods
296 # -- Create a service account for the events controller
298 # -- Service account name
300 # -- Annotations applied to created service account
302 # -- Automount API credentials for the Service Account
303 automountServiceAccountToken: true
304 ## Events controller metrics configuration
306 # -- Deploy metrics service
309 # -- Metrics service annotations
311 # -- Metrics service labels
313 # -- Metrics service port
316 # -- Enable a prometheus ServiceMonitor
318 # -- Prometheus ServiceMonitor interval
320 # -- Prometheus [RelabelConfigs] to apply to samples before scraping
322 # -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
323 metricRelabelings: []
324 # -- Prometheus ServiceMonitor selector
326 # prometheus: kube-prometheus
327 # -- Prometheus ServiceMonitor namespace
328 namespace: "" # "monitoring"
329 # -- Prometheus ServiceMonitor labels
331## Argo Events admission webhook
333 # -- Enable admission webhook. Applies only for cluster-wide installation
335 # -- Argo Events admission webhook name string
338 # -- Repository to use for the event controller
339 # @default -- `""` (defaults to global.image.repository)
341 # -- Tag to use for the event controller
342 # @default -- `""` (defaults to global.image.tag)
344 # -- Image pull policy for the event controller
345 # @default -- `""` (defaults to global.image.imagePullPolicy)
347 # -- The number of replicasets history to keep
348 revisionHistoryLimit: 5
349 # -- The number of webhook pods to run.
351 # Pod disruption budget
353 # -- Deploy a PodDisruptionBudget for the admission webhook
357 # -- Labels to be added to admission webhook pdb
359 # -- Annotations to be added to admission webhook pdb
361 # -- Environment variables to pass to event controller
362 # @default -- `[]` (See [values.yaml])
367 # -- envFrom to pass to event controller
368 # @default -- `[]` (See [values.yaml])
371 # name: config-map-name
375 # -- Annotations to be added to event controller pods
377 # -- Annotations to be added to admission webhook Deployment
378 deploymentAnnotations: {}
379 # -- Labels to be added to event controller pods
381 # -- Port to listen on
383 # -- Event controller container-level security context
384 containerSecurityContext: {}
388 # readOnlyRootFilesystem: true
391 ## Readiness and liveness probes for default backend
392 ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
394 # -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
396 # -- Number of seconds after the container has started before [probe] is initiated
397 initialDelaySeconds: 10
398 # -- How often (in seconds) to perform the [probe]
400 # -- Minimum consecutive successes for the [probe] to be considered successful after having failed
402 # -- Number of seconds after which the [probe] times out
405 # -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
407 # -- Number of seconds after the container has started before [probe] is initiated
408 initialDelaySeconds: 10
409 # -- How often (in seconds) to perform the [probe]
411 # -- Minimum consecutive successes for the [probe] to be considered successful after having failed
413 # -- Number of seconds after which the [probe] times out
415 # -- Additional volumeMounts to the event controller main container
417 # -- Additional volumes to the event controller pod
421 # -- [Tolerations] for use with node taints
423 # -- Assign custom [affinity] rules to the deployment
425 # -- Assign custom [TopologySpreadConstraints] rules to the event controller
426 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
427 ## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
428 topologySpreadConstraints: []
430 # topologyKey: topology.kubernetes.io/zone
431 # whenUnsatisfiable: DoNotSchedule
433 # -- Priority class for the event controller pods
434 priorityClassName: ""
435 # -- Resource limits and requests for the event controller pods
445 # -- Create a service account for the admission webhook
447 # -- Service account name
449 # -- Annotations applied to created service account
451 # -- Automount API credentials for the Service Account
452 automountServiceAccountToken: true