upgrade to latest dependencies (#592)

bumping knative.dev/pkg 785eb63...c0e1594:
  > c0e1594 Update actions (# 2392)
  > 1db74d0 Adjust leaderelection defaults, add documentation. (# 2391)
  > 2b23ad1 Simplify URI creation in source validation tests (# 2389)
  > c568527 Fixes # 2308 TestSpoofingClient_WaitForEndpointState flake (# 2387)
  > b90b853 upgrade to latest dependencies (# 2388)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2022-01-13 06:56:13 -08:00 committed by GitHub
parent bfdad52bd9
commit 9df2c0c8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 8 deletions

2
go.mod
View File

@ -11,5 +11,5 @@ require (
k8s.io/code-generator v0.22.5
k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c
knative.dev/hack v0.0.0-20220111151514-59b0cf17578e
knative.dev/pkg v0.0.0-20220111210214-785eb637f693
knative.dev/pkg v0.0.0-20220113045912-c0e1594c2fb1
)

5
go.sum
View File

@ -1108,11 +1108,10 @@ k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c h1:jvamsI1tn9V0S8jicyX82q
k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a h1:8dYfu/Fc9Gz2rNJKB9IQRGgQOh2clmRzNIPPY1xLY5g=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
knative.dev/hack v0.0.0-20220110200259-f08cb0dcdee7/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20220111151514-59b0cf17578e h1:tESsFI1iMD2Al+6FZueFN9CddxJ8Fa2cd9KmyNINe3w=
knative.dev/hack v0.0.0-20220111151514-59b0cf17578e/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/pkg v0.0.0-20220111210214-785eb637f693 h1:uOIXXDSMBe50XmdVwORYzN5zh/drNDAtkzmpT+yCvns=
knative.dev/pkg v0.0.0-20220111210214-785eb637f693/go.mod h1:YVa0jO4t3eLg9YD/4IDs9TsZsF+g1nx8T9szmlbY/Yc=
knative.dev/pkg v0.0.0-20220113045912-c0e1594c2fb1 h1:vingyaoZbiMRLha4JCVxPG0ghcpjKVN9VGikAHwpqqs=
knative.dev/pkg v0.0.0-20220113045912-c0e1594c2fb1/go.mod h1:X5B0/SR3tzOioS2WQtS9uJTO71M52qcrDkWQ5wtyLVc=
pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
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=

View File

@ -98,9 +98,9 @@ func (c *Config) GetComponentConfig(name string) ComponentConfig {
func defaultConfig() *Config {
return &Config{
Buckets: 1,
LeaseDuration: 15 * time.Second,
RenewDeadline: 10 * time.Second,
RetryPeriod: 2 * time.Second,
LeaseDuration: 60 * time.Second,
RenewDeadline: 40 * time.Second,
RetryPeriod: 10 * time.Second,
}
}

View File

@ -0,0 +1,27 @@
/*
Copyright 2020 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// LeaderElection provides an interface for controllers implementing using
// controller injection:
// https://github.com/knative/pkg/blob/main/injection/README.md
//
// Leaderelection uses the context-stuffing mechanism to provide config-driven
// management of multiple election strategies (currently, using Kubernetes
// etcd-based election primitives or StatefulSet indexes and counts).
//
// For more details, see the original design document:
// https://docs.google.com/document/d/e/2PACX-1vTh40N-Kk6EPNzYpITiLg8YJk0qZyZv7KgMpcQS72T9Lv_F2PQeGybx4TtH0E1N1aUgLQer7b8u3lDc/pub
package leaderelection

2
vendor/modules.txt vendored
View File

@ -582,7 +582,7 @@ k8s.io/utils/trace
# knative.dev/hack v0.0.0-20220111151514-59b0cf17578e
## explicit
knative.dev/hack
# knative.dev/pkg v0.0.0-20220111210214-785eb637f693
# knative.dev/pkg v0.0.0-20220113045912-c0e1594c2fb1
## explicit
knative.dev/pkg/apis
knative.dev/pkg/apis/duck