View deployment/kubernetes/knative/knative-trigger.yaml @ 9:f87f195f785f

Added manifests as yaml files
author unexist
date Tue, 31 Aug 2021 16:09:35 +0200
parents
children
line wrap: on
line source
                    
apiVersion: eventing.knative.dev/v1
kind: Trigger
metadata:
  name: todo-trigger
spec:
  broker: default
  filter:
    attributes:
      type: dev.knative.kafka.event
      source: /apis/v1/namespaces/default/kafkasources/kafka-source-todo#todo-created
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: todo
    uri: /todo/create