From ea5b2a19f98721c516bdb6115d9d0715608be198 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:01:42 +0100 Subject: [PATCH] chore(deps): bump knative.dev/eventing-gitlab from 0.42.0 to 0.43.0 in /kubernetes-model-generator/openapi/generator (6589) chore(deps): bump knative.dev/eventing-gitlab Bumps [knative.dev/eventing-gitlab](https://github.com/knative-extensions/eventing-gitlab) from 0.42.0 to 0.43.0. - [Release notes](https://github.com/knative-extensions/eventing-gitlab/releases) - [Commits](https://github.com/knative-extensions/eventing-gitlab/compare/v0.42.0...v0.43.0) --- updated-dependencies: - dependency-name: knative.dev/eventing-gitlab dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- feat(openapi): regenerate model for knative.dev/eventing-gitlab 0.43.0 Signed-off-by: Marc Nuri Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Nuri --- .../eventing/v1alpha1/EventPolicySpec.java | 19 ++++++++++++++++++- .../openapi/generator/go.mod | 4 ++-- .../openapi/generator/go.sum | 8 ++++---- .../openapi/schemas/dev.knative.json | 8 ++++++++ 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/EventPolicySpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/EventPolicySpec.java index e2aa1c3d9d9..64a105e4d1d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/EventPolicySpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1alpha1/EventPolicySpec.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.knative.eventing.v1.SubscriptionsAPIFilter; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -37,6 +38,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "filters", "from", "to" }) @@ -65,6 +67,9 @@ public class EventPolicySpec implements Editable , KubernetesResource { + @JsonProperty("filters") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List filters = new ArrayList<>(); @JsonProperty("from") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List from = new ArrayList<>(); @@ -81,12 +86,24 @@ public class EventPolicySpec implements Editable , Kuber public EventPolicySpec() { } - public EventPolicySpec(List from, List to) { + public EventPolicySpec(List filters, List from, List to) { super(); + this.filters = filters; this.from = from; this.to = to; } + @JsonProperty("filters") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getFilters() { + return filters; + } + + @JsonProperty("filters") + public void setFilters(List filters) { + this.filters = filters; + } + @JsonProperty("from") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getFrom() { diff --git a/kubernetes-model-generator/openapi/generator/go.mod b/kubernetes-model-generator/openapi/generator/go.mod index afd82ab16f9..17a1787c32a 100644 --- a/kubernetes-model-generator/openapi/generator/go.mod +++ b/kubernetes-model-generator/openapi/generator/go.mod @@ -36,11 +36,11 @@ require ( k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 k8s.io/metrics v0.31.0 knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 - knative.dev/eventing v0.42.2 + knative.dev/eventing v0.43.0 knative.dev/eventing-awssqs v0.29.0 knative.dev/eventing-couchdb v0.28.0 knative.dev/eventing-github v0.42.0 - knative.dev/eventing-gitlab v0.42.0 + knative.dev/eventing-gitlab v0.43.0 knative.dev/eventing-kafka-broker v0.42.5 knative.dev/eventing-prometheus v0.28.0 knative.dev/networking v0.0.0-20241022012959-60e29ff520dc diff --git a/kubernetes-model-generator/openapi/generator/go.sum b/kubernetes-model-generator/openapi/generator/go.sum index 454b2bb9dda..a7ba15a413d 100644 --- a/kubernetes-model-generator/openapi/generator/go.sum +++ b/kubernetes-model-generator/openapi/generator/go.sum @@ -2032,16 +2032,16 @@ knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 h1:vQ0y0mO1ALdOd/FPiw7gf1 knative.dev/caching v0.0.0-20241022012359-41bbaf964d16/go.mod h1:qOvjasSUI+GyF4hsqJmIomblcgjkLzJhng8/zk0B9J4= knative.dev/eventing v0.28.0/go.mod h1:zxoB37kQxEkfCvKA7wZuHOPYInz6SFJzrhmG9IAd/iY= knative.dev/eventing v0.29.0/go.mod h1:u5T5NZTDUsLR7yJwp5MDnBnDX5MhywD3yK3Rq+7gTtI= -knative.dev/eventing v0.42.2 h1:eDfEmOTiqb/GikfwUPb6O6VvXkpqtpHCzihxP6D4Fek= -knative.dev/eventing v0.42.2/go.mod h1:hW5BMYcihtCelT9pqaMtK8gmNOo1ybxcigjBY+/fU+k= +knative.dev/eventing v0.43.0 h1:GELHZ0yYosMeV78l4alMsd7HJciEu6a3T2C5l7MPi3Y= +knative.dev/eventing v0.43.0/go.mod h1:pdrF+bEUfRkNn9ifWXS7DoVj5W31gA5KQVd8iwplXUo= knative.dev/eventing-awssqs v0.29.0 h1:3g9zaBMuSVpwj6BOFFQl/XbCVX9dIljqhoWKdLfDVp4= knative.dev/eventing-awssqs v0.29.0/go.mod h1:jtY5Pd4QrwbLyiviNWav7FMtx9NWaABY3EqGGz3NBNA= knative.dev/eventing-couchdb v0.28.0 h1:wdwmonQ1cOEx/I9Ev8IhKUIkBth4L/r5wTpDggGacls= knative.dev/eventing-couchdb v0.28.0/go.mod h1:kUoJgfUkPBWJFA/0meZCZzuX/3003hEBctN+7xyKKMo= knative.dev/eventing-github v0.42.0 h1:iq/+oTQI6v6QCRGMGY0PsN3RENgI+ZOq1yuiYrF90cE= knative.dev/eventing-github v0.42.0/go.mod h1:HMHYhEXzRgfaJBSBkB6jVpTpYWMhEA28Y/XOklZayCY= -knative.dev/eventing-gitlab v0.42.0 h1:DRZrOC5OSjnmxmZQuP7pOFRykQrHwydnHLduP8zBdks= -knative.dev/eventing-gitlab v0.42.0/go.mod h1:v3OsUQmVkHlEZx159a/glEmMZsf/6GscBCa7FpZhOtc= +knative.dev/eventing-gitlab v0.43.0 h1:YNi/6EdU9tYNWbaXQOBmgVwbsQSyCF5IcUf0b30rHPI= +knative.dev/eventing-gitlab v0.43.0/go.mod h1:rwHrTfP7lCFjHOAASlnPZ5rEdE9aKGc5q32ygoITebg= knative.dev/eventing-kafka-broker v0.42.5 h1:iLcJSDXrGAJiUYZdSIpUW42nWHYmPqsjd4FbTp28BBw= knative.dev/eventing-kafka-broker v0.42.5/go.mod h1:77EsSRV24XRRMWvoHyhlCArWqsr9SQICch525FEztiI= knative.dev/eventing-prometheus v0.28.0 h1:2VjDEL0Ck9s++uomjlOL4/Y824ziZjXZYWcNQsm53P0= diff --git a/kubernetes-model-generator/openapi/schemas/dev.knative.json b/kubernetes-model-generator/openapi/schemas/dev.knative.json index 3ba4bfa7d67..bc043ecc654 100644 --- a/kubernetes-model-generator/openapi/schemas/dev.knative.json +++ b/kubernetes-model-generator/openapi/schemas/dev.knative.json @@ -4024,6 +4024,14 @@ "dev.knative.eventing.v1alpha1.EventPolicySpec": { "type": "object", "properties": { + "filters": { + "description": "Filters is the list of SubscriptoinsApi filters which determine whether or not the event is accepted. It is an array of filter expressions that evaluate to true or false. If any filter expression in the array evaluates to false, the event will not pass the target resource's ingress. Absence of any filters implies that the filters always evaluate to true.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.eventing.v1.SubscriptionsAPIFilter" + } + }, "from": { "description": "From is the list of sources or oidc identities, which are allowed to send events to the targets (.spec.to).", "type": "array",