Skip to content

Commit

Permalink
Merge branch 'main' into remove-perf-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierDipi committed Apr 3, 2024
2 parents be92be8 + 8069d71 commit 998a262
Show file tree
Hide file tree
Showing 253 changed files with 11,000 additions and 12,060 deletions.
4 changes: 4 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export PATH="${PATH}:${GOPATH}/bin"
export KO_DOCKER_REPO='gcr.io/my-gcloud-project-id'
```

> :information_source: You can use the command `export KO_DEFAULTPLATFORMS=linux/amd64, arm64` to set the correct architecture according to your local machine.
### Checkout your fork

The Go tools require that you clone the repository to the
Expand Down Expand Up @@ -129,6 +131,8 @@ follow:
KO_FLAGS=--platform="linux/amd64" ./hack/install.sh
```

> :information_source: If you are getting the error `No resources found in cert-manager namespace`, you need to install [cert-manager](https://cert-manager.io/docs/installation/) manually before running the quick full build and install command.
## Starting Eventing Controller

Once you've [setup your development environment](#getting-started), stand up
Expand Down
10 changes: 0 additions & 10 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,27 @@ aliases:
- navidshaikh
- rhuss
- vyasgun
conformance-task-force-leads:
- salaboy
conformance-writers:
- salaboy
docs-reviewers:
- nainaz
- pmbanugo
- retocode
- skonto
- snneji
docs-wg-leads:
- snneji
docs-writers:
- csantanapr
- retocode
- skonto
- snneji
eventing-reviewers:
- Leo6Leo
- aslom
- cali0707
- creydr
eventing-triage:
- lberk
eventing-wg-leads:
- pierDipi
eventing-writers:
- aliok
- cali0707
- creydr
- lberk
- lionelvillard
- matzew
- odacremolbap
Expand Down
126 changes: 126 additions & 0 deletions config/core/resources/eventtype.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,132 @@ metadata:
spec:
group: eventing.knative.dev
versions:
- name: v1beta3
served: false
storage: false
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
description: 'EventType represents a type of event that can be consumed from a resource.'
properties:
spec:
description: 'Spec defines the desired state of the EventType.'
type: object
properties:
reference:
description: Reference a resource. For example, Broker.
type: object
properties:
apiVersion:
description: API version of the referent.
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is an optional field, it gets defaulted to the object holding it if left out.'
type: string
description:
description: 'Description is an optional field used to describe the
EventType, in any meaningful way.'
type: string
attributes:
description: "CloudEvent attribute and extension attributes."
type: array
items:
type: object
required:
- name
properties:
name:
type: string
description: "Name of the CloudEvent attribute."
required:
type: boolean
description: "Indicates whether the attribute is required."
value:
type: string
description: "Value of the attribute. May be a template string using curly brackets {} to represent variable sections of the string."
status:
description: 'Status represents the current state of the EventType. This data
may be out of date.'
type: object
properties:
annotations:
description: 'Annotations is additional Status fields for the Resource
to save some additional State as well as convey more information
to the user. This is roughly akin to Annotations on any k8s resource,
just the reconciler conveying richer information outwards.'
type: object
x-kubernetes-preserve-unknown-fields: true
conditions:
description: 'Conditions the latest available observations of a resource''s
current state.'
type: array
items:
type: object
required:
- type
- status
properties:
lastTransitionTime:
description: 'LastTransitionTime is the last time the condition
transitioned from one status to another. We use VolatileTime
in place of metav1.Time to exclude this from creating
equality.Semantic differences (all other things held
constant).'
type: string
message:
description: 'A human readable message indicating details
about the transition.'
type: string
reason:
description: 'The reason for the condition''s last transition.'
type: string
severity:
description: 'Severity with which to treat failures of
this type of condition. When this is not specified,
it defaults to Error.'
type: string
status:
description: 'Status of the condition, one of True, False,
Unknown.'
type: string
type:
description: 'Type of condition.'
type: string
observedGeneration:
description: 'ObservedGeneration is the ''Generation'' of the Service
that was last processed by the controller.'
type: integer
format: int64
additionalPrinterColumns:
- name: Type
type: string
jsonPath: ".spec.attributes[?(@.name='type')].value"
- name: Source
type: string
jsonPath: ".spec.attributes[?(@.name='source')].value"
- name: Reference Name
type: string
jsonPath: ".spec.reference.name"
- name: Reference Kind
type: string
jsonPath: ".spec.reference.kind"
- name: Description
type: string
jsonPath: ".spec.description"
- name: Ready
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].status"
- name: Reason
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].reason"
- name: v1beta2
served: true
storage: true
Expand Down
19 changes: 16 additions & 3 deletions config/core/resources/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,22 @@ spec:
broker:
description: Broker is the broker that this trigger receives events from.
type: string
brokerNamespace:
description: Namespace of the broker that the trigger receives events from.
type: string
brokerRef:
description: 'Reference to a broker that is enabled for cross-namespace referencing. You can specify only the following fields of the KReference: kind, apiVersion, name and namespace.'
type: object
properties:
apiVersion:
description: API version of the referent.
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
delivery:
description: Delivery contains the delivery spec for this specific trigger.
type: object
Expand Down

0 comments on commit 998a262

Please sign in to comment.