Skip to content

Instantly share code, notes, and snippets.

@mikehelmick
Created January 16, 2020 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikehelmick/33441a2df068d7325ef669e39683e527 to your computer and use it in GitHub Desktop.
Save mikehelmick/33441a2df068d7325ef669e39683e527 to your computer and use it in GitHub Desktop.
% kubectl get CustomResourceDefinitions -l "duck.knative.dev/source" -oyaml
apiVersion: v1
items:
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{"registry.knative.dev/eventTypes":"[\n { \"type\": \"dev.knative.apiserver.resource.add\" },\n { \"type\": \"dev.knative.apiserver.resource.delete\" },\n { \"type\": \"dev.knative.apiserver.resource.update\" },\n { \"type\": \"dev.knative.apiserver.ref.add\" },\n { \"type\": \"dev.knative.apiserver.ref.delete\" },\n { \"type\": \"dev.knative.apiserver.ref.update\" }\n]\n"},"creationTimestamp":null,"labels":{"duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"apiserversources.sources.eventing.knative.dev"},"spec":{"additionalPrinterColumns":[{"JSONPath":".status.conditions[?(@.type==\"Ready\")].status","name":"Ready","type":"string"},{"JSONPath":".metadata.creationTimestamp","name":"Age","type":"date"}],"group":"sources.eventing.knative.dev","names":{"categories":["all","knative","eventing","sources"],"kind":"ApiServerSource","plural":"apiserversources"},"scope":"Namespaced","subresources":{"status":{}},"validation":{"openAPIV3Schema":{"properties":{"spec":{"properties":{"mode":{"description":"Mode controls the content of the event payload. One of: 'Ref' (only references of resources), 'Resource' (full resource).","type":"string"},"resources":{"items":{"properties":{"apiVersion":{"description":"API version of the objects to watch.","type":"string"},"controller":{"description":"If true, emits the managing controller ref. Only supported for mode=Ref. More info: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/","type":"boolean"},"controllerSelector":{"description":"Controller selector restricting the list of objects to watch by a controlling owner reference of the specified kind.","properties":{"apiVersion":{"description":"API version of the controlling owner reference.","type":"string"},"kind":{"description":"Kind of the controlling owner reference.","type":"string"}},"type":"object"},"kind":{"description":"Kind of the objects to watch.","type":"string"},"labelSelector":{"description":"Label selector restricting this list of objects to watch by their labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/","type":"object"}}},"type":"array"},"serviceAccountName":{"description":"name of the ServiceAccount to use to run the receive adapter. More info: https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/.","type":"string"},"sink":{"anyOf":[{"description":"the destination that should receive events.","properties":{"ref":{"description":"a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"},"uri":{"description":"the target URI. If ref is provided, this must be relative URI reference.","type":"string"}},"type":"object"},{"description":"DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"}]}},"required":["resources","sink"],"type":"object"},"status":{"properties":{"conditions":{"items":{"properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"reason":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"required":["type","status"],"type":"object"},"type":"array"},"sinkUri":{"type":"string"}},"type":"object"}}}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
registry.knative.dev/eventTypes: |
[
{ "type": "dev.knative.apiserver.resource.add" },
{ "type": "dev.knative.apiserver.resource.delete" },
{ "type": "dev.knative.apiserver.resource.update" },
{ "type": "dev.knative.apiserver.ref.add" },
{ "type": "dev.knative.apiserver.ref.delete" },
{ "type": "dev.knative.apiserver.ref.update" }
]
creationTimestamp: "2020-01-07T21:49:37Z"
generation: 2
labels:
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: apiserversources.sources.eventing.knative.dev
resourceVersion: "2980686"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/apiserversources.sources.eventing.knative.dev
uid: c0cabb8e-c071-4881-b354-daa83d5c7b42
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
conversion:
strategy: None
group: sources.eventing.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
kind: ApiServerSource
listKind: ApiServerSourceList
plural: apiserversources
singular: apiserversource
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
spec:
properties:
mode:
description: 'Mode controls the content of the event payload. One
of: ''Ref'' (only references of resources), ''Resource'' (full resource).'
type: string
resources:
items:
properties:
apiVersion:
description: API version of the objects to watch.
type: string
controller:
description: 'If true, emits the managing controller ref. Only
supported for mode=Ref. More info: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/'
type: boolean
controllerSelector:
description: Controller selector restricting the list of objects
to watch by a controlling owner reference of the specified
kind.
properties:
apiVersion:
description: API version of the controlling owner reference.
type: string
kind:
description: Kind of the controlling owner reference.
type: string
type: object
kind:
description: Kind of the objects to watch.
type: string
labelSelector:
description: 'Label selector restricting this list of objects
to watch by their labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/'
type: object
type: array
serviceAccountName:
description: 'name of the ServiceAccount to use to run the receive
adapter. More info: https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/.'
type: string
sink:
anyOf:
- description: the destination that should receive events.
properties:
ref:
description: a reference to a Kubernetes object from which to
retrieve the target URI.
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
uri:
description: the target URI. If ref is provided, this must be
relative URI reference.
type: string
type: object
- description: 'DEPRECATED: a reference to a Kubernetes object from
which to retrieve the target URI.'
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
required:
- resources
- sink
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
severity:
type: string
status:
type: string
type:
type: string
required:
- type
- status
type: object
type: array
sinkUri:
type: string
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
kind: ApiServerSource
listKind: ApiServerSourceList
plural: apiserversources
singular: apiserversource
conditions:
- lastTransitionTime: "2020-01-07T21:49:37Z"
message: '[spec.validation.openAPIV3Schema.properties[spec].properties[resources].items.type:
Required value: must not be empty for specified array items, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].type:
Required value: must not be empty for specified object fields, spec.validation.openAPIV3Schema.type:
Required value: must not be empty at the root]'
reason: Violations
status: "True"
type: NonStructuralSchema
- lastTransitionTime: "2020-01-07T21:49:37Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{"registry.knative.dev/eventTypes":"[\n { \"type\": \"dev.knative.apiserver.resource.add\" },\n { \"type\": \"dev.knative.apiserver.resource.delete\" },\n { \"type\": \"dev.knative.apiserver.resource.update\" },\n { \"type\": \"dev.knative.apiserver.ref.add\" },\n { \"type\": \"dev.knative.apiserver.ref.delete\" },\n { \"type\": \"dev.knative.apiserver.ref.update\" }\n]\n"},"creationTimestamp":null,"labels":{"duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"apiserversources.sources.knative.dev"},"spec":{"additionalPrinterColumns":[{"JSONPath":".status.conditions[?(@.type==\"Ready\")].status","name":"Ready","type":"string"},{"JSONPath":".status.conditions[?(@.type=='Ready')].reason","name":"Reason","type":"string"},{"JSONPath":".status.sinkUri","name":"Sink","type":"string"},{"JSONPath":".metadata.creationTimestamp","name":"Age","type":"date"}],"group":"sources.knative.dev","names":{"categories":["all","knative","eventing","sources"],"kind":"ApiServerSource","plural":"apiserversources"},"scope":"Namespaced","subresources":{"status":{}},"validation":{"openAPIV3Schema":{"properties":{"spec":{"properties":{"mode":{"description":"Mode controls the content of the event payload. One of: 'Ref' (only references of resources), 'Resource' (full resource).","type":"string"},"resources":{"items":{"properties":{"apiVersion":{"description":"API version of the objects to watch.","type":"string"},"controller":{"description":"If true, emits the managing controller ref. Only supported for mode=Ref. More info: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/","type":"boolean"},"controllerSelector":{"description":"Controller selector restricting the list of objects to watch by a controlling owner reference of the specified kind.","properties":{"apiVersion":{"description":"API version of the controlling owner reference.","type":"string"},"kind":{"description":"Kind of the controlling owner reference.","type":"string"}},"type":"object"},"kind":{"description":"Kind of the objects to watch.","type":"string"},"labelSelector":{"description":"Label selector restricting this list of objects to watch by their labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/","type":"object"}}},"type":"array"},"serviceAccountName":{"description":"name of the ServiceAccount to use to run the receive adapter. More info: https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/.","type":"string"},"sink":{"anyOf":[{"description":"the destination that should receive events.","properties":{"ref":{"description":"a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"},"uri":{"description":"the target URI. If ref is provided, this must be relative URI reference.","type":"string"}},"type":"object"},{"description":"DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"}]}},"required":["resources","sink"],"type":"object"},"status":{"properties":{"conditions":{"items":{"properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"reason":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"required":["type","status"],"type":"object"},"type":"array"},"sinkUri":{"type":"string"}},"type":"object"}}}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
registry.knative.dev/eventTypes: |
[
{ "type": "dev.knative.apiserver.resource.add" },
{ "type": "dev.knative.apiserver.resource.delete" },
{ "type": "dev.knative.apiserver.resource.update" },
{ "type": "dev.knative.apiserver.ref.add" },
{ "type": "dev.knative.apiserver.ref.delete" },
{ "type": "dev.knative.apiserver.ref.update" }
]
creationTimestamp: "2020-01-15T18:02:27Z"
generation: 1
labels:
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: apiserversources.sources.knative.dev
resourceVersion: "2980679"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/apiserversources.sources.knative.dev
uid: 18adde3e-010e-4f06-825a-015e02091037
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- JSONPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
- JSONPath: .status.sinkUri
name: Sink
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
conversion:
strategy: None
group: sources.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
kind: ApiServerSource
listKind: ApiServerSourceList
plural: apiserversources
singular: apiserversource
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
spec:
properties:
mode:
description: 'Mode controls the content of the event payload. One
of: ''Ref'' (only references of resources), ''Resource'' (full resource).'
type: string
resources:
items:
properties:
apiVersion:
description: API version of the objects to watch.
type: string
controller:
description: 'If true, emits the managing controller ref. Only
supported for mode=Ref. More info: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/'
type: boolean
controllerSelector:
description: Controller selector restricting the list of objects
to watch by a controlling owner reference of the specified
kind.
properties:
apiVersion:
description: API version of the controlling owner reference.
type: string
kind:
description: Kind of the controlling owner reference.
type: string
type: object
kind:
description: Kind of the objects to watch.
type: string
labelSelector:
description: 'Label selector restricting this list of objects
to watch by their labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/'
type: object
type: array
serviceAccountName:
description: 'name of the ServiceAccount to use to run the receive
adapter. More info: https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/.'
type: string
sink:
anyOf:
- description: the destination that should receive events.
properties:
ref:
description: a reference to a Kubernetes object from which to
retrieve the target URI.
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
uri:
description: the target URI. If ref is provided, this must be
relative URI reference.
type: string
type: object
- description: 'DEPRECATED: a reference to a Kubernetes object from
which to retrieve the target URI.'
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
required:
- resources
- sink
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
severity:
type: string
status:
type: string
type:
type: string
required:
- type
- status
type: object
type: array
sinkUri:
type: string
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
kind: ApiServerSource
listKind: ApiServerSourceList
plural: apiserversources
singular: apiserversource
conditions:
- lastTransitionTime: "2020-01-15T18:02:27Z"
message: '[spec.validation.openAPIV3Schema.properties[spec].properties[resources].items.type:
Required value: must not be empty for specified array items, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].type:
Required value: must not be empty for specified object fields, spec.validation.openAPIV3Schema.type:
Required value: must not be empty at the root]'
reason: Violations
status: "True"
type: NonStructuralSchema
- lastTransitionTime: "2020-01-15T18:02:27Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{},"labels":{"duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"containersources.sources.eventing.knative.dev"},"spec":{"group":"sources.eventing.knative.dev","names":{"categories":["all","knative","eventing","sources"],"kind":"ContainerSource","plural":"containersources"},"scope":"Namespaced","subresources":{"status":{}},"validation":{"openAPIV3Schema":{"properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"type":"object"},"spec":{"properties":{"args":{"items":{"type":"string"},"type":"array"},"env":{"items":{"type":"object"},"type":"array"},"image":{"minLength":1,"type":"string"},"serviceAccountName":{"type":"string"},"sink":{"anyOf":[{"description":"the destination that should receive events.","properties":{"ref":{"description":"a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"},"uri":{"description":"the target URI. If ref is provided, this must be relative URI reference.","type":"string"}},"type":"object"},{"description":"DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"}]},"template":{"type":"object"}},"type":"object"},"status":{"properties":{"conditions":{"items":{"properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"reason":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"required":["type","status"],"type":"object"},"type":"array"},"sinkUri":{"type":"string"}},"type":"object"}}}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
creationTimestamp: "2020-01-07T21:49:37Z"
generation: 1
labels:
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: containersources.sources.eventing.knative.dev
resourceVersion: "63201"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/containersources.sources.eventing.knative.dev
uid: b3cf0c99-29ad-4288-aa99-00f604971d56
spec:
conversion:
strategy: None
group: sources.eventing.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
kind: ContainerSource
listKind: ContainerSourceList
plural: containersources
singular: containersource
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
args:
items:
type: string
type: array
env:
items:
type: object
type: array
image:
minLength: 1
type: string
serviceAccountName:
type: string
sink:
anyOf:
- description: the destination that should receive events.
properties:
ref:
description: a reference to a Kubernetes object from which to
retrieve the target URI.
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
uri:
description: the target URI. If ref is provided, this must be
relative URI reference.
type: string
type: object
- description: 'DEPRECATED: a reference to a Kubernetes object from
which to retrieve the target URI.'
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
template:
type: object
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
severity:
type: string
status:
type: string
type:
type: string
required:
- type
- status
type: object
type: array
sinkUri:
type: string
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
kind: ContainerSource
listKind: ContainerSourceList
plural: containersources
singular: containersource
conditions:
- lastTransitionTime: "2020-01-07T21:49:37Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
- lastTransitionTime: "2020-01-07T21:49:37Z"
message: '[spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].type:
Required value: must not be empty for specified object fields, spec.validation.openAPIV3Schema.type:
Required value: must not be empty at the root]'
reason: Violations
status: "True"
type: NonStructuralSchema
storedVersions:
- v1alpha1
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{"registry.knative.dev/eventTypes":"[\n { \"type\": \"dev.knative.cronjob.event\" }\n]\n"},"labels":{"duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"cronjobsources.sources.eventing.knative.dev"},"spec":{"additionalPrinterColumns":[{"JSONPath":".status.conditions[?(@.type==\"Ready\")].status","name":"Ready","type":"string"},{"JSONPath":".metadata.creationTimestamp","name":"Age","type":"date"}],"group":"sources.eventing.knative.dev","names":{"categories":["all","knative","eventing","sources"],"kind":"CronJobSource","plural":"cronjobsources"},"scope":"Namespaced","subresources":{"status":{}},"validation":{"openAPIV3Schema":{"properties":{"spec":{"properties":{"data":{"type":"string"},"resources":{"properties":{"limits":{"properties":{"cpu":{"type":"string"},"memory":{"type":"string"}},"type":"object"},"requests":{"properties":{"cpu":{"type":"string"},"memory":{"type":"string"}},"type":"object"}},"type":"object"},"schedule":{"type":"string"},"serviceAccountName":{"type":"string"},"sink":{"anyOf":[{"description":"the destination that should receive events.","properties":{"ref":{"description":"a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"},"uri":{"description":"the target URI. If ref is provided, this must be relative URI reference.","type":"string"}},"type":"object"},{"description":"DEPRECATED: a reference to a Kubernetes object from which to retrieve the target URI.","properties":{"apiVersion":{"minLength":1,"type":"string"},"kind":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"}},"required":["apiVersion","kind","name"],"type":"object"}]}},"required":["schedule"],"type":"object"},"status":{"properties":{"conditions":{"items":{"properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"reason":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"required":["type","status"],"type":"object"},"type":"array"},"sinkUri":{"type":"string"}},"type":"object"}}}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
registry.knative.dev/eventTypes: |
[
{ "type": "dev.knative.cronjob.event" }
]
creationTimestamp: "2020-01-07T21:49:38Z"
generation: 1
labels:
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: cronjobsources.sources.eventing.knative.dev
resourceVersion: "63207"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/cronjobsources.sources.eventing.knative.dev
uid: fc482ade-bcc8-4a3b-8c21-2eea422b4550
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
conversion:
strategy: None
group: sources.eventing.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
kind: CronJobSource
listKind: CronJobSourceList
plural: cronjobsources
singular: cronjobsource
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
spec:
properties:
data:
type: string
resources:
properties:
limits:
properties:
cpu:
type: string
memory:
type: string
type: object
requests:
properties:
cpu:
type: string
memory:
type: string
type: object
type: object
schedule:
type: string
serviceAccountName:
type: string
sink:
anyOf:
- description: the destination that should receive events.
properties:
ref:
description: a reference to a Kubernetes object from which to
retrieve the target URI.
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
uri:
description: the target URI. If ref is provided, this must be
relative URI reference.
type: string
type: object
- description: 'DEPRECATED: a reference to a Kubernetes object from
which to retrieve the target URI.'
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
required:
- apiVersion
- kind
- name
type: object
required:
- schedule
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
severity:
type: string
status:
type: string
type:
type: string
required:
- type
- status
type: object
type: array
sinkUri:
type: string
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
kind: CronJobSource
listKind: CronJobSourceList
plural: cronjobsources
singular: cronjobsource
conditions:
- lastTransitionTime: "2020-01-07T21:49:38Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
- lastTransitionTime: "2020-01-07T21:49:38Z"
message: '[spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[ref].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].properties[uri].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[0].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].description:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[apiVersion].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[kind].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].properties[name].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].anyOf[1].type:
Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[sink].type:
Required value: must not be empty for specified object fields, spec.validation.openAPIV3Schema.type:
Required value: must not be empty at the root]'
reason: Violations
status: "True"
type: NonStructuralSchema
storedVersions:
- v1alpha1
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{},"labels":{"duck.knative.dev/binding":"true","duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"sinkbindings.sources.eventing.knative.dev"},"spec":{"additionalPrinterColumns":[{"JSONPath":".status.conditions[?(@.type=='Ready')].status","name":"Ready","type":"string"},{"JSONPath":".status.conditions[?(@.type=='Ready')].reason","name":"Reason","type":"string"}],"group":"sources.eventing.knative.dev","names":{"categories":["all","knative","eventing","sources","bindings"],"kind":"SinkBinding","plural":"sinkbindings"},"scope":"Namespaced","subresources":{"status":{}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
creationTimestamp: "2020-01-07T21:49:38Z"
generation: 1
labels:
duck.knative.dev/binding: "true"
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: sinkbindings.sources.eventing.knative.dev
resourceVersion: "63212"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/sinkbindings.sources.eventing.knative.dev
uid: c4051fd6-47cc-40f9-8ff2-448a2b200d87
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- JSONPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
conversion:
strategy: None
group: sources.eventing.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
- bindings
kind: SinkBinding
listKind: SinkBindingList
plural: sinkbindings
singular: sinkbinding
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
- bindings
kind: SinkBinding
listKind: SinkBindingList
plural: sinkbindings
singular: sinkbinding
conditions:
- lastTransitionTime: "2020-01-07T21:49:38Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{},"labels":{"duck.knative.dev/binding":"true","duck.knative.dev/source":"true","eventing.knative.dev/release":"devel","eventing.knative.dev/source":"true","knative.dev/crd-install":"true"},"name":"sinkbindings.sources.knative.dev"},"spec":{"additionalPrinterColumns":[{"JSONPath":".status.conditions[?(@.type=='Ready')].status","name":"Ready","type":"string"},{"JSONPath":".status.conditions[?(@.type=='Ready')].reason","name":"Reason","type":"string"},{"JSONPath":".status.sinkUri","name":"Sink","type":"string"},{"JSONPath":".metadata.creationTimestamp","name":"Age","type":"date"}],"group":"sources.knative.dev","names":{"categories":["all","knative","eventing","sources","bindings"],"kind":"SinkBinding","plural":"sinkbindings"},"scope":"Namespaced","subresources":{"status":{}},"versions":[{"name":"v1alpha1","served":true,"storage":true}]}}
creationTimestamp: "2020-01-15T18:02:28Z"
generation: 1
labels:
duck.knative.dev/binding: "true"
duck.knative.dev/source: "true"
eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: sinkbindings.sources.knative.dev
resourceVersion: "2980692"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/sinkbindings.sources.knative.dev
uid: ad38fc5a-85aa-443a-8587-8a121ff63684
spec:
additionalPrinterColumns:
- JSONPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- JSONPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
- JSONPath: .status.sinkUri
name: Sink
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
conversion:
strategy: None
group: sources.knative.dev
names:
categories:
- all
- knative
- eventing
- sources
- bindings
kind: SinkBinding
listKind: SinkBindingList
plural: sinkbindings
singular: sinkbinding
preserveUnknownFields: true
scope: Namespaced
subresources:
status: {}
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
categories:
- all
- knative
- eventing
- sources
- bindings
kind: SinkBinding
listKind: SinkBindingList
plural: sinkbindings
singular: sinkbinding
conditions:
- lastTransitionTime: "2020-01-15T18:02:28Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment