Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Add the support to install event sources #92

Description

@houshengbo

Describe the bug
We cannot install any event resource available in https://github.com/knative/eventing-contrib.

Expected behavior
Install the event sources available in the repo eventing-contrib. Make the CR able to configure the list of event sources, to be installed in the knative eventing.

The custom resource will look like this:

apiVersion: operator.knative.dev/v1alpha1
kind: KnativeEventing
metadata:
  name: knative-eventing
  namespace: knative-eventing
spec:
  event-contrib:
    version: 0.12.1
    sources: github,kafka

We can use a comma separated string to specify all the event sources to be installed. Or use the following CR

apiVersion: operator.knative.dev/v1alpha1
kind: KnativeEventing
metadata:
  name: knative-eventing
  namespace: knative-eventing
spec:
  event-contrib:
    version: 0.12.1
    sources:
      - github
      - kafka

to specify the event sources in a list.

A key work "all" can be used to install all event sources.

To Reproduce
Install the operator, knative eventing can be installed via CR, but not the event sources

Knative release version
All.

Additional context
Add any other context about the problem here such as proposed priority

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions