Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
k8s.io/api v0.35.2
k8s.io/apimachinery v0.35.2
k8s.io/client-go v0.35.2
knative.dev/client/pkg v0.0.0-20260310025245-435d663058cc
knative.dev/client/pkg v0.0.0-20260310143814-8342632107e5
knative.dev/eventing-kafka-broker v0.48.1-0.20260310115413-333e356ae144
knative.dev/hack v0.0.0-20260310014051-c448fdb867e2
knative.dev/pkg v0.0.0-20260310013839-5504026dd1b6
Expand Down Expand Up @@ -102,9 +102,9 @@ require (
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
knative.dev/eventing v0.48.1-0.20260310013839-eeacca0d3c00 // indirect
knative.dev/networking v0.0.0-20260310014911-9b69187f0a22 // indirect
knative.dev/serving v0.48.1-0.20260309143045-56af9d4a7c50 // indirect
knative.dev/eventing v0.48.1-0.20260310120613-104b6237f845 // indirect
knative.dev/networking v0.0.0-20260310020845-64a6058c2d59 // indirect
knative.dev/serving v0.48.1-0.20260310122913-81dd4ba14b9f // indirect
sigs.k8s.io/gateway-api v1.1.0 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/kustomize/api v0.20.1 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -295,20 +295,20 @@ k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZ
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck=
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/client/pkg v0.0.0-20260310025245-435d663058cc h1:erRkP0OX1sKpuy59xtnHgJNFqXYveKYqm1oHHDDEGVw=
knative.dev/client/pkg v0.0.0-20260310025245-435d663058cc/go.mod h1:PfTDpui15yES0My2ZKuvO8X68N2NrSQNv6tIQYAuU1E=
knative.dev/eventing v0.48.1-0.20260310013839-eeacca0d3c00 h1:bva8lbYG1qZobshlF5godHIsovG7pdNeo2poOvcJrtI=
knative.dev/eventing v0.48.1-0.20260310013839-eeacca0d3c00/go.mod h1:nn4erf/DV7kg4qlIjz00JJjqqP6X58PaETGjDgbY8Jo=
knative.dev/client/pkg v0.0.0-20260310143814-8342632107e5 h1:RPzJ8qcg5h+jyqpA405TqZ9ihyldS4HC3NkrG5WjUFk=
knative.dev/client/pkg v0.0.0-20260310143814-8342632107e5/go.mod h1:PXr4AWXN7zHoK08QV6DCDXi5RbO5OxHFV1MMtZwKkyw=
knative.dev/eventing v0.48.1-0.20260310120613-104b6237f845 h1:i6Dhhq07M5qqgRaYQ1aTcnpAnPGHPMoyd41bc9Dy7UI=
knative.dev/eventing v0.48.1-0.20260310120613-104b6237f845/go.mod h1:nn4erf/DV7kg4qlIjz00JJjqqP6X58PaETGjDgbY8Jo=
knative.dev/eventing-kafka-broker v0.48.1-0.20260310115413-333e356ae144 h1:PLmiYYpl1WBvS2OBqSfthpnYJRzY/hdAgHkYUNCWw48=
knative.dev/eventing-kafka-broker v0.48.1-0.20260310115413-333e356ae144/go.mod h1:o9GL4KFIU1XHhSHcSkgktpjz1joLwcCXEhoHp66bhMg=
knative.dev/hack v0.0.0-20260310014051-c448fdb867e2 h1:b35SGLEp03D8oGf8mE9HBt3yfNgYpAK0fw46hFXs9w4=
knative.dev/hack v0.0.0-20260310014051-c448fdb867e2/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
knative.dev/networking v0.0.0-20260310014911-9b69187f0a22 h1:uoA/iuXlFujOVdqPY09QCpkL7aNSevCbWPGNKjgstWA=
knative.dev/networking v0.0.0-20260310014911-9b69187f0a22/go.mod h1:cIMr1+bAKHFzpou2kVBb82skixqeheSC9heFVc/s1r8=
knative.dev/networking v0.0.0-20260310020845-64a6058c2d59 h1:aHhP0lIaA24ANji0uTmGI7eeHuPN1yVQHeMWW8+Rudk=
knative.dev/networking v0.0.0-20260310020845-64a6058c2d59/go.mod h1:72PhQ+qnOAwz9FFK8y301eWuiQ6vD9qVUFnDBjNhju8=
knative.dev/pkg v0.0.0-20260310013839-5504026dd1b6 h1:oVpQ0Y+FUmRQer8kdqJjQL20KveZa5sCfnBWeJi4nyQ=
knative.dev/pkg v0.0.0-20260310013839-5504026dd1b6/go.mod h1:ziEj0TQOWvBw7t/VSkqaZlv++Qk8FfiuI72ZDmv23nI=
knative.dev/serving v0.48.1-0.20260309143045-56af9d4a7c50 h1:g519c0byvJXetRnbanF/aO8LYQc8dQkbcflvQIeqsSg=
knative.dev/serving v0.48.1-0.20260309143045-56af9d4a7c50/go.mod h1:wz8mxjdRIUcWVnOUwJzuVHKhrb5IxTeIFHnXljMzS9o=
knative.dev/serving v0.48.1-0.20260310122913-81dd4ba14b9f h1:TXYQ6QXQtQHMl+QmdIQ1B+hsy0HAJNRSf93MXTw7gOw=
knative.dev/serving v0.48.1-0.20260310122913-81dd4ba14b9f/go.mod h1:9zWwmlY7J0mzmCWp61IA2BQxIWLPzCsMxbJrAkPcGEs=
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=
sigs.k8s.io/gateway-api v1.1.0/go.mod h1:ZH4lHrL2sDi0FHZ9jjneb8kKnGzFWyrTya35sWUTrRs=
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ import (
)

const (
TransformConditionAddressable apis.ConditionType = "Addressable"
TransformationConditionReady apis.ConditionType = "TransformationReady"
TransformConditionAddressable apis.ConditionType = "Addressable"
TransformationConditionReady apis.ConditionType = "TransformationReady"
TransformationEventPoliciesReady apis.ConditionType = "EventPoliciesReady"

TransformationAddressableEmptyURL string = "NoURL"
TransformationAddressableWaitingForServiceEndpoints string = "WaitingForServiceEndpoints"
Expand All @@ -48,6 +49,7 @@ const (
var TransformCondSet = apis.NewLivingConditionSet(
TransformationConditionReady,
TransformConditionAddressable,
TransformationEventPoliciesReady,
)

// transformJsonataConditionSet is the subset of conditions for the Jsonata transformation
Expand Down Expand Up @@ -211,3 +213,19 @@ func (ts *EventTransformStatus) SetAddresses(addresses ...duckv1.Addressable) {
}
ts.GetConditionSet().Manage(ts).MarkTrue(TransformConditionAddressable)
}

func (ts *EventTransformStatus) MarkEventPoliciesFailed(reason, messageFormat string, messageA ...interface{}) {
TransformCondSet.Manage(ts).MarkFalse(TransformationEventPoliciesReady, reason, messageFormat, messageA...)
}

func (ts *EventTransformStatus) MarkEventPoliciesUnknown(reason, messageFormat string, messageA ...interface{}) {
TransformCondSet.Manage(ts).MarkUnknown(TransformationEventPoliciesReady, reason, messageFormat, messageA...)
}

func (ts *EventTransformStatus) MarkEventPoliciesTrue() {
TransformCondSet.Manage(ts).MarkTrue(TransformationEventPoliciesReady)
}

func (ts *EventTransformStatus) MarkEventPoliciesTrueWithReason(reason, messageFormat string, messageA ...interface{}) {
TransformCondSet.Manage(ts).MarkTrueWithReason(TransformationEventPoliciesReady, reason, messageFormat, messageA...)
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"

eventingduckv1 "knative.dev/eventing/pkg/apis/duck/v1"
"knative.dev/pkg/apis"
duckv1 "knative.dev/pkg/apis/duck/v1"
"knative.dev/pkg/kmeta"
Expand Down Expand Up @@ -130,6 +131,10 @@ type EventTransformStatus struct {
// +optional
duckv1.AddressStatus `json:",inline"`

// AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this EventTransform.
// +optional
eventingduckv1.AppliedEventPoliciesStatus `json:",inline"`

// JsonataTransformationStatus is the status associated with JsonataEventTransformationSpec.
// +optional
JsonataTransformationStatus *JsonataEventTransformationStatus `json:"jsonata,omitempty"`
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# knative.dev/client/pkg v0.0.0-20260310025245-435d663058cc
# knative.dev/client/pkg v0.0.0-20260310143814-8342632107e5
## explicit; go 1.25.0
knative.dev/client/pkg/apis/client
knative.dev/client/pkg/apis/client/v1alpha1
Expand All @@ -871,7 +871,7 @@ knative.dev/client/pkg/util/errors
knative.dev/client/pkg/util/mock
knative.dev/client/pkg/util/test
knative.dev/client/pkg/wait
# knative.dev/eventing v0.48.1-0.20260310013839-eeacca0d3c00
# knative.dev/eventing v0.48.1-0.20260310120613-104b6237f845
## explicit; go 1.25.0
knative.dev/eventing/pkg/apis/common/integration/v1alpha1
knative.dev/eventing/pkg/apis/config
Expand Down Expand Up @@ -926,7 +926,7 @@ knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/t
# knative.dev/hack v0.0.0-20260310014051-c448fdb867e2
## explicit; go 1.24
knative.dev/hack
# knative.dev/networking v0.0.0-20260310014911-9b69187f0a22
# knative.dev/networking v0.0.0-20260310020845-64a6058c2d59
## explicit; go 1.25.0
knative.dev/networking/pkg/apis/networking
knative.dev/networking/pkg/apis/networking/v1alpha1
Expand Down Expand Up @@ -979,7 +979,7 @@ knative.dev/pkg/test/logging
knative.dev/pkg/test/spoof
knative.dev/pkg/tracker
knative.dev/pkg/webhook/resourcesemantics
# knative.dev/serving v0.48.1-0.20260309143045-56af9d4a7c50
# knative.dev/serving v0.48.1-0.20260310122913-81dd4ba14b9f
## explicit; go 1.25.0
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down
Loading