Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 16da929

Browse files
author
Pablo Mercado
authored
Merge pull request #26 from triggermesh/task/update-tm-v1.25.0
Update to triggermesh v1.25.0
2 parents 88be0ab + ff90ca7 commit 16da929

35 files changed

+1500
-187
lines changed

LICENSES/vendor/github.com/jpillora/backoff/LICENSE renamed to LICENSES/vendor/github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs/LICENSE.txt

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES/vendor/github.com/Azure/azure-event-hubs-go/v3/LICENSE renamed to LICENSES/vendor/github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs/internal/go-amqp/LICENSE

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES/vendor/github.com/mitchellh/mapstructure/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

cmd/triggermesh-controller/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525
"github.com/triggermesh/triggermesh/pkg/sources/reconciler/azureiothubsource"
2626
"github.com/triggermesh/triggermesh/pkg/sources/reconciler/azurequeuestoragesource"
2727
"github.com/triggermesh/triggermesh/pkg/sources/reconciler/azureservicebusqueuesource"
28+
"github.com/triggermesh/triggermesh/pkg/sources/reconciler/azureservicebussource"
2829
"github.com/triggermesh/triggermesh/pkg/sources/reconciler/azureservicebustopicsource"
2930

3031
// GCP Event Sources
@@ -59,6 +60,7 @@ func main() {
5960
azureiothubsource.NewController,
6061
azurequeuestoragesource.NewController,
6162
azureservicebusqueuesource.NewController,
63+
azureservicebussource.NewController,
6264
azureservicebustopicsource.NewController,
6365

6466
// GCP Event Sources

config/200-clusterroles.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ rules:
8080
- azureiothubsources
8181
- azurequeuestoragesources
8282
- azureservicebusqueuesources
83+
- azureservicebussources
8384
- azureservicebustopicsources
8485
- googlecloudauditlogssources
8586
- googlecloudbillingsources
@@ -112,6 +113,7 @@ rules:
112113
- azureiothubsources/status
113114
- azurequeuestoragesources/status
114115
- azureservicebusqueuesources/status
116+
- azureservicebussources/status
115117
- azureservicebustopicsources/status
116118
- googlecloudauditlogssources/status
117119
- googlecloudbillingsources/status
@@ -145,6 +147,7 @@ rules:
145147
- azureiothubsources/finalizers
146148
- azurequeuestoragesources/finalizers
147149
- azureservicebusqueuesources/finalizers
150+
- azureservicebussources/finalizers
148151
- azureservicebustopicsources/finalizers
149152
- googlecloudauditlogssources/finalizers
150153
- googlecloudbillingsources/finalizers
@@ -165,6 +168,7 @@ rules:
165168
- azureblobstoragesources
166169
- azureeventgridsources
167170
- azureservicebusqueuesources
171+
- azureservicebussources
168172
- azureservicebustopicsources
169173
- googlecloudauditlogssources
170174
- googlecloudbillingsources
@@ -373,6 +377,7 @@ rules:
373377
- azureiothubsources
374378
- azurequeuestoragesources
375379
- azureservicebusqueuesources
380+
- azureservicebussources
376381
- azureservicebustopicsources
377382
- googlecloudauditlogssources
378383
- googlecloudbillingsources
@@ -404,6 +409,7 @@ rules:
404409
- azureiothubsources/finalizers
405410
- azurequeuestoragesources/finalizers
406411
- azureservicebusqueuesources/finalizers
412+
- azureservicebussources/finalizers
407413
- azureservicebustopicsources/finalizers
408414
- googlecloudauditlogssources/finalizers
409415
- googlecloudbillingsources/finalizers

config/300-awscloudwatchlogssource.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ spec:
5757
type: object
5858
properties:
5959
arn:
60-
description: ARN of the Log Group to source data from. The expected format is documented at https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies
60+
description: ARN of the Log Group to source data from. The expected format is documented at
61+
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies
6162
type: string
6263
pattern: ^arn:aws(-cn|-us-gov)?:logs:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$
6364
pollingInterval:
@@ -116,6 +117,15 @@ spec:
116117
oneOf:
117118
- required: [value]
118119
- required: [valueFromSecret]
120+
assumeIamRole:
121+
description: |-
122+
The ARN of an IAM role for cross-account or remote EKS cluster authorization.
123+
For more information please refer to the AWS General Reference at https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html
124+
type: string
125+
pattern: ^arn:aws(-cn|-us-gov)?:iam::\d{12}:role\/.+$
126+
required:
127+
- accessKeyID
128+
- secretAccessKey
119129
iamRole:
120130
description: (Amazon EKS only) The ARN of an IAM role which can be impersonated to obtain AWS permissions.
121131
For more information about IAM roles for service accounts, please refer to the Amazon EKS User Guide
@@ -156,6 +166,16 @@ spec:
156166
description: Kubernetes object parameters to apply on top of default adapter values.
157167
type: object
158168
properties:
169+
annotations:
170+
description: Adapter annotations.
171+
type: object
172+
additionalProperties:
173+
type: string
174+
labels:
175+
description: Adapter labels.
176+
type: object
177+
additionalProperties:
178+
type: string
159179
env:
160180
description: Adapter environment variables.
161181
type: array
@@ -192,6 +212,7 @@ spec:
192212
type: object
193213
tolerations:
194214
description: Pod tolerations, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
215+
Tolerations require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
195216
type: array
196217
items:
197218
type: object
@@ -214,6 +235,18 @@ spec:
214235
description: Period of time a toleration of effect NoExecute tolerates the taint.
215236
type: integer
216237
format: int64
238+
nodeSelector:
239+
description: NodeSelector only allow the object pods to be created at nodes where all selector labels
240+
are present, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector.
241+
NodeSelector require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
242+
type: object
243+
additionalProperties:
244+
type: string
245+
affinity:
246+
description: Scheduling constraints of the pod. More info at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.
247+
Affinity require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
248+
type: object
249+
x-kubernetes-preserve-unknown-fields: true
217250
required:
218251
- arn
219252
- sink

config/300-awscloudwatchsource.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,15 @@ spec:
176176
oneOf:
177177
- required: [value]
178178
- required: [valueFromSecret]
179+
assumeIamRole:
180+
description: |-
181+
The ARN of an IAM role for cross-account or remote EKS cluster authorization.
182+
For more information please refer to the AWS General Reference at https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html
183+
type: string
184+
pattern: ^arn:aws(-cn|-us-gov)?:iam::\d{12}:role\/.+$
185+
required:
186+
- accessKeyID
187+
- secretAccessKey
179188
iamRole:
180189
description: (Amazon EKS only) The ARN of an IAM role which can be impersonated to obtain AWS permissions.
181190
For more information about IAM roles for service accounts, please refer to the Amazon EKS User Guide
@@ -216,6 +225,16 @@ spec:
216225
description: Kubernetes object parameters to apply on top of default adapter values.
217226
type: object
218227
properties:
228+
annotations:
229+
description: Adapter annotations.
230+
type: object
231+
additionalProperties:
232+
type: string
233+
labels:
234+
description: Adapter labels.
235+
type: object
236+
additionalProperties:
237+
type: string
219238
env:
220239
description: Adapter environment variables.
221240
type: array
@@ -252,6 +271,7 @@ spec:
252271
type: object
253272
tolerations:
254273
description: Pod tolerations, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
274+
Tolerations require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
255275
type: array
256276
items:
257277
type: object
@@ -274,6 +294,18 @@ spec:
274294
description: Period of time a toleration of effect NoExecute tolerates the taint.
275295
type: integer
276296
format: int64
297+
nodeSelector:
298+
description: NodeSelector only allow the object pods to be created at nodes where all selector labels
299+
are present, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector.
300+
NodeSelector require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
301+
type: object
302+
additionalProperties:
303+
type: string
304+
affinity:
305+
description: Scheduling constraints of the pod. More info at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.
306+
Affinity require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
307+
type: object
308+
x-kubernetes-preserve-unknown-fields: true
277309
required:
278310
- region
279311
- metricQueries

config/300-awscodecommitsource.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,15 @@ spec:
127127
oneOf:
128128
- required: [value]
129129
- required: [valueFromSecret]
130+
assumeIamRole:
131+
description: |-
132+
The ARN of an IAM role for cross-account or remote EKS cluster authorization.
133+
For more information please refer to the AWS General Reference at https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html
134+
type: string
135+
pattern: ^arn:aws(-cn|-us-gov)?:iam::\d{12}:role\/.+$
136+
required:
137+
- accessKeyID
138+
- secretAccessKey
130139
iamRole:
131140
description: (Amazon EKS only) The ARN of an IAM role which can be impersonated to obtain AWS permissions.
132141
For more information about IAM roles for service accounts, please refer to the Amazon EKS User Guide
@@ -167,6 +176,16 @@ spec:
167176
description: Kubernetes object parameters to apply on top of default adapter values.
168177
type: object
169178
properties:
179+
annotations:
180+
description: Adapter annotations.
181+
type: object
182+
additionalProperties:
183+
type: string
184+
labels:
185+
description: Adapter labels.
186+
type: object
187+
additionalProperties:
188+
type: string
170189
env:
171190
description: Adapter environment variables.
172191
type: array
@@ -203,6 +222,7 @@ spec:
203222
type: object
204223
tolerations:
205224
description: Pod tolerations, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
225+
Tolerations require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
206226
type: array
207227
items:
208228
type: object
@@ -225,6 +245,18 @@ spec:
225245
description: Period of time a toleration of effect NoExecute tolerates the taint.
226246
type: integer
227247
format: int64
248+
nodeSelector:
249+
description: NodeSelector only allow the object pods to be created at nodes where all selector labels
250+
are present, as documented at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector.
251+
NodeSelector require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
252+
type: object
253+
additionalProperties:
254+
type: string
255+
affinity:
256+
description: Scheduling constraints of the pod. More info at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.
257+
Affinity require additional configuration for Knative-based deployments - https://knative.dev/docs/serving/configuration/feature-flags/
258+
type: object
259+
x-kubernetes-preserve-unknown-fields: true
228260
required:
229261
- arn
230262
- branch

0 commit comments

Comments
 (0)