Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
add missing type (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelvillard authored and knative-prow-robot committed Oct 29, 2019
1 parent a589565 commit e9b94f3
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 23 deletions.
19 changes: 19 additions & 0 deletions couchdb/source/config/300-couchdbsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,25 @@ spec:
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
- type: object
description: "DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI."
required:
- apiVersion
- kind
- name
properties:
apiVersion:
type: string
minLength: 1
kind:
type: string
minLength: 1
name:
type: string
minLength: 1
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
feed:
type: string
enum: ["continuous", "normal"]
Expand Down
65 changes: 42 additions & 23 deletions kafka/source/config/300-kafkasource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,29 +127,48 @@ spec:
type: string
sink:
anyOf:
- type: object
description: "the destination that should receive events."
properties:
ref:
type: object
description: "a reference to a Kubernetes object from which to retrieve the target URI."
required:
- apiVersion
- kind
- name
properties:
apiVersion:
type: string
minLength: 1
kind:
type: string
minLength: 1
name:
type: string
minLength: 1
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
- type: object
description: "the destination that should receive events."
properties:
ref:
type: object
description: "a reference to a Kubernetes object from which to retrieve the target URI."
required:
- apiVersion
- kind
- name
properties:
apiVersion:
type: string
minLength: 1
kind:
type: string
minLength: 1
name:
type: string
minLength: 1
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
- type: object
description: "DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI."
required:
- apiVersion
- kind
- name
properties:
apiVersion:
type: string
minLength: 1
kind:
type: string
minLength: 1
name:
type: string
minLength: 1
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
type: object
required:
- bootstrapServers
Expand Down

0 comments on commit e9b94f3

Please sign in to comment.