From 9cea6f6e36cefc6a4e8362e0439237a2eb1af31f Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Fri, 20 Oct 2023 08:34:08 -0400 Subject: [PATCH] upgrade to latest dependencies (#126) bumping knative.dev/eventing 3ef831c...4d14c21: > 4d14c21 Added test for multiple sinks, multiple triggers (# 7350) > a261e06 OIDC - Support auto generation of PingSource identity service account and expose in AuthStatus (# 7344) > 16d75a9 mt-broker-ingress check audience of received token (# 7336) bumping knative.dev/serving 707d286...9896079: > 9896079 Fix sec context and resources for performance jobs (# 14529) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 8 +++---- .../pkg/apis/sources/v1/ping_lifecycle.go | 22 ++++++++++++++++++- vendor/modules.txt | 4 ++-- 4 files changed, 29 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 55fc0845..effc7cd9 100644 --- a/go.mod +++ b/go.mod @@ -18,10 +18,10 @@ require ( k8s.io/cli-runtime v0.25.2 k8s.io/client-go v0.27.6 k8s.io/code-generator v0.27.6 - knative.dev/eventing v0.38.1-0.20231018193256-3ef831c9b7e4 + knative.dev/eventing v0.38.1-0.20231019170735-4d14c2126a20 knative.dev/hack v0.0.0-20231016131700-2c938d4918da knative.dev/pkg v0.0.0-20231017113806-d6ab72900ea5 - knative.dev/serving v0.38.1-0.20231018074854-707d2864f85f + knative.dev/serving v0.38.1-0.20231019102212-98960793b828 sigs.k8s.io/yaml v1.3.0 ) diff --git a/go.sum b/go.sum index c2d4973d..7f22d33d 100644 --- a/go.sum +++ b/go.sum @@ -832,16 +832,16 @@ k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5F k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.38.1-0.20231018193256-3ef831c9b7e4 h1:t6/2/0GlYfVezhhCjEpENaJSOx5g7aPkcEUxD9N5MSc= -knative.dev/eventing v0.38.1-0.20231018193256-3ef831c9b7e4/go.mod h1:swWS48qpCQbBkj+2iS0rVa7PbQBWLD9YAy3CSHfevaU= +knative.dev/eventing v0.38.1-0.20231019170735-4d14c2126a20 h1:j6jW2x0lWlEvQ84mal81dvA6skA085LSFTGfLEdo9U8= +knative.dev/eventing v0.38.1-0.20231019170735-4d14c2126a20/go.mod h1:swWS48qpCQbBkj+2iS0rVa7PbQBWLD9YAy3CSHfevaU= knative.dev/hack v0.0.0-20231016131700-2c938d4918da h1:xy+fvuz2LDOMsZ5UwXRaMF70NYUs9fsG+EF5/ierYBg= knative.dev/hack v0.0.0-20231016131700-2c938d4918da/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/networking v0.0.0-20231012062439-c0863403c83b h1:yGtVPNHek3rmKb50k7G9fG/NuuC4FRzESVrWmPFU9AM= knative.dev/networking v0.0.0-20231012062439-c0863403c83b/go.mod h1:uEvP4spV82HGB8loxo8nH/LGmwsd9jUGWvDVC+tH4O4= knative.dev/pkg v0.0.0-20231017113806-d6ab72900ea5 h1:9AvFZdEtuwKWDcTV1VSwmrgrRR9f38wbIAm+sNwLivQ= knative.dev/pkg v0.0.0-20231017113806-d6ab72900ea5/go.mod h1:HHRXEd7ZlFpthgE+rwAZ6MUVnuJOAeolnaFSthXloUQ= -knative.dev/serving v0.38.1-0.20231018074854-707d2864f85f h1:qNwfbh+O8E0fbUKHUkFvL1+QBL/6R+27Uq4ZcaX96nI= -knative.dev/serving v0.38.1-0.20231018074854-707d2864f85f/go.mod h1:cuia3pUQNF4sa3g3KsPFgqpLnF1pf9iquDLgk71iLfo= +knative.dev/serving v0.38.1-0.20231019102212-98960793b828 h1:sNOLMY9JEeWpHOEp/7C1qdoSUM+meff1Qpl27H6yWPg= +knative.dev/serving v0.38.1-0.20231019102212-98960793b828/go.mod h1:cuia3pUQNF4sa3g3KsPFgqpLnF1pf9iquDLgk71iLfo= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/eventing/pkg/apis/sources/v1/ping_lifecycle.go b/vendor/knative.dev/eventing/pkg/apis/sources/v1/ping_lifecycle.go index 24222d62..8fa7cea6 100644 --- a/vendor/knative.dev/eventing/pkg/apis/sources/v1/ping_lifecycle.go +++ b/vendor/knative.dev/eventing/pkg/apis/sources/v1/ping_lifecycle.go @@ -35,11 +35,15 @@ const ( // PingSourceConditionDeployed has status True when the PingSource has had it's receive adapter deployment created. PingSourceConditionDeployed apis.ConditionType = "Deployed" + + // PingSourceConditionOIDCIdentityCreated has status True when the PingSource has had it's OIDC identity created. + PingSourceConditionOIDCIdentityCreated apis.ConditionType = "OIDCIdentityCreated" ) var PingSourceCondSet = apis.NewLivingConditionSet( PingSourceConditionSinkProvided, - PingSourceConditionDeployed) + PingSourceConditionDeployed, + PingSourceConditionOIDCIdentityCreated) const ( // PingSourceEventType is the default PingSource CloudEvent type. @@ -122,3 +126,19 @@ func (s *PingSourceStatus) PropagateDeploymentAvailability(d *appsv1.Deployment) PingSourceCondSet.Manage(s).MarkUnknown(PingSourceConditionDeployed, "DeploymentUnavailable", "The Deployment '%s' is unavailable.", d.Name) } } + +func (s *PingSourceStatus) MarkOIDCIdentityCreatedSucceeded() { + PingSourceCondSet.Manage(s).MarkTrue(PingSourceConditionOIDCIdentityCreated) +} + +func (s *PingSourceStatus) MarkOIDCIdentityCreatedSucceededWithReason(reason, messageFormat string, messageA ...interface{}) { + PingSourceCondSet.Manage(s).MarkTrueWithReason(PingSourceConditionOIDCIdentityCreated, reason, messageFormat, messageA...) +} + +func (s *PingSourceStatus) MarkOIDCIdentityCreatedFailed(reason, messageFormat string, messageA ...interface{}) { + PingSourceCondSet.Manage(s).MarkFalse(PingSourceConditionOIDCIdentityCreated, reason, messageFormat, messageA...) +} + +func (s *PingSourceStatus) MarkOIDCIdentityCreatedUnknown(reason, messageFormat string, messageA ...interface{}) { + PingSourceCondSet.Manage(s).MarkUnknown(PingSourceConditionOIDCIdentityCreated, reason, messageFormat, messageA...) +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 66a50552..9fea00e8 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -900,7 +900,7 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.38.1-0.20231018193256-3ef831c9b7e4 +# knative.dev/eventing v0.38.1-0.20231019170735-4d14c2126a20 ## explicit; go 1.19 knative.dev/eventing/pkg/apis/config knative.dev/eventing/pkg/apis/duck @@ -990,7 +990,7 @@ knative.dev/pkg/tracing/config knative.dev/pkg/tracing/propagation knative.dev/pkg/tracing/propagation/tracecontextb3 knative.dev/pkg/tracker -# knative.dev/serving v0.38.1-0.20231018074854-707d2864f85f +# knative.dev/serving v0.38.1-0.20231019102212-98960793b828 ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1