kube_argo_sensor
Beta
Submodule

Argo Event Sensor

Deploys a Sensor resource as a part of the Argo Events architecture.

The Sensor is a Deployment that executes Triggers based on events on the EventBus.

Providers

The following providers are needed by this module:

Required Inputs

The following input variables are required:

dependencies

Description: A list of events that can activate triggers on the sensor

Type:

list(object({
name = string
eventSourceName = string
eventName = optional(string, "default")
filtersLogicalOperator = optional(string, "and")
filters = optional(object({
dataLogicalOperator = optional(string, "and")
exprLogicalOperator = optional(string, "and")
script = optional(string)
time = optional(object({
start = string
stop = string
}))
context = optional(object({
id = string
source = optional(string)
specversion = optional(string)
type = optional(string)
datacontenttype = optional(string)
subject = optional(string)
time = optional(string)
}))
data = optional(list(object({
path = string
type = string
value = list(string)
comparator = optional(string, "=")
template = optional(string)
})))
exprs = optional(list(object({
expr = string
fields = list(object({
path = string
name = string
}))
})))
}))
}))

name

Description: The name of the Sensor

Type: string

namespace

Description: The namespace to deploy the Sensor into.

Type: string

triggers

Description: A list of actions that can be triggered by events from the EventBus

Type: any

Optional Inputs

The following input variables are optional (have default values):

event_bus_name

Description: The EventBus to read from. Should almost always be ‘default’.

Type: string

Default: "default"

panfactum_scheduler_enabled

Description: Whether to use the Panfactum pod scheduler with enhanced bin-packing

Type: bool

Default: true

vpa_enabled

Description: Whether the VPA resources should be enabled

Type: bool

Default: true

Outputs

The following outputs are exported:

service_account_name

Description: n/a