Skip to content

Commit

Permalink
upgrade to latest dependencies (#493)
Browse files Browse the repository at this point in the history
bumping knative.dev/hack d4af42e...0d99b7e:
  > 0d99b7e add function to set latest semver to latest (# 339)
bumping knative.dev/pkg a6c730f...fac3a4f:
  > fac3a4f fix closure variable in filtered factory (# 2884)
bumping knative.dev/networking 2a7676e...3bd0f7d:
  > 3bd0f7d upgrade to latest dependencies (# 887)
  > aea9eae upgrade to latest dependencies (# 886)
  > 7d7bb65 upgrade to latest dependencies (# 885)
bumping knative.dev/serving e473c4a...141747a:
  > 141747a upgrade to latest dependencies (# 14574)
bumping knative.dev/eventing c8f4624...e85a09d:
  > e85a09d fix: Inconsistent OIDC auth feature flag name (# 7422)
  > 650d965 Adding the rekt test for pingsource with broker as sink (# 7416)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 3, 2023
1 parent fc36320 commit 2e3ef43
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 33 deletions.
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ require (
k8s.io/api v0.27.6
k8s.io/apimachinery v0.27.6
k8s.io/client-go v0.27.6
knative.dev/eventing v0.39.1-0.20231031154321-c8f4624d395a
knative.dev/hack v0.0.0-20231025074238-d4af42e9b222
knative.dev/pkg v0.0.0-20231102061027-a6c730fd81f7
knative.dev/serving v0.39.1-0.20231102133705-e473c4a860bd
knative.dev/eventing v0.39.1-0.20231102185628-e85a09d9e8b2
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63
knative.dev/pkg v0.0.0-20231102200604-fac3a4ffbc74
knative.dev/serving v0.39.1-0.20231102153144-141747a2bc3e
)

require (
Expand Down Expand Up @@ -101,7 +101,7 @@ require (
k8s.io/klog/v2 v2.90.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
knative.dev/networking v0.0.0-20231017124814-2a7676e912b7 // indirect
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -780,16 +780,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.39.1-0.20231031154321-c8f4624d395a h1:yPMqLA6r7tFiREDZwa3h8/DvqA7ww9xaWbBZAbjFx48=
knative.dev/eventing v0.39.1-0.20231031154321-c8f4624d395a/go.mod h1:AqsQRVJklj4kuRbxnJqPaGTrhkCVfCcgN3fax/6dWvM=
knative.dev/hack v0.0.0-20231025074238-d4af42e9b222 h1:xjfhm3OayDP+7n8cWnETiwG/TXsAeyKFQQsbxPlZ0WQ=
knative.dev/hack v0.0.0-20231025074238-d4af42e9b222/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20231017124814-2a7676e912b7 h1:6+1icZuxiZO1paFZ4d/ysKWVG2M4WB7OxNJNyLG0P/E=
knative.dev/networking v0.0.0-20231017124814-2a7676e912b7/go.mod h1:1gcHoIVG47ekQWjkddqRq+/7tWRh+CB9W4k/NAcdRbk=
knative.dev/pkg v0.0.0-20231102061027-a6c730fd81f7 h1:hO7WSKu/GcpQNX2QXr17cYG2D5KeCMjyZ2lcmOGuQLI=
knative.dev/pkg v0.0.0-20231102061027-a6c730fd81f7/go.mod h1:i7ifWvAVgStXzSwZcfwA3T6D00IPJrqu3XRKKSiYZvw=
knative.dev/serving v0.39.1-0.20231102133705-e473c4a860bd h1:+eWm4L+xzPk5amwMb4QPIbuSrCiQ7xUbhVAmcP7xcQM=
knative.dev/serving v0.39.1-0.20231102133705-e473c4a860bd/go.mod h1:0QIp5mvgWa1oUC2MxMf+Q/JWgG8JhAsSdJKc6iTRlvE=
knative.dev/eventing v0.39.1-0.20231102185628-e85a09d9e8b2 h1:CQ8xmxENg5CY7FWcd4gqwiC/Nrf/hn79mq/yMxgPRPw=
knative.dev/eventing v0.39.1-0.20231102185628-e85a09d9e8b2/go.mod h1:AqsQRVJklj4kuRbxnJqPaGTrhkCVfCcgN3fax/6dWvM=
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63 h1:QNbIbsep8jreNCXj3EFrsw0RtsrmMZw7yxYyUG5AILs=
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab h1:nc74ZRbybCGuRh0PmNwQOi/YQn+BFxsvWFYdBKmXeDs=
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab/go.mod h1:ogTL4b/TmCRVhbKxRO7Z+9g/Mzsxo4LKXlCkw8CY0qA=
knative.dev/pkg v0.0.0-20231102200604-fac3a4ffbc74 h1:phT8Z3zNyL0OPh9z0EpTJdDMT9sn2x9wtFB5IqI4vJA=
knative.dev/pkg v0.0.0-20231102200604-fac3a4ffbc74/go.mod h1:i7ifWvAVgStXzSwZcfwA3T6D00IPJrqu3XRKKSiYZvw=
knative.dev/serving v0.39.1-0.20231102153144-141747a2bc3e h1:F7onEMCnp0VOq+Fet0j2rVK4+6M6/g8bKyLPVvd2lRY=
knative.dev/serving v0.39.1-0.20231102153144-141747a2bc3e/go.mod h1:OwgMhUqz/RICNYvaIRmzVFQN6isQFOEFPPr3Fypn05Q=
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=
Expand Down

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

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

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

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

2 changes: 1 addition & 1 deletion vendor/knative.dev/eventing/pkg/apis/feature/flag_names.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ const (
NewTriggerFilters = "new-trigger-filters"
TransportEncryption = "transport-encryption"
EvenTypeAutoCreate = "eventtype-auto-create"
OIDCAuthentication = "authentication.oidc"
OIDCAuthentication = "authentication-oidc"
)
19 changes: 19 additions & 0 deletions vendor/knative.dev/hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,24 @@ function publish_artifacts() {
banner "New release published successfully"
}

# Sets the github release with the highest semver to 'latest'
function set_latest_to_highest_semver() {
local last_version # don't combine with the line below, or $? will be 0
last_version="$(hub_tool -p release | cut -d'-' -f2 | grep '^v[0-9]\+\.[0-9]\+\.[0-9]\+$'| sort -r -V | head -1)"
if ! [[ $? -eq 0 ]]; then
abort "cannot list releases"
fi

local release_id # don't combine with the line below, or $? will be 0
release_id="$(hub_tool api /repos/${ORG_NAME}/${REPO_NAME}/releases/tags/knative-${last_version} | jq .id)"
if [[ $? -ne 0 ]]; then
abort "cannot get relase id from github"
fi

hub_tool api --method PATCH /repos/knative/serving/releases/$release_id -F make_latest=true > /dev/null || abort "error settomg $last_version to 'latest'"
echo "Github release ${last_version} set as 'latest'"
}

# Entry point for a release script.
function main() {
parse_flags "$@"
Expand Down Expand Up @@ -727,6 +745,7 @@ function main() {
done
echo "New release built successfully"
publish_artifacts
set_latest_to_highest_semver
}

# Publishes a new release on GitHub, also git tagging it (unless this is not a versioned release).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,15 @@ func withInformerFactory(ctx {{.contextContext|raw}}) {{.contextContext|raw}} {
}
labelSelectors := untyped.([]string)
for _, selector := range labelSelectors {
selectorVal := selector
opts := []{{.informersSharedInformerOption|raw}}{}
if {{.injectionHasNamespace|raw}}(ctx) {
opts = append(opts, {{.informersWithNamespace|raw}}({{.injectionGetNamespace|raw}}(ctx)))
}
opts = append(opts, {{.informersWithTweakListOptions|raw}}(func(l *{{.metav1ListOptions|raw}}) {
l.LabelSelector = selector
l.LabelSelector = selectorVal
}))
ctx = context.WithValue(ctx, {{.factoryKey|raw}}{Selector: selector},
ctx = context.WithValue(ctx, {{.factoryKey|raw}}{Selector: selectorVal},
{{.informersNewSharedInformerFactoryWithOptions|raw}}(c, {{.controllerGetResyncPeriod|raw}}(ctx), opts...))
}
return ctx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,15 @@ func withInformerFactory(ctx {{.contextContext|raw}}) {{.contextContext|raw}} {
}
labelSelectors := untyped.([]string)
for _, selector := range labelSelectors {
selectorVal := selector
opts := []{{.informersSharedInformerOption|raw}}{}
if {{.injectionHasNamespace|raw}}(ctx) {
opts = append(opts, {{.informersWithNamespace|raw}}({{.injectionGetNamespace|raw}}(ctx)))
}
opts = append(opts, {{.informersWithTweakListOptions|raw}}(func(l *{{.metav1ListOptions|raw}}) {
l.LabelSelector = selector
l.LabelSelector = selectorVal
}))
ctx = context.WithValue(ctx, Key{Selector: selector},
ctx = context.WithValue(ctx, Key{Selector: selectorVal},
{{.informersNewSharedInformerFactoryWithOptions|raw}}(c, {{.controllerGetResyncPeriod|raw}}(ctx), opts...))
}
return ctx
Expand Down
10 changes: 5 additions & 5 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/eventing v0.39.1-0.20231031154321-c8f4624d395a
# knative.dev/eventing v0.39.1-0.20231102185628-e85a09d9e8b2
## explicit; go 1.19
knative.dev/eventing/pkg/adapter/v2
knative.dev/eventing/pkg/adapter/v2/util/crstatusevent
Expand Down Expand Up @@ -1009,15 +1009,15 @@ knative.dev/eventing/pkg/observability
knative.dev/eventing/pkg/observability/client
knative.dev/eventing/pkg/reconciler/resources
knative.dev/eventing/pkg/reconciler/source
# knative.dev/hack v0.0.0-20231025074238-d4af42e9b222
# knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63
## explicit; go 1.18
knative.dev/hack
# knative.dev/networking v0.0.0-20231017124814-2a7676e912b7
# knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab
## explicit; go 1.18
knative.dev/networking/pkg/apis/networking
knative.dev/networking/pkg/apis/networking/v1alpha1
knative.dev/networking/pkg/config
# knative.dev/pkg v0.0.0-20231102061027-a6c730fd81f7
# knative.dev/pkg v0.0.0-20231102200604-fac3a4ffbc74
## explicit; go 1.18
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down Expand Up @@ -1070,7 +1070,7 @@ knative.dev/pkg/tracker
knative.dev/pkg/version
knative.dev/pkg/webhook
knative.dev/pkg/webhook/certificates/resources
# knative.dev/serving v0.39.1-0.20231102133705-e473c4a860bd
# knative.dev/serving v0.39.1-0.20231102153144-141747a2bc3e
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 2e3ef43

Please sign in to comment.