From 8a2d63ef66d3b7ebfc7b65b9059ba0a7297fe17c Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 14 Nov 2019 13:24:30 -0500 Subject: [PATCH] Replace the manifest YAML files with one single manifest YAML file (#35) This PR consolidates all the manifest files of eventing into one single manifest file. --- .../kodata/knative-eventing/0.10.0-imc.yaml | 387 --- .../{0.10.0.yaml => 0.10.1.yaml} | 2374 ++++++++++------- 2 files changed, 1383 insertions(+), 1378 deletions(-) delete mode 100644 cmd/manager/kodata/knative-eventing/0.10.0-imc.yaml rename cmd/manager/kodata/knative-eventing/{0.10.0.yaml => 0.10.1.yaml} (50%) diff --git a/cmd/manager/kodata/knative-eventing/0.10.0-imc.yaml b/cmd/manager/kodata/knative-eventing/0.10.0-imc.yaml deleted file mode 100644 index 6866308a..00000000 --- a/cmd/manager/kodata/knative-eventing/0.10.0-imc.yaml +++ /dev/null @@ -1,387 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" - name: imc-addressable-resolver -rules: -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels - - inmemorychannels/status - verbs: - - get - - list - - watch - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - duck.knative.dev/channelable: "true" - eventing.knative.dev/release: "v0.10.0" - name: imc-channelable-manipulator -rules: -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels - - inmemorychannels/status - verbs: - - create - - get - - list - - watch - - update - - patch - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-controller -rules: -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels - - inmemorychannels/status - verbs: - - get - - list - - watch - - update -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels/finalizers - verbs: - - update -- apiGroups: - - "" - resources: - - services - verbs: - - get - - list - - watch - - create - - update - - patch -- apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - list - - watch -- apiGroups: - - apps - resources: - - deployments - - deployments/status - verbs: - - get - - list - - watch -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-dispatcher -rules: -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels - - inmemorychannels/status - verbs: - - get - - list - - watch -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - messaging.knative.dev - resources: - - inmemorychannels/status - verbs: - - update - ---- -apiVersion: v1 -kind: Service -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: dispatcher - name: imc-dispatcher - namespace: knative-eventing -spec: - ports: - - port: 80 - protocol: TCP - targetPort: 8080 - selector: - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: dispatcher - ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-controller - namespace: knative-eventing ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-dispatcher - namespace: knative-eventing - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-controller -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: imc-controller -subjects: -- kind: ServiceAccount - name: imc-controller - namespace: knative-eventing ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-dispatcher -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: imc-dispatcher -subjects: -- kind: ServiceAccount - name: imc-dispatcher - namespace: knative-eventing - ---- -apiVersion: apiextensions.k8s.io/v1beta1 -kind: CustomResourceDefinition -metadata: - labels: - duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" - knative.dev/crd-install: "true" - messaging.knative.dev/subscribable: "true" - name: inmemorychannels.messaging.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.address.url - name: URL - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date - group: messaging.knative.dev - names: - categories: - - all - - knative - - messaging - - channel - kind: InMemoryChannel - plural: inmemorychannels - shortNames: - - imc - singular: inmemorychannel - scope: Namespaced - subresources: - status: {} - validation: - openAPIV3Schema: - properties: - spec: - properties: - subscribable: - properties: - subscribers: - items: - properties: - ref: - properties: - apiVersion: - type: string - kind: - type: string - name: - minLength: 1 - type: string - namespace: - minLength: 1 - type: string - uid: - minLength: 1 - type: string - required: - - namespace - - name - - uid - type: object - replyURI: - minLength: 1 - type: string - subscriberURI: - minLength: 1 - type: string - uid: - minLength: 1 - type: string - required: - - uid - type: array - type: object - versions: - - name: v1alpha1 - served: true - storage: true - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-controller - namespace: knative-eventing -spec: - replicas: 1 - selector: - matchLabels: - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: controller - template: - metadata: - labels: - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: controller - spec: - containers: - - env: - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/inmemorychannel-controller - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - image: gcr.io/knative-releases/knative.dev/eventing/cmd/in_memory/channel_controller@sha256:b07cb2a452a348643a7e806965b90af05d2a89f99e98ae3285179dee3e7cf6cf - name: controller - ports: - - containerPort: 9090 - name: metrics - volumeMounts: - - mountPath: /etc/config-logging - name: config-logging - serviceAccountName: imc-controller - volumes: - - configMap: - name: config-logging - name: config-logging - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - eventing.knative.dev/release: "v0.10.0" - name: imc-dispatcher - namespace: knative-eventing -spec: - replicas: 1 - selector: - matchLabels: - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: dispatcher - template: - metadata: - labels: - messaging.knative.dev/channel: in-memory-channel - messaging.knative.dev/role: dispatcher - spec: - containers: - - env: - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/inmemorychannel-dispatcher - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - image: gcr.io/knative-releases/knative.dev/eventing/cmd/in_memory/channel_dispatcher@sha256:7675ebbcb349a6362520d8210f25305d9863ff8a03668bb6b562322df9a47c18 - name: dispatcher - ports: - - containerPort: 9090 - name: metrics - volumeMounts: - - mountPath: /etc/config-logging - name: config-logging - serviceAccountName: imc-dispatcher - volumes: - - configMap: - name: config-logging - name: config-logging - ---- diff --git a/cmd/manager/kodata/knative-eventing/0.10.0.yaml b/cmd/manager/kodata/knative-eventing/0.10.1.yaml similarity index 50% rename from cmd/manager/kodata/knative-eventing/0.10.0.yaml rename to cmd/manager/kodata/knative-eventing/0.10.1.yaml index a6a03d0e..6075e32c 100644 --- a/cmd/manager/kodata/knative-eventing/0.10.0.yaml +++ b/cmd/manager/kodata/knative-eventing/0.10.1.yaml @@ -1,20 +1,23 @@ + +--- +# eventing.yaml apiVersion: v1 kind: Namespace metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: knative-eventing --- aggregationRule: clusterRoleSelectors: - - matchLabels: - duck.knative.dev/addressable: "true" + - matchLabels: + duck.knative.dev/addressable: "true" apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: addressable-resolver rules: [] --- @@ -23,162 +26,162 @@ kind: ClusterRole metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: service-addressable-resolver rules: -- apiGroups: - - "" - resources: - - services - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - services + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: serving-addressable-resolver rules: -- apiGroups: - - serving.knative.dev - resources: - - routes - - routes/status - - services - - services/status - verbs: - - get - - list - - watch + - apiGroups: + - serving.knative.dev + resources: + - routes + - routes/status + - services + - services/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: channel-addressable-resolver rules: -- apiGroups: - - messaging.knative.dev - resources: - - channels - - channels/status - verbs: - - get - - list - - watch + - apiGroups: + - messaging.knative.dev + resources: + - channels + - channels/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: broker-addressable-resolver rules: -- apiGroups: - - eventing.knative.dev - resources: - - brokers - - brokers/status - verbs: - - get - - list - - watch + - apiGroups: + - eventing.knative.dev + resources: + - brokers + - brokers/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: messaging-addressable-resolver rules: -- apiGroups: - - messaging.knative.dev - resources: - - sequences - - sequences/status - - parallels - - parallels/status - verbs: - - get - - list - - watch + - apiGroups: + - messaging.knative.dev + resources: + - sequences + - sequences/status + - parallels + - parallels/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-broker-filter rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - eventing.knative.dev - resources: - - triggers - - triggers/status - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - eventing.knative.dev + resources: + - triggers + - triggers/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-broker-ingress rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-config-reader rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch --- aggregationRule: clusterRoleSelectors: - - matchLabels: - duck.knative.dev/channelable: "true" + - matchLabels: + duck.knative.dev/channelable: "true" apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: channelable-manipulator rules: [] @@ -187,201 +190,201 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" rbac.authorization.k8s.io/aggregate-to-admin: "true" name: knative-eventing-namespaced-admin rules: -- apiGroups: - - eventing.knative.dev - resources: - - '*' - verbs: - - '*' + - apiGroups: + - eventing.knative.dev + resources: + - '*' + verbs: + - '*' --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" rbac.authorization.k8s.io/aggregate-to-admin: "true" name: knative-messaging-namespaced-admin rules: -- apiGroups: - - messaging.knative.dev - resources: - - '*' - verbs: - - '*' + - apiGroups: + - messaging.knative.dev + resources: + - '*' + verbs: + - '*' --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" rbac.authorization.k8s.io/aggregate-to-admin: "true" name: knative-eventing-sources-namespaced-admin rules: -- apiGroups: - - sources.eventing.knative.dev - resources: - - '*' - verbs: - - '*' + - apiGroups: + - sources.eventing.knative.dev + resources: + - '*' + verbs: + - '*' --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" rbac.authorization.k8s.io/aggregate-to-edit: "true" name: knative-eventing-namespaced-edit rules: -- apiGroups: - - eventing.knative.dev - - messaging.knative.dev - - sources.eventing.knative.dev - resources: - - '*' - verbs: - - create - - update - - patch - - delete + - apiGroups: + - eventing.knative.dev + - messaging.knative.dev + - sources.eventing.knative.dev + resources: + - '*' + verbs: + - create + - update + - patch + - delete --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" rbac.authorization.k8s.io/aggregate-to-view: "true" name: knative-eventing-namespaced-view rules: -- apiGroups: - - eventing.knative.dev - - messaging.knative.dev - - sources.eventing.knative.dev - resources: - - '*' - verbs: - - get - - list - - watch + - apiGroups: + - eventing.knative.dev + - messaging.knative.dev + - sources.eventing.knative.dev + resources: + - '*' + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: knative-eventing-controller rules: -- apiGroups: - - "" - resources: - - namespaces - - secrets - - configmaps - - services - - events - - serviceaccounts - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - rbac.authorization.k8s.io - resources: - - rolebindings - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - eventing.knative.dev - resources: - - brokers - - brokers/status - - triggers - - triggers/status - - eventtypes - - eventtypes/status - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - eventing.knative.dev - resources: - - brokers/finalizers - - triggers/finalizers - verbs: - - update -- apiGroups: - - messaging.knative.dev - resources: - - sequences - - sequences/status - - channels - - channels/status - - parallels - - parallels/status - - subscriptions - - subscriptions/status - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - messaging.knative.dev - resources: - - sequences/finalizers - - parallels/finalizers - - channels/finalizers - verbs: - - update -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - namespaces + - secrets + - configmaps + - services + - events + - serviceaccounts + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - rolebindings + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - eventing.knative.dev + resources: + - brokers + - brokers/status + - triggers + - triggers/status + - eventtypes + - eventtypes/status + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - eventing.knative.dev + resources: + - brokers/finalizers + - triggers/finalizers + verbs: + - update + - apiGroups: + - messaging.knative.dev + resources: + - sequences + - sequences/status + - channels + - channels/status + - parallels + - parallels/status + - subscriptions + - subscriptions/status + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - messaging.knative.dev + resources: + - sequences/finalizers + - parallels/finalizers + - channels/finalizers + verbs: + - update + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - list + - watch --- apiVersion: v1 kind: ServiceAccount metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller namespace: knative-eventing --- @@ -389,7 +392,7 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-webhook namespace: knative-eventing --- @@ -397,20 +400,20 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-source-controller namespace: knative-eventing --- aggregationRule: clusterRoleSelectors: - - matchLabels: - duck.knative.dev/source: "true" + - matchLabels: + duck.knative.dev/source: "true" apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: source-observer rules: [] --- @@ -419,281 +422,281 @@ kind: ClusterRole metadata: labels: duck.knative.dev/source: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-sources-source-observer rules: -- apiGroups: - - sources.eventing.knative.dev - resources: - - containersources - - cronjobsources - - apiserversources - verbs: - - get - - list - - watch + - apiGroups: + - sources.eventing.knative.dev + resources: + - containersources + - cronjobsources + - apiserversources + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: knative-eventing-source-controller rules: -- apiGroups: - - "" - resources: - - secrets - - configmaps - - services - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - sources.eventing.knative.dev - resources: - - cronjobsources - - cronjobsources/status - - cronjobsources/finalizers - - containersources - - containersources/status - - containersources/finalizers - - apiserversources - - apiserversources/status - - apiserversources/finalizers - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - serving.knative.dev - resources: - - services - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - eventing.knative.dev - resources: - - eventtypes - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - get - - list - - create - - update - - delete - - patch - - watch + - apiGroups: + - "" + resources: + - secrets + - configmaps + - services + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - sources.eventing.knative.dev + resources: + - cronjobsources + - cronjobsources/status + - cronjobsources/finalizers + - containersources + - containersources/status + - containersources/finalizers + - apiserversources + - apiserversources/status + - apiserversources/finalizers + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - serving.knative.dev + resources: + - services + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - eventing.knative.dev + resources: + - eventtypes + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - "" + resources: + - events + verbs: + - get + - list + - create + - update + - delete + - patch + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: knative-eventing-webhook rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - create -- apiGroups: - - apps - resources: - - deployments - verbs: - - get -- apiGroups: - - apps - resources: - - deployments/finalizers - verbs: - - update -- apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - verbs: - - get - - list - - create - - update - - delete - - patch - - watch -- apiGroups: - - eventing.knative.dev - resources: - - brokers - - brokers/status - - channels - - channels/status - - subscriptions - - subscriptions/status - - triggers - - triggers/status - - eventtypes - - eventtypes/status - verbs: - - get - - list - - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - secrets + verbs: + - get + - create + - apiGroups: + - apps + resources: + - deployments + verbs: + - get + - apiGroups: + - apps + resources: + - deployments/finalizers + verbs: + - update + - apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - eventing.knative.dev + resources: + - brokers + - brokers/status + - channels + - channels/status + - subscriptions + - subscriptions/status + - triggers + - triggers/status + - eventtypes + - eventtypes/status + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: knative-eventing-controller subjects: -- kind: ServiceAccount - name: eventing-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-controller + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller-resolver roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: addressable-resolver subjects: -- kind: ServiceAccount - name: eventing-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-controller + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller-source-observer roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: source-observer subjects: -- kind: ServiceAccount - name: eventing-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-controller + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller-manipulator roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: channelable-manipulator subjects: -- kind: ServiceAccount - name: eventing-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-controller + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-webhook roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: knative-eventing-webhook subjects: -- kind: ServiceAccount - name: eventing-webhook - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-webhook + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-source-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: knative-eventing-source-controller subjects: -- kind: ServiceAccount - name: eventing-source-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-source-controller + namespace: knative-eventing --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-source-controller-resolver roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: addressable-resolver subjects: -- kind: ServiceAccount - name: eventing-source-controller - namespace: knative-eventing + - kind: ServiceAccount + name: eventing-source-controller + namespace: knative-eventing --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -712,25 +715,25 @@ metadata: creationTimestamp: null labels: duck.knative.dev/source: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" 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 + - 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 + - all + - knative + - eventing + - sources kind: ApiServerSource plural: apiserversources scope: Namespaced @@ -780,51 +783,51 @@ spec: 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: + - 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 - 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 + type: object required: - - resources - - sink + - resources + - sink type: object status: properties: @@ -844,17 +847,17 @@ spec: type: type: string required: - - type - - status + - type + - status type: object type: array sinkUri: type: string type: object versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -862,29 +865,29 @@ kind: CustomResourceDefinition metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: brokers.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 - - JSONPath: .status.address.url - name: URL - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .status.address.url + name: URL + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: eventing.knative.dev names: categories: - - all - - knative - - eventing + - all + - knative + - eventing kind: Broker plural: brokers singular: broker @@ -907,13 +910,13 @@ spec: spec: type: object required: - - apiVersion - - kind + - apiVersion + - kind type: object versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -921,35 +924,35 @@ kind: CustomResourceDefinition metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" messaging.knative.dev/subscribable: "true" name: channels.messaging.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.address.url - name: URL - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .status.address.url + name: URL + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: messaging.knative.dev names: categories: - - all - - knative - - messaging - - channel + - all + - knative + - messaging + - channel kind: Channel plural: channels shortNames: - - ch + - ch singular: channel scope: Namespaced subresources: @@ -970,8 +973,8 @@ spec: spec: type: object required: - - apiVersion - - kind + - apiVersion + - kind type: object subscribable: properties: @@ -994,9 +997,9 @@ spec: minLength: 1 type: string required: - - namespace - - name - - uid + - namespace + - name + - uid type: object replyURI: minLength: 1 @@ -1008,13 +1011,13 @@ spec: minLength: 1 type: string required: - - uid + - uid type: array type: object versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -1022,7 +1025,7 @@ kind: CustomResourceDefinition metadata: labels: duck.knative.dev/source: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" eventing.knative.dev/source: "true" knative.dev/crd-install: "true" name: containersources.sources.eventing.knative.dev @@ -1030,10 +1033,10 @@ spec: group: sources.eventing.knative.dev names: categories: - - all - - knative - - eventing - - sources + - all + - knative + - eventing + - sources kind: ContainerSource plural: containersources scope: Namespaced @@ -1065,48 +1068,48 @@ spec: 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: + - 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 - 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 + type: object template: type: object type: object @@ -1128,17 +1131,17 @@ spec: type: type: string required: - - type - - status + - type + - status type: object type: array sinkUri: type: string type: object versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -1151,25 +1154,25 @@ metadata: ] labels: duck.knative.dev/source: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" 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 + - 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 + - all + - knative + - eventing + - sources kind: CronJobSource plural: cronjobsources scope: Namespaced @@ -1205,50 +1208,50 @@ spec: 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: + - 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 - 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 + type: object required: - - schedule + - schedule type: object status: properties: @@ -1268,55 +1271,55 @@ spec: type: type: string required: - - type - - status + - type + - status type: object type: array sinkUri: type: string type: object versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: eventtypes.eventing.knative.dev spec: additionalPrinterColumns: - - JSONPath: .spec.type - name: Type - type: string - - JSONPath: .spec.source - name: Source - type: string - - JSONPath: .spec.schema - name: Schema - type: string - - JSONPath: .spec.broker - name: Broker - type: string - - JSONPath: .spec.description - name: Description - type: string - - JSONPath: .status.conditions[?(@.type=="Ready")].status - name: Ready - type: string - - JSONPath: .status.conditions[?(@.type=="Ready")].reason - name: Reason - type: string + - JSONPath: .spec.type + name: Type + type: string + - JSONPath: .spec.source + name: Source + type: string + - JSONPath: .spec.schema + name: Schema + type: string + - JSONPath: .spec.broker + name: Broker + type: string + - JSONPath: .spec.description + name: Description + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string group: eventing.knative.dev names: categories: - - all - - knative - - eventing + - all + - knative + - eventing kind: EventType plural: eventtypes singular: eventtype @@ -1342,13 +1345,13 @@ spec: minLength: 1 type: string required: - - type - - source - - broker + - type + - source + - broker versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 @@ -1356,30 +1359,30 @@ kind: CustomResourceDefinition metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: parallels.messaging.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.address.url - name: URL - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .status.address.url + name: URL + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: messaging.knative.dev names: categories: - - all - - knative - - eventing - - messaging + - all + - knative + - eventing + - messaging kind: Parallel plural: parallels singular: parallel @@ -1413,9 +1416,9 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name + - apiVersion + - kind + - name type: object uri: description: the target URI or, if ref is provided, a relative @@ -1425,47 +1428,47 @@ spec: type: object reply: anyOf: - - properties: - uri: - description: the target URI or, if ref is provided, a relative - URI reference that will be combined with ref to produce - a target URI. - minLength: 1 - type: string - type: object - - description: a reference to a Kubernetes object from which to - retrieve the target URI. - properties: - ref: - properties: - apiVersion: - minLength: 1 - type: string - kind: - minLength: 1 - type: string - name: - minLength: 1 - type: string - required: - - apiVersion - - kind - - name - type: object - type: object - - 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 - type: object + - properties: + uri: + description: the target URI or, if ref is provided, a relative + URI reference that will be combined with ref to produce + a target URI. + minLength: 1 + type: string + type: object + - description: a reference to a Kubernetes object from which to + retrieve the target URI. + properties: + ref: + properties: + apiVersion: + minLength: 1 + type: string + kind: + minLength: 1 + type: string + name: + minLength: 1 + type: string + required: + - apiVersion + - kind + - name + type: object + type: object + - 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 + type: object description: a reference to where the result of the subscriber of this branch gets sent to. If not specified, the result is sent to the Parallel reply. @@ -1486,18 +1489,18 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name - type: object - uri: + - apiVersion + - kind + - name + type: object + uri: description: the target URI or, if ref is provided, a relative URI reference that will be combined with ref to produce a target URI. type: string type: object required: - - subscriber + - subscriber type: object type: array channelTemplate: @@ -1514,58 +1517,58 @@ spec: spec: type: object required: - - apiVersion - - kind + - apiVersion + - kind type: object reply: anyOf: - - properties: - uri: - description: the target URI or, if ref is provided, a relative - URI reference that will be combined with ref to produce a target - URI. - minLength: 1 - type: string - type: object - - description: a reference to a Kubernetes object from which to retrieve - the target URI. - properties: - ref: - properties: - apiVersion: - minLength: 1 - type: string - kind: - minLength: 1 - type: string - name: - minLength: 1 - type: string - required: - - apiVersion - - kind - - name - type: object - type: object - - 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 - type: object + - properties: + uri: + description: the target URI or, if ref is provided, a relative + URI reference that will be combined with ref to produce a target + URI. + minLength: 1 + type: string + type: object + - description: a reference to a Kubernetes object from which to retrieve + the target URI. + properties: + ref: + properties: + apiVersion: + minLength: 1 + type: string + kind: + minLength: 1 + type: string + name: + minLength: 1 + type: string + required: + - apiVersion + - kind + - name + type: object + type: object + - 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 + type: object description: a reference to where the result of a branch subscriber gets sent to when the branch does not have a reply. type: object required: - - branches - - channelTemplate + - branches + - channelTemplate version: v1alpha1 --- @@ -1574,30 +1577,30 @@ kind: CustomResourceDefinition metadata: labels: duck.knative.dev/addressable: "true" - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: sequences.messaging.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.address.url - name: URL - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .status.address.url + name: URL + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: messaging.knative.dev names: categories: - - all - - knative - - eventing - - messaging + - all + - knative + - eventing + - messaging kind: Sequence plural: sequences singular: sequence @@ -1623,52 +1626,52 @@ spec: spec: type: object required: - - apiVersion - - kind + - apiVersion + - kind type: object reply: anyOf: - - properties: - uri: - description: the target URI or, if ref is provided, a relative - URI reference that will be combined with ref to produce a target - URI. - minLength: 1 - type: string - type: object - - description: a reference to a Kubernetes object from which to retrieve - the target URI. - properties: - ref: - properties: - apiVersion: - minLength: 1 - type: string - kind: - minLength: 1 - type: string - name: - minLength: 1 - type: string - required: - - apiVersion - - kind - - name - type: object - type: object - - 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 - type: object + - properties: + uri: + description: the target URI or, if ref is provided, a relative + URI reference that will be combined with ref to produce a target + URI. + minLength: 1 + type: string + type: object + - description: a reference to a Kubernetes object from which to retrieve + the target URI. + properties: + ref: + properties: + apiVersion: + minLength: 1 + type: string + kind: + minLength: 1 + type: string + name: + minLength: 1 + type: string + required: + - apiVersion + - kind + - name + type: object + type: object + - 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 + type: object description: a reference to where the result of the last subscriber gets sent to. steps: @@ -1691,9 +1694,9 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name + - apiVersion + - kind + - name type: object uri: description: the target URI or, if ref is provided, a relative @@ -1703,42 +1706,42 @@ spec: type: object type: array required: - - steps - - channelTemplate + - steps + - channelTemplate versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: subscriptions.messaging.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: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: messaging.knative.dev names: categories: - - all - - knative - - eventing + - all + - knative + - eventing kind: Subscription plural: subscriptions shortNames: - - sub + - sub singular: subscription scope: Namespaced subresources: @@ -1759,9 +1762,9 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name + - apiVersion + - kind + - name type: object reply: description: the destination that (optionally) receive events. @@ -1792,52 +1795,52 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name + - apiVersion + - kind + - name type: object uri: minLength: 1 type: string type: object required: - - channel + - channel versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" knative.dev/crd-install: "true" name: triggers.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 - - JSONPath: .spec.broker - name: Broker - type: string - - JSONPath: .status.subscriberURI - name: Subscriber_URI - type: string - - JSONPath: .metadata.creationTimestamp - name: Age - type: date + - JSONPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - JSONPath: .status.conditions[?(@.type=="Ready")].reason + name: Reason + type: string + - JSONPath: .spec.broker + name: Broker + type: string + - JSONPath: .status.subscriberURI + name: Subscriber_URI + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date group: eventing.knative.dev names: categories: - - all - - knative - - eventing + - all + - knative + - eventing kind: Trigger plural: triggers singular: trigger @@ -1883,9 +1886,9 @@ spec: minLength: 1 type: string required: - - apiVersion - - kind - - name + - apiVersion + - kind + - name type: object uri: description: the target URI or, if ref is provided, a relative URI @@ -1893,11 +1896,11 @@ spec: type: string type: object required: - - subscriber + - subscriber versions: - - name: v1alpha1 - served: true - storage: true + - name: v1alpha1 + served: true + storage: true --- apiVersion: v1 @@ -1920,14 +1923,14 @@ apiVersion: v1 kind: Service metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" role: eventing-webhook name: eventing-webhook namespace: knative-eventing spec: ports: - - port: 443 - targetPort: 8443 + - port: 443 + targetPort: 8443 selector: role: eventing-webhook @@ -1936,7 +1939,7 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-controller namespace: knative-eventing spec: @@ -1950,49 +1953,49 @@ spec: sidecar.istio.io/inject: "false" labels: app: eventing-controller - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" spec: containers: - - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/eventing - - name: BROKER_INGRESS_IMAGE - value: gcr.io/knative-releases/knative.dev/eventing/cmd/broker/ingress@sha256:09e0be131cf80431fb2fdaf06a865cc1f49d6aecf527878ced25af4c70cb4d3c - - name: BROKER_INGRESS_SERVICE_ACCOUNT - value: eventing-broker-ingress - - name: BROKER_FILTER_IMAGE - value: gcr.io/knative-releases/knative.dev/eventing/cmd/broker/filter@sha256:94043bca23a08d26ffd6bdf7111464237d22413023c5ba4338b931a5eab242bd - - name: BROKER_FILTER_SERVICE_ACCOUNT - value: eventing-broker-filter - image: gcr.io/knative-releases/knative.dev/eventing/cmd/controller@sha256:82fdc37bd5fc99d756a7a5e21a14fcaff7ad0a1f09ef2c33197bca9af9b329ba - name: eventing-controller - ports: - - containerPort: 9090 - name: metrics - terminationMessagePolicy: FallbackToLogsOnError - volumeMounts: - - mountPath: /etc/config-logging - name: config-logging + - env: + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: CONFIG_LOGGING_NAME + value: config-logging + - name: CONFIG_OBSERVABILITY_NAME + value: config-observability + - name: METRICS_DOMAIN + value: knative.dev/eventing + - name: BROKER_INGRESS_IMAGE + value: gcr.io/knative-releases/knative.dev/eventing/cmd/broker/ingress@sha256:b66c74e4ec8898ff82a62680411bb620f24c0b578b7e6a1c23d1a0dded718a75 + - name: BROKER_INGRESS_SERVICE_ACCOUNT + value: eventing-broker-ingress + - name: BROKER_FILTER_IMAGE + value: gcr.io/knative-releases/knative.dev/eventing/cmd/broker/filter@sha256:f8108708aa87daf5fcdf397341da7d98515a47d227d6180e487c4dffc7a446d9 + - name: BROKER_FILTER_SERVICE_ACCOUNT + value: eventing-broker-filter + image: gcr.io/knative-releases/knative.dev/eventing/cmd/controller@sha256:6c490d64c77c9bc6c0637a165e998dc45597a6ec4301d6a1e555672d5e346431 + name: eventing-controller + ports: + - containerPort: 9090 + name: metrics + terminationMessagePolicy: FallbackToLogsOnError + volumeMounts: + - mountPath: /etc/config-logging + name: config-logging serviceAccountName: eventing-controller volumes: - - configMap: + - configMap: + name: config-logging name: config-logging - name: config-logging --- apiVersion: apps/v1 kind: Deployment metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: sources-controller namespace: knative-eventing spec: @@ -2006,65 +2009,65 @@ spec: sidecar.istio.io/inject: "false" labels: app: sources-controller - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" spec: containers: - - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/sources - - name: CRONJOB_RA_IMAGE - value: gcr.io/knative-releases/knative.dev/eventing/cmd/cronjob_receive_adapter@sha256:bdf30b32d57e1536fca5e436ce9c074827afd5f6f5eceed4cc0a8ca97096cefa - - name: APISERVER_RA_IMAGE - value: gcr.io/knative-releases/knative.dev/eventing/cmd/apiserver_receive_adapter@sha256:67300996636df61f7271cfaed335b57daaea9496acebb6f8db68b9f81931b2db - image: gcr.io/knative-releases/knative.dev/eventing/cmd/sources_controller@sha256:27f0b025ea16907db2b52cb220894b91cac627c6fbff914fce90ae4d987f1b0b - name: controller - ports: - - containerPort: 9090 - name: metrics - resources: - requests: - cpu: 100m - memory: 100Mi - volumeMounts: - - mountPath: /etc/config-logging - name: config-logging + - env: + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: CONFIG_LOGGING_NAME + value: config-logging + - name: CONFIG_OBSERVABILITY_NAME + value: config-observability + - name: METRICS_DOMAIN + value: knative.dev/sources + - name: CRONJOB_RA_IMAGE + value: gcr.io/knative-releases/knative.dev/eventing/cmd/cronjob_receive_adapter@sha256:9359dc5cc8ad934819d113a3e9305d0b7bad834883961b7842e128d2ef3448bb + - name: APISERVER_RA_IMAGE + value: gcr.io/knative-releases/knative.dev/eventing/cmd/apiserver_receive_adapter@sha256:b300aaa1b9d50f84bf4fc1e99099aad31a451c64e4414bd2d5cb07cf8261d5aa + image: gcr.io/knative-releases/knative.dev/eventing/cmd/sources_controller@sha256:f41b6f89151138ccdcd6a5fceffba60f86c21d9039388dc2673b8986e9214fa5 + name: controller + ports: + - containerPort: 9090 + name: metrics + resources: + requests: + cpu: 100m + memory: 100Mi + volumeMounts: + - mountPath: /etc/config-logging + name: config-logging serviceAccountName: eventing-source-controller volumes: - - configMap: + - configMap: + name: config-logging name: config-logging - name: config-logging --- apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingWebhookConfiguration metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: webhook.eventing.knative.dev webhooks: -- admissionReviewVersions: - - v1beta1 - clientConfig: - service: - name: eventing-webhook - namespace: knative-eventing - failurePolicy: Fail - name: webhook.eventing.knative.dev + - admissionReviewVersions: + - v1beta1 + clientConfig: + service: + name: eventing-webhook + namespace: knative-eventing + failurePolicy: Fail + name: webhook.eventing.knative.dev --- apiVersion: apps/v1 kind: Deployment metadata: labels: - eventing.knative.dev/release: "v0.10.0" + eventing.knative.dev/release: "v0.10.1" name: eventing-webhook namespace: knative-eventing spec: @@ -2082,27 +2085,27 @@ spec: role: eventing-webhook spec: containers: - - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: METRICS_DOMAIN - value: knative.dev/eventing - - name: WEBHOOK_NAME - value: eventing-webhook - - name: REG_DELAY_TIME - value: "10" - image: gcr.io/knative-releases/knative.dev/eventing/cmd/webhook@sha256:fb8c72dc3c2897193a04459e2e05fc56f47228fe37981d7b653e87f1725a54bb - name: eventing-webhook - terminationMessagePolicy: FallbackToLogsOnError + - env: + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: CONFIG_LOGGING_NAME + value: config-logging + - name: METRICS_DOMAIN + value: knative.dev/eventing + - name: WEBHOOK_NAME + value: eventing-webhook + - name: REG_DELAY_TIME + value: "10" + image: gcr.io/knative-releases/knative.dev/eventing/cmd/webhook@sha256:276952687df77ac4f3699b4d9ce171fc424a54a406209425bb4dfe4b435e7f0d + name: eventing-webhook + terminationMessagePolicy: FallbackToLogsOnError serviceAccountName: eventing-webhook volumes: - - configMap: + - configMap: + name: config-logging name: config-logging - name: config-logging --- apiVersion: v1 @@ -2222,3 +2225,392 @@ metadata: namespace: knative-eventing --- +--- +# in-memory-channel.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + duck.knative.dev/addressable: "true" + eventing.knative.dev/release: "v0.10.1" + name: imc-addressable-resolver +rules: + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels + - inmemorychannels/status + verbs: + - get + - list + - watch + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + duck.knative.dev/channelable: "true" + eventing.knative.dev/release: "v0.10.1" + name: imc-channelable-manipulator +rules: + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels + - inmemorychannels/status + verbs: + - create + - get + - list + - watch + - update + - patch + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-controller +rules: + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels + - inmemorychannels/status + verbs: + - get + - list + - watch + - update + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels/finalizers + verbs: + - update + - apiGroups: + - "" + resources: + - services + verbs: + - get + - list + - watch + - create + - update + - patch + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - list + - watch + - apiGroups: + - apps + resources: + - deployments + - deployments/status + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-dispatcher +rules: + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels + - inmemorychannels/status + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - messaging.knative.dev + resources: + - inmemorychannels/status + verbs: + - update + +--- +apiVersion: v1 +kind: Service +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: dispatcher + name: imc-dispatcher + namespace: knative-eventing +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 8080 + selector: + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: dispatcher + +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-controller + namespace: knative-eventing +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-dispatcher + namespace: knative-eventing + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-controller +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: imc-controller +subjects: + - kind: ServiceAccount + name: imc-controller + namespace: knative-eventing +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-dispatcher +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: imc-dispatcher +subjects: + - kind: ServiceAccount + name: imc-dispatcher + namespace: knative-eventing + +--- +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + labels: + duck.knative.dev/addressable: "true" + eventing.knative.dev/release: "v0.10.1" + knative.dev/crd-install: "true" + messaging.knative.dev/subscribable: "true" + name: inmemorychannels.messaging.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.address.url + name: URL + type: string + - JSONPath: .metadata.creationTimestamp + name: Age + type: date + group: messaging.knative.dev + names: + categories: + - all + - knative + - messaging + - channel + kind: InMemoryChannel + plural: inmemorychannels + shortNames: + - imc + singular: inmemorychannel + scope: Namespaced + subresources: + status: {} + validation: + openAPIV3Schema: + properties: + spec: + properties: + subscribable: + properties: + subscribers: + items: + properties: + ref: + properties: + apiVersion: + type: string + kind: + type: string + name: + minLength: 1 + type: string + namespace: + minLength: 1 + type: string + uid: + minLength: 1 + type: string + required: + - namespace + - name + - uid + type: object + replyURI: + minLength: 1 + type: string + subscriberURI: + minLength: 1 + type: string + uid: + minLength: 1 + type: string + required: + - uid + type: array + type: object + versions: + - name: v1alpha1 + served: true + storage: true + +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-controller + namespace: knative-eventing +spec: + replicas: 1 + selector: + matchLabels: + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: controller + template: + metadata: + labels: + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: controller + spec: + containers: + - env: + - name: CONFIG_LOGGING_NAME + value: config-logging + - name: CONFIG_OBSERVABILITY_NAME + value: config-observability + - name: METRICS_DOMAIN + value: knative.dev/inmemorychannel-controller + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + image: gcr.io/knative-releases/knative.dev/eventing/cmd/in_memory/channel_controller@sha256:e36756c906034124f56f47507e5195c9cd8ad40bf5365de1f809e7f11fd5b873 + name: controller + ports: + - containerPort: 9090 + name: metrics + volumeMounts: + - mountPath: /etc/config-logging + name: config-logging + serviceAccountName: imc-controller + volumes: + - configMap: + name: config-logging + name: config-logging + +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + eventing.knative.dev/release: "v0.10.1" + name: imc-dispatcher + namespace: knative-eventing +spec: + replicas: 1 + selector: + matchLabels: + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: dispatcher + template: + metadata: + labels: + messaging.knative.dev/channel: in-memory-channel + messaging.knative.dev/role: dispatcher + spec: + containers: + - env: + - name: CONFIG_LOGGING_NAME + value: config-logging + - name: CONFIG_OBSERVABILITY_NAME + value: config-observability + - name: METRICS_DOMAIN + value: knative.dev/inmemorychannel-dispatcher + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + image: gcr.io/knative-releases/knative.dev/eventing/cmd/in_memory/channel_dispatcher@sha256:de50f470a1a5c8bd928f6083b29a64b1c7c289756700519a90d8a836d6479714 + name: dispatcher + ports: + - containerPort: 9090 + name: metrics + volumeMounts: + - mountPath: /etc/config-logging + name: config-logging + serviceAccountName: imc-dispatcher + volumes: + - configMap: + name: config-logging + name: config-logging + +---