diff --git a/charts/aws-event-sources/item.yaml b/charts/aws-event-sources/item.yaml deleted file mode 100644 index 2a60e83cc4f..00000000000 --- a/charts/aws-event-sources/item.yaml +++ /dev/null @@ -1,2 +0,0 @@ -categories: - - generic diff --git a/charts/aws-event-sources/logo.svg b/charts/aws-event-sources/logo.svg deleted file mode 100644 index d5a99aff8af..00000000000 --- a/charts/aws-event-sources/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/charts/aws-event-sources/v0.1.0/.helmignore b/charts/aws-event-sources/v0.1.0/.helmignore deleted file mode 100644 index 0e8a0eb36f4..00000000000 --- a/charts/aws-event-sources/v0.1.0/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# 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/ diff --git a/charts/aws-event-sources/v0.1.0/Chart.yaml b/charts/aws-event-sources/v0.1.0/Chart.yaml deleted file mode 100644 index e977d5d88a0..00000000000 --- a/charts/aws-event-sources/v0.1.0/Chart.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v2 -name: aws-event-sources -version: 0.1.0 -appVersion: 0.2.0 -type: application -description: A Helm chart for AWS event sources by Triggermesh -home: https://github.com/triggermesh/aws-event-sources -icon: file://../logo.png -keywords: - - knative-eventing - - sources - - aws - - triggermesh - - serverless -maintainers: - - name: sameersbn - - name: antoineco -sources: - - https://github.com/triggermesh/aws-event-sources diff --git a/charts/aws-event-sources/v0.1.0/README.md b/charts/aws-event-sources/v0.1.0/README.md deleted file mode 100644 index a1132bbf4cf..00000000000 --- a/charts/aws-event-sources/v0.1.0/README.md +++ /dev/null @@ -1,109 +0,0 @@ -# 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.awscodecommit.repository` | AWS CodeCommit adapter image name | `triggermesh/awscodecommitsource` | -| `adapter.awscodecommit.tag` | AWS CodeCommit adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awscognitoidentity.repository` | AWS Cognito Identity adapter image name | `triggermesh/awscognitoidentitysource` | -| `adapter.awscognitoidentity.tag` | AWS Cognito Identity adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awscognitouserpool.repository` | AWS Cognito Userpool adapter image name | `triggermesh/awscognitouserpoolsource` | -| `adapter.awscognitouserpool.tag` | AWS Cognito Userpool adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awsdynamodb.repository` | AWS DynomoDB adapter image name | `triggermesh/awsdynamodbsource` | -| `adapter.awsdynamodb.tag` | AWS DynomoDB adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awskinesis.repository` | AWS Kinesis adapter image name | `triggermesh/awskinesissource` | -| `adapter.awskinesis.tag` | AWS Kinesis adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awssns.repository` | AWS SNS adapter image name | `triggermesh/awssnssource` | -| `adapter.awssns.tag` | AWS SNS adapter image tag | _defaults to value of `.image.tag`_ | -| `adapter.awssqs.repository` | AWS SQS adapter image name | `triggermesh/awssqssource` | -| `adapter.awssqs.tag` | AWS SQS adapter image tag | _defaults to value of `.image.tag`_ | -| `knative.domain` | Knative Domain | `example.com` | -| `knative.urlScheme` | Knative URL Scheme | `http` | -| `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 | `{}` | diff --git a/charts/aws-event-sources/v0.1.0/app-readme.md b/charts/aws-event-sources/v0.1.0/app-readme.md deleted file mode 100644 index 4775a2dcf9c..00000000000 --- a/charts/aws-event-sources/v0.1.0/app-readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Triggermesh AWS Event Sources - -[aws-event-sources](https://github.com/triggermesh/aws-event-sources) is a Kubernetes controller for 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. diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awscodecommit.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awscodecommit.yaml deleted file mode 100644 index b864ee28c8a..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awscodecommit.yaml +++ /dev/null @@ -1,182 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awscognitoidentity.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awscognitoidentity.yaml deleted file mode 100644 index 10dfde759e0..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awscognitoidentity.yaml +++ /dev/null @@ -1,172 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awscognitouserpool.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awscognitouserpool.yaml deleted file mode 100644 index 0ddb9653ef7..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awscognitouserpool.yaml +++ /dev/null @@ -1,172 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awsdynamodb.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awsdynamodb.yaml deleted file mode 100644 index 140d06095d6..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awsdynamodb.yaml +++ /dev/null @@ -1,174 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awsiot.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awsiot.yaml deleted file mode 100644 index 4c2506fa0d4..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awsiot.yaml +++ /dev/null @@ -1,157 +0,0 @@ -# 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: 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awskinesis.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awskinesis.yaml deleted file mode 100644 index 336f1895adb..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awskinesis.yaml +++ /dev/null @@ -1,172 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awssns.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awssns.yaml deleted file mode 100644 index 764d8d1d00c..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awssns.yaml +++ /dev/null @@ -1,199 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 - 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 diff --git a/charts/aws-event-sources/v0.1.0/crds/crd-awssqs.yaml b/charts/aws-event-sources/v0.1.0/crds/crd-awssqs.yaml deleted file mode 100644 index 5ce08bdc295..00000000000 --- a/charts/aws-event-sources/v0.1.0/crds/crd-awssqs.yaml +++ /dev/null @@ -1,172 +0,0 @@ -# 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: 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 - oneOf: - - required: ['value'] - - required: ['valueFromSecret'] - secretAccessKey: - type: object - properties: - value: - type: string - format: password - valueFromSecret: - type: object - properties: - name: - type: string - key: - type: string - 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 diff --git a/charts/aws-event-sources/v0.1.0/questions.yaml b/charts/aws-event-sources/v0.1.0/questions.yaml deleted file mode 100644 index 7aff6f94c68..00000000000 --- a/charts/aws-event-sources/v0.1.0/questions.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- variable: defaultImage - description: "Use default Docker images" - label: Use Default Images - show_subquestion_if: false - group: "Container Images" - schema: - default: "true" - type: boolean - subquestions: - - variable: image.registry - description: "Docker image registry" - label: Image Registry - schema: - default: "gcr.io" - type: string - - variable: image.repository - description: "Docker image repository" - label: Image Repository - schema: - default: "triggermesh/aws-event-sources-controller" - type: string - - variable: image.tag - description: "Docker image tag" - label: Image Tag - schema: - default: "v0.2.0" - type: string -- variable: knative.domain - description: "Specify the Knative Domain" - label: Knative Domain - schema: - default: "example.com" - type: string - required: true - $ref: - - definitions/interfaces -- variable: knative.urlScheme - description: "Specify the Knative URL Scheme" - label: Knative URL Scheme - schema: - default: "http" - type: string - required: true - enum: - - "http" - - "https" diff --git a/charts/aws-event-sources/v0.1.0/templates/NOTES.txt b/charts/aws-event-sources/v0.1.0/templates/NOTES.txt deleted file mode 100644 index e73f07781dd..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/NOTES.txt +++ /dev/null @@ -1,9 +0,0 @@ -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. diff --git a/charts/aws-event-sources/v0.1.0/templates/_helpers.tpl b/charts/aws-event-sources/v0.1.0/templates/_helpers.tpl deleted file mode 100644 index c3b42a6a594..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* 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 }} diff --git a/charts/aws-event-sources/v0.1.0/templates/clusterrolebinding.yaml b/charts/aws-event-sources/v0.1.0/templates/clusterrolebinding.yaml deleted file mode 100644 index 1bb5a0a9b1f..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/clusterrolebinding.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# 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. - -{{- if .Values.serviceAccount.create }} -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ 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: {{ template "aws-event-sources.fullname" . }}-controller -{{- end }} diff --git a/charts/aws-event-sources/v0.1.0/templates/clusterroles.yaml b/charts/aws-event-sources/v0.1.0/templates/clusterroles.yaml deleted file mode 100644 index 3bf62a62960..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/clusterroles.yaml +++ /dev/null @@ -1,152 +0,0 @@ -# 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. - -{{- 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: - - awscodecommitsources - - awscognitoidentitysources - - awscognitouserpoolsources - - awsdynamodbsources - - awsiotsources - - awskinesissources - - awssnssources - - awssqssources - verbs: - - list - - watch - - get - - patch -- apiGroups: - - sources.triggermesh.io - resources: - - awscodecommitsources/status - - awscognitoidentitysources/status - - awscognitouserpoolsources/status - - awsdynamodbsources/status - - awsiotsources/status - - awskinesissources/status - - awssnssources/status - - awssqssources/status - verbs: - - update - -# Read controller configurations -- apiGroups: - - '' - resources: - - configmaps - verbs: &listwatch - - list - - watch -- apiGroups: - - '' - resources: - - configmaps - resourceNames: - - config-logging - - config-observability - - config-leader-election - verbs: - - get - -# Resolve sink URIs -- apiGroups: - - '' - resources: - - services - verbs: *listwatch -- apiGroups: - - serving.knative.dev - resources: - - services - verbs: *listwatch -- apiGroups: - - eventing.knative.dev - resources: - - brokers - verbs: *listwatch -- apiGroups: - - messaging.knative.dev - resources: - - channels - verbs: *listwatch - ---- - -# 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: - - awscodecommitsources - - awscognitoidentitysources - - awscognitouserpoolsources - - awsdynamodbsources - - awsiotsources - - awskinesissources - - awssnssources - - awssqssources - verbs: - - get - - list - - watch -{{- end }} diff --git a/charts/aws-event-sources/v0.1.0/templates/deployment.yaml b/charts/aws-event-sources/v0.1.0/templates/deployment.yaml deleted file mode 100644 index b94846e5ecd..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/deployment.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# 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 - image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy}} - terminationMessagePolicy: FallbackToLogsOnError - 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 - # Global settings - - name: KNATIVE_URL_SCHEME - value: {{ .Values.knative.urlScheme }} - - name: KNATIVE_DOMAIN - value: {{ .Values.knative.domain }} - # Source adapters - - 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: 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 }}" - ports: - - name: metrics - containerPort: 9090 - - name: profiling - containerPort: 8008 - securityContext: - allowPrivilegeEscalation: false - {{- with .Values.securityContext }} - {{- toYaml . | nindent 12 }} - {{- end }} - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/charts/aws-event-sources/v0.1.0/templates/serviceaccount.yaml b/charts/aws-event-sources/v0.1.0/templates/serviceaccount.yaml deleted file mode 100644 index bbf41f9907a..00000000000 --- a/charts/aws-event-sources/v0.1.0/templates/serviceaccount.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# 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. - -{{- 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 }} diff --git a/charts/aws-event-sources/v0.1.0/values.yaml b/charts/aws-event-sources/v0.1.0/values.yaml deleted file mode 100644 index 995a4853d61..00000000000 --- a/charts/aws-event-sources/v0.1.0/values.yaml +++ /dev/null @@ -1,63 +0,0 @@ -nameOverride: "" - -fullnameOverride: "" - -rbac: - create: true - -serviceAccount: - create: true - annotations: {} - name: "" - -imagePullSecrets: [] - -image: - registry: gcr.io - repository: triggermesh/aws-event-sources-controller - tag: "v0.2.0" - pullPolicy: IfNotPresent - -adapters: - 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: - awssns: - repository: triggermesh/awssnssource - tag: "latest" - awssqs: - repository: triggermesh/awssqssource - tag: - -knative: - urlScheme: http - domain: example.com - -podAnnotations: {} - -podSecurityContext: {} - -securityContext: {} - -resources: - requests: - cpu: 20m - memory: 20Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/ix-chart/v2009.0.1/questions.yaml b/charts/ix-chart/v2009.0.1/questions.yaml index c35beb08582..36dc90da922 100644 --- a/charts/ix-chart/v2009.0.1/questions.yaml +++ b/charts/ix-chart/v2009.0.1/questions.yaml @@ -4,7 +4,7 @@ label: "Image repository" group: "Container Images" schema: - type: stirng + type: string required: true - variable: image.tag description: "Tag to use for specified image"