first commit

This commit is contained in:
2026-05-05 10:50:30 +01:00
commit e94efb745e
206 changed files with 231128 additions and 0 deletions
+180
View File
@@ -0,0 +1,180 @@
{
"description": "CloudEventSource defines how a KEDA event will be sent to event sink",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "CloudEventSourceSpec defines the spec of CloudEventSource",
"properties": {
"authenticationRef": {
"description": "AuthenticationRef points to the TriggerAuthentication or ClusterTriggerAuthentication object that\nis used to authenticate the scaler with the environment",
"properties": {
"kind": {
"description": "Kind of the resource being referred to. Defaults to TriggerAuthentication.",
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"clusterName": {
"type": "string"
},
"destination": {
"description": "Destination defines the various ways to emit events",
"properties": {
"azureEventGridTopic": {
"properties": {
"endpoint": {
"type": "string"
}
},
"required": [
"endpoint"
],
"type": "object",
"additionalProperties": false
},
"http": {
"properties": {
"uri": {
"type": "string"
}
},
"required": [
"uri"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"eventSubscription": {
"description": "EventSubscription defines filters for events",
"properties": {
"excludedEventTypes": {
"items": {
"enum": [
"keda.scaledobject.ready.v1",
"keda.scaledobject.failed.v1",
"keda.scaledobject.removed.v1",
"keda.scaledobject.paused.v1",
"keda.scaledobject.unpaused.v1",
"keda.scaledjob.ready.v1",
"keda.scaledjob.failed.v1",
"keda.scaledjob.removed.v1",
"keda.scaledjob.paused.v1",
"keda.scaledjob.unpaused.v1",
"keda.scaledjob.rolloutcleanup.started.v1",
"keda.scaledjob.rolloutcleanup.completed.v1",
"keda.scaledjob.rolloutcleanup.failed.v1",
"keda.authentication.triggerauthentication.created.v1",
"keda.authentication.triggerauthentication.updated.v1",
"keda.authentication.triggerauthentication.removed.v1",
"keda.authentication.clustertriggerauthentication.created.v1",
"keda.authentication.clustertriggerauthentication.updated.v1",
"keda.authentication.clustertriggerauthentication.removed.v1"
],
"type": "string"
},
"type": "array"
},
"includedEventTypes": {
"items": {
"enum": [
"keda.scaledobject.ready.v1",
"keda.scaledobject.failed.v1",
"keda.scaledobject.removed.v1",
"keda.scaledobject.paused.v1",
"keda.scaledobject.unpaused.v1",
"keda.scaledjob.ready.v1",
"keda.scaledjob.failed.v1",
"keda.scaledjob.removed.v1",
"keda.scaledjob.paused.v1",
"keda.scaledjob.unpaused.v1",
"keda.scaledjob.rolloutcleanup.started.v1",
"keda.scaledjob.rolloutcleanup.completed.v1",
"keda.scaledjob.rolloutcleanup.failed.v1",
"keda.authentication.triggerauthentication.created.v1",
"keda.authentication.triggerauthentication.updated.v1",
"keda.authentication.triggerauthentication.removed.v1",
"keda.authentication.clustertriggerauthentication.created.v1",
"keda.authentication.clustertriggerauthentication.updated.v1",
"keda.authentication.clustertriggerauthentication.removed.v1"
],
"type": "string"
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"destination"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "CloudEventSourceStatus defines the observed state of CloudEventSource",
"properties": {
"conditions": {
"description": "Conditions an array representation to store multiple Conditions",
"items": {
"description": "Condition to store the condition state",
"properties": {
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of condition",
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"spec"
],
"type": "object"
}