From 5ece3c151f4530836859952430d484ed19cc4a13 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Wed, 8 May 2024 01:56:30 -0400 Subject: [PATCH] upgrade to latest dependencies (#880) bumping knative.dev/pkg 1d1616a...360b72e: > 360b72e Update AuthStatus to have list of ServiceAccountNames (# 3032) Signed-off-by: Knative Automation --- go.mod | 2 +- go.sum | 4 ++-- vendor/knative.dev/pkg/apis/duck/v1/auth_types.go | 5 +++++ vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go | 5 +++++ vendor/modules.txt | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 7c7801fde..c3087c3b4 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11 knative.dev/hack/schema v0.0.0-20240507013718-68e3bfb39d11 - knative.dev/pkg v0.0.0-20240507013158-1d1616aa15db + knative.dev/pkg v0.0.0-20240507092124-360b72e4948e ) require ( diff --git a/go.sum b/go.sum index bd50d9e30..2b8c5c103 100644 --- a/go.sum +++ b/go.sum @@ -681,8 +681,8 @@ knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11 h1:CYoD72R8/R35REjeY2nnWfBak knative.dev/hack v0.0.0-20240507013718-68e3bfb39d11/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/hack/schema v0.0.0-20240507013718-68e3bfb39d11 h1:QlqQMJijcdrY5uN6auYRNaZaR9YiukcZ7VQD2SE+a58= knative.dev/hack/schema v0.0.0-20240507013718-68e3bfb39d11/go.mod h1:3pWwBLnTZSM9psSgCAvhKOHIPTzqfEMlWRpDu6IYhK0= -knative.dev/pkg v0.0.0-20240507013158-1d1616aa15db h1:wc8y5CoKhGWsIUxdkTqILXr2i1rJUxtVKQRc3P0tEKI= -knative.dev/pkg v0.0.0-20240507013158-1d1616aa15db/go.mod h1:PQiq+p9Gr++TnU+w5P+ZpFS5MOwcMF6Y2oWFU8Ou7bw= +knative.dev/pkg v0.0.0-20240507092124-360b72e4948e h1:By0c/FKLZlisAerWiMj9crtaEhcl/sp8gN8Rp0s8fKM= +knative.dev/pkg v0.0.0-20240507092124-360b72e4948e/go.mod h1:PQiq+p9Gr++TnU+w5P+ZpFS5MOwcMF6Y2oWFU8Ou7bw= 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/pkg/apis/duck/v1/auth_types.go b/vendor/knative.dev/pkg/apis/duck/v1/auth_types.go index 3169664b6..5d76a7b42 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1/auth_types.go +++ b/vendor/knative.dev/pkg/apis/duck/v1/auth_types.go @@ -22,4 +22,9 @@ type AuthStatus struct { // ServiceAccountName is the name of the generated service account // used for this components OIDC authentication. ServiceAccountName *string `json:"serviceAccountName,omitempty"` + + // ServiceAccountNames is the list of names of the generated service accounts + // used for this components OIDC authentication. This list can have len() > 1, + // when the component uses multiple identities (e.g. in case of a Parallel). + ServiceAccountNames []string `json:"serviceAccountNames,omitempty"` } diff --git a/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go b/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go index bc3174b2b..9dab1a912 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go @@ -158,6 +158,11 @@ func (in *AuthStatus) DeepCopyInto(out *AuthStatus) { *out = new(string) **out = **in } + if in.ServiceAccountNames != nil { + in, out := &in.ServiceAccountNames, &out.ServiceAccountNames + *out = make([]string, len(*in)) + copy(*out, *in) + } return } diff --git a/vendor/modules.txt b/vendor/modules.txt index f0a66aa04..d47c0574b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -829,7 +829,7 @@ knative.dev/hack/schema/commands knative.dev/hack/schema/docs knative.dev/hack/schema/registry knative.dev/hack/schema/schema -# knative.dev/pkg v0.0.0-20240507013158-1d1616aa15db +# knative.dev/pkg v0.0.0-20240507092124-360b72e4948e ## explicit; go 1.21 knative.dev/pkg/apis knative.dev/pkg/apis/duck