Result of running `make charts`
parent
3c5b3e480e
commit
95d55381fb
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
|
@ -0,0 +1,26 @@
|
|||
annotations:
|
||||
catalog.cattle.io/certified: partner
|
||||
catalog.cattle.io/display-name: Sources for Amazon Web Services
|
||||
catalog.cattle.io/release-name: aws-event-sources
|
||||
apiVersion: v2
|
||||
appVersion: 1.7.0
|
||||
description: AWS Event Sources controller for Kubernetes
|
||||
home: https://github.com/triggermesh/aws-event-sources
|
||||
icon: https://global-uploads.webflow.com/5f683649f57c927210b6707e/5f683649f57c9261bab67097_logo.svg
|
||||
keywords:
|
||||
- knative-eventing
|
||||
- sources
|
||||
- aws
|
||||
- triggermesh
|
||||
- serverless
|
||||
kubeVersion: '>=1.18.0'
|
||||
maintainers:
|
||||
- email: sameer@triggermesh.com
|
||||
name: sameersbn
|
||||
- email: antoine@triggermesh.com
|
||||
name: antoineco
|
||||
name: aws-event-sources
|
||||
sources:
|
||||
- https://github.com/triggermesh/aws-event-sources
|
||||
type: application
|
||||
version: 0.1.901
|
|
@ -0,0 +1,113 @@
|
|||
# aws-event-sources
|
||||
|
||||
Installs TriggerMesh AWS event sources controller. The following event sources are currently supported by the controller
|
||||
|
||||
- Amazon CodeCommit (`kind: AWSCodeCommitSource`)
|
||||
- Amazon Cognito Identity (`kind: AWSCognitoIdentitySource`)
|
||||
- Amazon Cognito UserPool (`kind: AWSCognitoUserPoolSource`)
|
||||
- Amazon DynamoDB (`kind: AWSDynamoDBSource`)
|
||||
- Amazon Kinesis (`kind: AWSKinesisSource`)
|
||||
- Amazon Simple Notification Service (`kind: AWSSNSSource`)
|
||||
- Amazon Simple Queue Service (`kind: AWSSQSSource`)
|
||||
|
||||
Refer to [aws-event-sources/config/samples](https://github.com/triggermesh/aws-event-sources/tree/master/config/samples) for examples that make use of the controller.
|
||||
|
||||
## TL;DR;
|
||||
|
||||
```console
|
||||
$ helm repo add triggermesh https://storage.googleapis.com/triggermesh-charts
|
||||
$ helm install triggermesh/aws-event-sources
|
||||
```
|
||||
|
||||
To report bugs and for feedback and support please [create a new issue](https://github.com/triggermesh/aws-event-sources/issues/new).
|
||||
|
||||
## Introduction
|
||||
|
||||
This chart installs the [aws-event-sources](https://github.com/triggermesh/aws-event-sources) controller on a Kubernetes cluster.
|
||||
|
||||
## Prerequisites
|
||||
- Kubernetes 1.16+ with Beta APIs
|
||||
- Helm 3.0+
|
||||
- Knative v0.14+
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
Add the TriggerMesh chart repository to Helm:
|
||||
|
||||
```console
|
||||
$ helm repo add triggermesh https://storage.googleapis.com/triggermesh-charts
|
||||
```
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
|
||||
```console
|
||||
$ helm install --name my-release triggermesh/aws-event-sources
|
||||
```
|
||||
|
||||
The command deploys the aws-event-sources controller in the default configuration. Refer to the [configuration](#configuration) section for the complete list of parameters that can be specified to customize the deployment of the controller.
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
|
||||
```console
|
||||
$ helm delete my-release
|
||||
```
|
||||
|
||||
The Kubernetes resources associated with chart will be removed and the Helm release will be deleted.
|
||||
|
||||
However note that the `CustomResourceDefinition` resources created by the chart will not be removed by the delete command and therefore need to be removed manually.
|
||||
|
||||
```console
|
||||
$ kubectl delete crd awscodecommitsources.sources.triggermesh.io
|
||||
$ kubectl delete crd awscognitoidentitysources.sources.triggermesh.io
|
||||
$ kubectl delete crd awscognitouserpoolsources.sources.triggermesh.io
|
||||
$ kubectl delete crd awsdynamodbsources.sources.triggermesh.io
|
||||
$ kubectl delete crd awsiotsources.sources.triggermesh.io
|
||||
$ kubectl delete crd awskinesissources.sources.triggermesh.io
|
||||
$ kubectl delete crd awssnssources.sources.triggermesh.io
|
||||
$ kubectl delete crd awssqssources.sources.triggermesh.io
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------------------------|-----------------------------------------------------|--------------------------------------------|
|
||||
| `nameOverride` | Override the name for controller resources | `""` |
|
||||
| `fullnameOverride` | Override the fullname for controller resources | `""` |
|
||||
| `rbac.create` | Create RBAC resources | `true` |
|
||||
| `serviceAccount.create` | Create service account for the controller | `true` |
|
||||
| `serviceAccount.annotations` | Annotations to add to controller service account | `{}` |
|
||||
| `serviceAccount.name` | Override the name for the service account | `nil` |
|
||||
| `imagePullSecrets` | Specify image pull secrets | `[]` |
|
||||
| `image.registry` | Image registry name | `gcr.io` |
|
||||
| `image.repository` | Image repository name | `triggermesh/aws-event-sources-controller` |
|
||||
| `image.tag` | Image tag | `{TAG_NAME}` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `adapter.awscloudwatch.repository` | AWS adapter Cloudwatch image name | `triggermesh/awscloudwatchsource` |
|
||||
| `adapter.awscloudwatch.tag` | AWS adapter Cloudwatch image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awscloudwatchlogs.repository` | AWS adapter Cloudwatch Logs image name | `triggermesh/awscloudwatchlogssource` |
|
||||
| `adapter.awscloudwatchlogs.tag` | AWS adapter Cloudwatch Logs image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awscodecommit.repository` | AWS adapter CodeCommit image name | `triggermesh/awscodecommitsource` |
|
||||
| `adapter.awscodecommit.tag` | AWS adapter CodeCommit image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awscognitoidentity.repository` | AWS adapter Cognito Identity image name | `triggermesh/awscognitoidentitysource` |
|
||||
| `adapter.awscognitoidentity.tag` | AWS adapter Cognito Identity image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awscognitouserpool.repository` | AWS adapter Cognito Userpool image name | `triggermesh/awscognitouserpoolsource` |
|
||||
| `adapter.awscognitouserpool.tag` | AWS adapter Cognito Userpool image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awsdynamodb.repository` | AWS adapter DynamoDB image name | `triggermesh/awsdynamodbsource` |
|
||||
| `adapter.awsdynamodb.tag` | AWS adapter DynamoDB image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awskinesis.repository` | AWS adapter Kinesis image name | `triggermesh/awskinesissource` |
|
||||
| `adapter.awskinesis.tag` | AWS adapter Kinesis image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awsperformanceinsights.repository` | AWS adapter Performance Insights image name | `triggermesh/awsperformanceinsightssource` |
|
||||
| `adapter.awsperformanceinsights.tag` | AWS adapter Performance Insights image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awssns.repository` | AWS adapter SNS image name | `triggermesh/awssnssource` |
|
||||
| `adapter.awssns.tag` | AWS adapter SNS image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `adapter.awssqs.repository` | AWS adapter SQS image name | `triggermesh/awssqssource` |
|
||||
| `adapter.awssqs.tag` | AWS adapter SQS image tag | `_defaults to value of `.image.tag`_` |
|
||||
| `podAnnotations` | Annotations to add to the controller pod | `{}`` |
|
||||
| `podSecurityContext` | Security context for controller pods | `{}` |
|
||||
| `securityContext` | Security context for controller containers | `{}` |
|
||||
| `resources` | Resource requests/limits for the controller | `{requests: {cpu: 20m, memory: 20Mi}}` |
|
||||
| `nodeSelector` | Controller node selector | `{}` |
|
||||
| `tolerations` | Tolerations for use with node taints | `[]` |
|
||||
| `affinity` | Assign custom affinity rules to the controller pods | `{}` |
|
|
@ -0,0 +1,5 @@
|
|||
# TriggerMesh AWS Event Sources
|
||||
|
||||
[aws-event-sources](https://github.com/triggermesh/aws-event-sources) is a Kubernetes controller that implements Knative event sources for AWS services.
|
||||
|
||||
You may be using some Cloud services on AWS but still interested to run workloads within Kubernetes. To trigger those workloads when events happen in your AWS service you need to have an event source that can consume AWS events and send them to your workload.
|
|
@ -0,0 +1,219 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awscloudwatchsources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.cloudwatch.metrics.message" },
|
||||
{ "type": "com.amazon.cloudwatch.metrics.metric" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSCloudWatchSource
|
||||
plural: awscloudwatchsources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
region:
|
||||
type: string
|
||||
pollingInterval:
|
||||
type: string
|
||||
metricQueries:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
pattern: ^[a-z]\w{0,254}$
|
||||
expression:
|
||||
type: string
|
||||
metric:
|
||||
type: object
|
||||
properties:
|
||||
period:
|
||||
type: integer
|
||||
stat:
|
||||
type: string
|
||||
unit:
|
||||
type: string
|
||||
metric:
|
||||
type: object
|
||||
properties:
|
||||
metricName:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
dimensions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
oneOf:
|
||||
- required: ['expression']
|
||||
- required: ['metric']
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- region
|
||||
- metricQueries
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,180 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awscloudwatchlogssources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.logs.log" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSCloudWatchLogsSource
|
||||
plural: awscloudwatchlogssources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:logs:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$'
|
||||
pollingInterval:
|
||||
type: string
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,188 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awscodecommitsources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.codecommit.push" },
|
||||
{ "type": "com.amazon.codecommit.pull_request" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSCodeCommitSource
|
||||
plural: awscodecommitsources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:codecommit:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$'
|
||||
branch:
|
||||
type: string
|
||||
eventTypes:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
enum: [push, pull_request]
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- branch
|
||||
- eventTypes
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,178 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awscognitoidentitysources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.cognito-identity.sync_trigger" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSCognitoIdentitySource
|
||||
plural: awscognitoidentitysources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:cognito-identity:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:identitypool\/.+$'
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,178 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awscognitouserpoolsources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.cognitouserpool.sync_trigger" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSCognitoUserPoolSource
|
||||
plural: awscognitouserpoolsources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:cognito-idp:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:userpool\/.+$'
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,180 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awsdynamodbsources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.dynamodb.insert" },
|
||||
{ "type": "com.amazon.dynamodb.modify" },
|
||||
{ "type": "com.amazon.dynamodb.remove" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSDynamoDBSource
|
||||
plural: awsdynamodbsources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:dynamodb:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:table\/.+$'
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,157 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awsiotsources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.iot.greetings" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSIoTSource
|
||||
plural: awsiotsources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
endpoint:
|
||||
type: string
|
||||
format: hostname
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:iot:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:topic\/.+$'
|
||||
rootCA:
|
||||
type: string
|
||||
rootCAPath:
|
||||
type: string
|
||||
certificate:
|
||||
type: string
|
||||
certificatePath:
|
||||
type: string
|
||||
privateKey:
|
||||
type: string
|
||||
privateKeyPath:
|
||||
type: string
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- endpoint
|
||||
- arn
|
||||
- rootCA
|
||||
- certificate
|
||||
- privateKey
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,178 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awskinesissources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.kinesis.stream_record" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSKinesisSource
|
||||
plural: awskinesissources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:kinesis:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:stream\/.+$'
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,187 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awsperformanceinsightssources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.rds.pi.metric" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSPerformanceInsightsSource
|
||||
plural: awsperformanceinsightssources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: ^arn:aws(-cn|-us-gov)?:rds:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$
|
||||
pollingInterval:
|
||||
type: string
|
||||
metricQueries:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
minLength: 1
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
- pollingInterval
|
||||
- metricQueries
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,219 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awss3sources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.s3.objectcreated" },
|
||||
{ "type": "com.amazon.s3.objectremoved" },
|
||||
{ "type": "com.amazon.s3.objectrestore" },
|
||||
{ "type": "com.amazon.s3.reducedredundancylostobject" },
|
||||
{ "type": "com.amazon.s3.replication" },
|
||||
{ "type": "com.amazon.s3.testevent" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSS3Source
|
||||
plural: awss3sources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
# Bucket naming rules
|
||||
# https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
|
||||
pattern: ^arn:aws(-cn|-us-gov)?:s3:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:[0-9a-z][0-9a-z.-]{2,62}$
|
||||
eventTypes:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
# Accepted values
|
||||
# https://docs.aws.amazon.com/AmazonS3/latest/API/API_QueueConfiguration.html
|
||||
# https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html
|
||||
enum:
|
||||
- s3:ObjectCreated:*
|
||||
- s3:ObjectCreated:Put
|
||||
- s3:ObjectCreated:Post
|
||||
- s3:ObjectCreated:Copy
|
||||
- s3:ObjectCreated:CompleteMultipartUpload
|
||||
- s3:ObjectRemoved:*
|
||||
- s3:ObjectRemoved:Delete
|
||||
- s3:ObjectRemoved:DeleteMarkerCreated
|
||||
- s3:ObjectRestore:*
|
||||
- s3:ObjectRestore:Post
|
||||
- s3:ObjectRestore:Completed
|
||||
- s3:ReducedRedundancyLostObject
|
||||
- s3:Replication:*
|
||||
- s3:Replication:OperationFailedReplication
|
||||
- s3:Replication:OperationNotTracked
|
||||
- s3:Replication:OperationMissedThreshold
|
||||
- s3:Replication:OperationReplicatedAfterThreshold
|
||||
queueARN:
|
||||
type: string
|
||||
pattern: ^arn:aws(-cn|-us-gov)?:sqs:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: [value]
|
||||
- required: [valueFromSecret]
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: [value]
|
||||
- required: [valueFromSecret]
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: [ref]
|
||||
- required: [uri]
|
||||
required:
|
||||
- arn
|
||||
- eventTypes
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
queueARN:
|
||||
type: string
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Queue
|
||||
type: string
|
||||
jsonPath: .status.queueARN
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,207 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awssnssources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.sns.notification" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSSNSSource
|
||||
plural: awssnssources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:sns:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$'
|
||||
subscriptionAttributes:
|
||||
type: object
|
||||
properties:
|
||||
DeliveryPolicy:
|
||||
type: string
|
||||
format: json
|
||||
nullable: true
|
||||
FilterPolicy:
|
||||
type: string
|
||||
format: json
|
||||
nullable: true
|
||||
RawMessageDelivery:
|
||||
type: string
|
||||
format: json
|
||||
nullable: true
|
||||
RedrivePolicy:
|
||||
type: string
|
||||
format: json
|
||||
nullable: true
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
subscriptionARN:
|
||||
type: string
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
address:
|
||||
type: object
|
||||
properties:
|
||||
url:
|
||||
type: string
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: URL
|
||||
type: string
|
||||
jsonPath: .status.address.url
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,178 @@
|
|||
# Copyright 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: awssqssources.sources.triggermesh.io
|
||||
labels:
|
||||
eventing.knative.dev/source: 'true'
|
||||
duck.knative.dev/source: 'true'
|
||||
knative.dev/crd-install: 'true'
|
||||
annotations:
|
||||
registry.knative.dev/eventTypes: |
|
||||
[
|
||||
{ "type": "com.amazon.sqs.message" }
|
||||
]
|
||||
spec:
|
||||
group: sources.triggermesh.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: AWSSQSSource
|
||||
plural: awssqssources
|
||||
categories:
|
||||
- all
|
||||
- knative
|
||||
- eventing
|
||||
- sources
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
arn:
|
||||
type: string
|
||||
pattern: '^arn:aws(-cn|-us-gov)?:sqs:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:.+$'
|
||||
credentials:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
secretAccessKey:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
format: password
|
||||
valueFromSecret:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
key:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- key
|
||||
oneOf:
|
||||
- required: ['value']
|
||||
- required: ['valueFromSecret']
|
||||
sink:
|
||||
type: object
|
||||
properties:
|
||||
ref:
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
namespace:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
- name
|
||||
uri:
|
||||
type: string
|
||||
format: uri
|
||||
oneOf:
|
||||
- required: ['ref']
|
||||
- required: ['uri']
|
||||
required:
|
||||
- arn
|
||||
- sink
|
||||
status:
|
||||
type: object
|
||||
properties:
|
||||
sinkUri:
|
||||
type: string
|
||||
format: uri
|
||||
ceAttributes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- source
|
||||
observedGeneration:
|
||||
type: integer
|
||||
format: int64
|
||||
conditions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
enum: ['True', 'False', Unknown]
|
||||
severity:
|
||||
type: string
|
||||
enum: [Error, Warning, Info]
|
||||
reason:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
format: date-time
|
||||
required:
|
||||
- type
|
||||
- status
|
||||
additionalPrinterColumns:
|
||||
- name: Ready
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].status
|
||||
- name: Reason
|
||||
type: string
|
||||
jsonPath: .status.conditions[?(@.type=='Ready')].reason
|
||||
- name: Sink
|
||||
type: string
|
||||
jsonPath: .status.sinkUri
|
||||
- name: Age
|
||||
type: date
|
||||
jsonPath: .metadata.creationTimestamp
|
|
@ -0,0 +1,24 @@
|
|||
questions:
|
||||
- variable: defaultImage
|
||||
default: true
|
||||
description: "Use default Docker images"
|
||||
label: Use Default Images
|
||||
type: boolean
|
||||
show_subquestion_if: false
|
||||
group: "Container Images"
|
||||
subquestions:
|
||||
- variable: image.registry
|
||||
default: "gcr.io"
|
||||
description: "Docker image registry"
|
||||
type: string
|
||||
label: Image Registry
|
||||
- variable: image.repository
|
||||
default: "triggermesh/aws-event-sources-controller"
|
||||
description: "Docker image repository"
|
||||
type: string
|
||||
label: Image Repository
|
||||
- variable: image.tag
|
||||
default: "v1.7.0"
|
||||
description: "Docker image tag"
|
||||
type: string
|
||||
label: Image Tag
|
|
@ -0,0 +1,9 @@
|
|||
TriggerMesh AWS event sources controller for Knative has been installed.
|
||||
|
||||
To view the controller logs:
|
||||
|
||||
kubectl logs -f deploy/{{ include "aws-event-sources.fullname" . }}-controller --namespace {{ .Release.Namespace }}
|
||||
|
||||
Refer to https://github.com/triggermesh/aws-event-sources/tree/master/config/samples for examples that make use of the controller.
|
||||
|
||||
For support and feedback contact us as https://github.com/triggermesh/aws-event-sources/issues/new.
|
|
@ -0,0 +1,63 @@
|
|||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "aws-event-sources.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "aws-event-sources.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "aws-event-sources.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "aws-event-sources.labels" -}}
|
||||
helm.sh/chart: {{ include "aws-event-sources.chart" . }}
|
||||
{{ include "aws-event-sources.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "aws-event-sources.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "aws-event-sources.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "aws-event-sources.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "aws-event-sources.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
|
@ -0,0 +1,213 @@
|
|||
# Copyright (c) 2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app {{ template "aws-event-sources.fullname" . }}-controller
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
|
||||
---
|
||||
|
||||
# Permissions not required by controllers directly, but granted to
|
||||
# receive-adapters via RoleBindings.
|
||||
#
|
||||
# Without them, the following error is thrown:
|
||||
# "attempting to grant RBAC permissions not currently held"
|
||||
#
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awscloudwatchlogssource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awscloudwatchsource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awscodecommitsource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awscognitoidentitysource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awscognitouserpoolsource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awsdynamodbsource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awsiotsource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awskinesissource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awsperformanceinsightssource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awss3source-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awssnssource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: &app awssqssource-adapter
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: *app
|
||||
|
||||
---
|
||||
|
||||
# Resolve sink URIs
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ template "aws-event-sources.fullname" . }}-controller-addressable-resolver
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: addressable-resolver
|
||||
{{- end }}
|
|
@ -0,0 +1,378 @@
|
|||
# Copyright (c) 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
{{- if .Values.rbac.create }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ template "aws-event-sources.fullname" . }}-controller
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
rules:
|
||||
|
||||
# Record Kubernetes events
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- update
|
||||
|
||||
# Manage receive-adapters
|
||||
- apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- deployments
|
||||
verbs: &all
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- patch
|
||||
- apiGroups:
|
||||
- serving.knative.dev
|
||||
resources:
|
||||
- services
|
||||
verbs: *all
|
||||
|
||||
# Read Source resources and update their statuses
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awscloudwatchlogssources
|
||||
- awscloudwatchsources
|
||||
- awscodecommitsources
|
||||
- awscognitoidentitysources
|
||||
- awscognitouserpoolsources
|
||||
- awsdynamodbsources
|
||||
- awsiotsources
|
||||
- awskinesissources
|
||||
- awsperformanceinsightssources
|
||||
- awss3sources
|
||||
- awssnssources
|
||||
- awssqssources
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- get
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awscloudwatchlogssources/status
|
||||
- awscloudwatchsources/status
|
||||
- awscodecommitsources/status
|
||||
- awscognitoidentitysources/status
|
||||
- awscognitouserpoolsources/status
|
||||
- awsdynamodbsources/status
|
||||
- awsiotsources/status
|
||||
- awskinesissources/status
|
||||
- awsperformanceinsightssources/status
|
||||
- awss3sources/status
|
||||
- awssnssources/status
|
||||
- awssqssources/status
|
||||
verbs:
|
||||
- update
|
||||
|
||||
# Ensure compatibility with the OwnerReferencesPermissionEnforcement Admission Controller
|
||||
# https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#ownerreferencespermissionenforcement
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awscloudwatchlogssources/finalizers
|
||||
- awscloudwatchsources/finalizers
|
||||
- awscodecommitsources/finalizers
|
||||
- awscognitoidentitysources/finalizers
|
||||
- awscognitouserpoolsources/finalizers
|
||||
- awsdynamodbsources/finalizers
|
||||
- awsiotsources/finalizers
|
||||
- awskinesissources/finalizers
|
||||
- awsperformanceinsightssources/finalizers
|
||||
- awss3sources/finalizers
|
||||
- awssnssources/finalizers
|
||||
- awssqssources/finalizers
|
||||
verbs:
|
||||
- update
|
||||
|
||||
# Set finalizers
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awss3sources
|
||||
- awssnssources
|
||||
verbs:
|
||||
- patch
|
||||
|
||||
# Manage resource-specific ServiceAccounts and RoleBindings
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- serviceaccounts
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- serviceaccounts
|
||||
resourceNames: &rbac-objects
|
||||
- awscloudwatchlogssource-adapter
|
||||
- awscloudwatchsource-adapter
|
||||
- awscodecommitsource-adapter
|
||||
- awscognitoidentitysource-adapter
|
||||
- awscognitouserpoolsource-adapter
|
||||
- awsdynamodbsource-adapter
|
||||
- awsiotsource-adapter
|
||||
- awskinesissource-adapter
|
||||
- awsperformanceinsightssource-adapter
|
||||
- awss3source-adapter
|
||||
- awssnssource-adapter
|
||||
- awssqssource-adapter
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- rbac.authorization.k8s.io
|
||||
resources:
|
||||
- rolebindings
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- apiGroups:
|
||||
- rbac.authorization.k8s.io
|
||||
resources:
|
||||
- rolebindings
|
||||
resourceNames: *rbac-objects
|
||||
verbs:
|
||||
- update
|
||||
|
||||
# Read credentials
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
|
||||
# Read controller configurations
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- configmaps
|
||||
resourceNames:
|
||||
- config-logging
|
||||
- config-observability
|
||||
- config-leader-election
|
||||
verbs:
|
||||
- get
|
||||
|
||||
# Acquire leases for leader election
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- create
|
||||
- update
|
||||
|
||||
# Determine the exact reason why Deployments fail
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- pods
|
||||
verbs:
|
||||
- list
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awscloudwatchlogssource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awscloudwatchsource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awscodecommitsource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awscognitoidentitysource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awscognitouserpoolsource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awsdynamodbsource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awsiotsource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awskinesissource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awsperformanceinsightssource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awss3source-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awssnssource-adapter
|
||||
rules:
|
||||
|
||||
# Record Kubernetes events
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- update
|
||||
|
||||
# Read Source resources and update their statuses
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awssnssources
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awssnssources/status
|
||||
verbs:
|
||||
- patch
|
||||
|
||||
# Read credentials
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
|
||||
# Acquire leases for leader election
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- create
|
||||
- update
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: awssqssource-adapter
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
# The role is needed for the aggregated role source-observer in knative-eventing to provide readonly access to "Sources".
|
||||
# see https://github.com/knative/eventing/blob/release-0.14/docs/spec/sources.md#source-rbac
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ template "aws-event-sources.fullname" . }}-observer
|
||||
labels:
|
||||
duck.knative.dev/source: 'true'
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- sources.triggermesh.io
|
||||
resources:
|
||||
- awscloudwatchlogssources
|
||||
- awscloudwatchsources
|
||||
- awscodecommitsources
|
||||
- awscognitoidentitysources
|
||||
- awscognitouserpoolsources
|
||||
- awsdynamodbsources
|
||||
- awsiotsources
|
||||
- awskinesissources
|
||||
- awsperformanceinsightssources
|
||||
- awssnssources
|
||||
- awssqssources
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
|
@ -0,0 +1,109 @@
|
|||
# Copyright (c) 2020 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "aws-event-sources.fullname" . }}-controller
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "aws-event-sources.selectorLabels" . | nindent 6}}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 8 }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
|
||||
containers:
|
||||
- name: controller
|
||||
terminationMessagePolicy: FallbackToLogsOnError
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy}}
|
||||
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
|
||||
env:
|
||||
- name: SYSTEM_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
# Logging/observability configuration
|
||||
- name: CONFIG_LOGGING_NAME
|
||||
value: config-logging
|
||||
- name: CONFIG_OBSERVABILITY_NAME
|
||||
value: config-observability
|
||||
- name: METRICS_DOMAIN
|
||||
value: triggermesh.io/sources
|
||||
# Source adapters
|
||||
- name: AWSCLOUDWATCHSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awscloudwatch.repository }}:{{ default .Values.image.tag .Values.adapters.awscloudwatch.tag }}"
|
||||
- name: AWSCLOUDWATCHLOGSSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awscloudwatchlogs.repository }}:{{ default .Values.image.tag .Values.adapters.awscloudwatchlogs.tag }}"
|
||||
- name: AWSCODECOMMITSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awscodecommit.repository }}:{{ default .Values.image.tag .Values.adapters.awscodecommit.tag }}"
|
||||
- name: AWSCOGNITOIDENTITYSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awscognitoidentity.repository }}:{{ default .Values.image.tag .Values.adapters.awscognitoidentity.tag }}"
|
||||
- name: AWSCOGNITOUSERPOOLSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awscognitouserpool.repository }}:{{ default .Values.image.tag .Values.adapters.awscognitouserpool.tag }}"
|
||||
- name: AWSDYNAMODBSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awsdynamodb.repository }}:{{ default .Values.image.tag .Values.adapters.awsdynamodb.tag }}"
|
||||
- name: AWSKINESISSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awskinesis.repository }}:{{ default .Values.image.tag .Values.adapters.awskinesis.tag }}"
|
||||
- name: AWSPERFORMANCEINSIGHTSSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awsperformanceinsights.repository }}:{{ default .Values.image.tag .Values.adapters.awsperformanceinsights.tag }}"
|
||||
- name: AWSSNSSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awssns.repository }}:{{ default .Values.image.tag .Values.adapters.awssns.tag }}"
|
||||
- name: AWSSQSSOURCE_IMAGE
|
||||
value: "{{ .Values.image.registry }}/{{ .Values.adapters.awssqs.repository }}:{{ default .Values.image.tag .Values.adapters.awssqs.tag }}"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
{{- with .Values.securityContext }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9090
|
||||
- name: profiling
|
||||
containerPort: 8008
|
||||
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright (c) 2020-2021 TriggerMesh Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "aws-event-sources.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "aws-event-sources.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
|
@ -0,0 +1,68 @@
|
|||
nameOverride: ""
|
||||
|
||||
fullnameOverride: ""
|
||||
|
||||
rbac:
|
||||
create: true
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
annotations: {}
|
||||
name: ""
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
image:
|
||||
registry: gcr.io
|
||||
repository: triggermesh/aws-event-sources-controller
|
||||
tag: v1.7.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
adapters:
|
||||
awscloudwatch:
|
||||
repository: triggermesh/awscloudwatchsource
|
||||
tag: ""
|
||||
awscloudwatchlogs:
|
||||
repository: triggermesh/awscloudwatchlogssource
|
||||
tag: ""
|
||||
awscodecommit:
|
||||
repository: triggermesh/awscodecommitsource
|
||||
tag: ""
|
||||
awscognitoidentity:
|
||||
repository: triggermesh/awscognitoidentitysource
|
||||
tag: ""
|
||||
awscognitouserpool:
|
||||
repository: triggermesh/awscognitouserpoolsource
|
||||
tag: ""
|
||||
awsdynamodb:
|
||||
repository: triggermesh/awsdynamodbsource
|
||||
tag: ""
|
||||
awskinesis:
|
||||
repository: triggermesh/awskinesissource
|
||||
tag: ""
|
||||
awsperformanceinsights:
|
||||
repository: triggermesh/awsperformanceinsightssource
|
||||
tag: ""
|
||||
awssns:
|
||||
repository: triggermesh/awssnssource
|
||||
tag: ""
|
||||
awssqs:
|
||||
repository: triggermesh/awssqssource
|
||||
tag: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
|
||||
securityContext: {}
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 20Mi
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
31
index.yaml
31
index.yaml
|
@ -259,6 +259,37 @@ entries:
|
|||
urls:
|
||||
- assets/artifactory-jcr/artifactory-jcr-2.5.100.tgz
|
||||
version: 2.5.100
|
||||
aws-event-sources:
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: partner
|
||||
catalog.cattle.io/display-name: Sources for Amazon Web Services
|
||||
catalog.cattle.io/release-name: aws-event-sources
|
||||
apiVersion: v2
|
||||
appVersion: 1.7.0
|
||||
created: "2021-08-23T11:24:51.230234+05:30"
|
||||
description: AWS Event Sources controller for Kubernetes
|
||||
digest: 3b5cb9e51589262bff329d41439ff65863757448f6f35fd982aa096b4a3cc3b7
|
||||
home: https://github.com/triggermesh/aws-event-sources
|
||||
icon: https://global-uploads.webflow.com/5f683649f57c927210b6707e/5f683649f57c9261bab67097_logo.svg
|
||||
keywords:
|
||||
- knative-eventing
|
||||
- sources
|
||||
- aws
|
||||
- triggermesh
|
||||
- serverless
|
||||
kubeVersion: '>=1.18.0'
|
||||
maintainers:
|
||||
- email: sameer@triggermesh.com
|
||||
name: sameersbn
|
||||
- email: antoine@triggermesh.com
|
||||
name: antoineco
|
||||
name: aws-event-sources
|
||||
sources:
|
||||
- https://github.com/triggermesh/aws-event-sources
|
||||
type: application
|
||||
urls:
|
||||
- assets/aws-event-sources/aws-event-sources-0.1.901.tgz
|
||||
version: 0.1.901
|
||||
citrix-adc-istio-ingress-gateway:
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: partner
|
||||
|
|
Loading…
Reference in New Issue