Skip to content

Commit

Permalink
upgrade to latest dependencies (knative#1405)
Browse files Browse the repository at this point in the history
bumping knative.dev/serving c737bb1...874cceb:
  > 874cceb Update net-gateway-api nightly (# 13466)
  > aebc16c Update net-istio nightly (# 13460)
  > 0df133d Update net-certmanager nightly (# 13461)
  > 8848735 Update net-kourier nightly (# 13463)
  > 44295ff Update net-contour nightly (# 13462)
  > bd88e05 Use new keys for internal encryption secret data (# 13388)
  > 0511892 Update net-certmanager nightly (# 13457)
  > afc6942 Update net-kourier nightly (# 13456)
  > 2a22058 Update net-contour nightly (# 13454)
  > 8c79b7f Update net-gateway-api nightly (# 13455)
  > c3e0f12 Add support for QPOptions TLS + Audience bound Tokens  (# 13384)
  > fd1b9ed Set filtered factory label in controller main + Upgrade to latest dependencies (# 13442)
  > 601c762 Update net-certmanager nightly (# 13452)
  > f9fd5c8 Update net-contour nightly (# 13446)
  > 9106a61 Update net-certmanager nightly (# 13445)
  > 1b38451 Update net-gateway-api nightly (# 13444)
  > 09f44f5 Update community files (# 13434)
  > 6f42856 Update net-gateway-api nightly (# 13432)
  > d72ba07 bump kind to 1.17 in e2e (# 13437)
  > a47c428 ran codegen with go1.19 & fix linter warnings (# 13438)
  > bc368c3 Update net-contour nightly (# 13431)
  > 025c712 upgrade to latest dependencies (# 13429)
  > 3d9c724 upgrade to latest dependencies (# 13427)
  > 2ca1aea Update net-istio nightly (# 13428)
  > 41f35ca Update community files (# 13426)
bumping knative.dev/client 4a545d0...daa3c65:
  > daa3c65 upgrade to latest dependencies (# 1758)
  > 2b347b1 Update community files (# 1760)
  > 2b75ddf Update community files (# 1759)
bumping knative.dev/networking cb26aa7...0d4e937:
  > 0d4e937 upgrade to latest dependencies (# 731)
  > ed86031 Update community files (# 730)
  > dd3d3d7 Updates style/lint checks for go1.19 (# 733)
  > 7d97614 upgrade to latest dependencies (# 729)
  > e051f4e upgrade to latest dependencies (# 728)
  > 23d44c9 Update community files (# 727)
bumping knative.dev/pkg 6eb8f18...0243d64:
  > 0243d64 Function AllowRestrictedPodSecurityStandard for modifying test pods (# 2625)
  > 389f811 upgrade to latest dependencies (# 2629)
  > 918fd93 Update community files (# 2633)
  > 44d1d7d Go1.19 changes (# 2631)
  > 6718478 Update community files (# 2628)
  > dc1fae1 changeset: allow override the revision through ldflags (# 2601)
  > 92ed919 Fix: Mute the linter on error return values. (# 2627)
  > 8fa1a3f CmpOpts overrides should be passed through (# 2621)
  > 64fc3e5 ListPointer flag should also apply to filtered informers (# 2620)
  > 2f19491 Feature: Implement Apply codegen. (# 2624)
bumping knative.dev/hack 566898d...8f3c705:
  > 8f3c705 Update community files (# 247)
  > 62b15bd drop support for the istio add on flag (# 243)
  > f5be74f Update community files (# 245)
  > 80fd6da KO_DATA_PATH doesn't need to be set anymore (# 244)
  > 4b6bd86 Format go code (# 239)
bumping knative.dev/eventing 6ea012a...82bf83c:
  > 82bf83c Fix development docs on installing IMC (# 6605)
  > 1c76762 [Scheduler] Handle permanent pending pods (# 6599)
  > a390f74 [main] Upgrade to latest dependencies (# 6590)
  > 1d02f98 Add Ansu as scheduler approver (# 6600)
  > a653058 Set SecurityContext for test Pods (# 6584)
  > 4809791 Updates for Go 1.19 (# 6594)
  > 6de07e8 Update community files (# 6593)
  > a57c12f Update community files (# 6589)
  > cd98a61 upgrade to latest dependencies (# 6586)

Signed-off-by: Knative Automation <[email protected]>

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 14, 2022
1 parent 3f49718 commit 802ab35
Show file tree
Hide file tree
Showing 40 changed files with 175 additions and 174 deletions.
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ require (
k8s.io/apimachinery v0.25.2
k8s.io/client-go v1.5.2
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
knative.dev/client v0.34.1-0.20221024014916-4a545d07fb1f
knative.dev/eventing v0.35.1-0.20221031132216-6ea012a83781
knative.dev/hack v0.0.0-20221031132314-566898d800e9
knative.dev/pkg v0.0.0-20221031132215-6eb8f1845a9d
knative.dev/serving v0.35.1-0.20221031132512-c737bb132b1e
knative.dev/client v0.34.1-0.20221107145322-daa3c65ab933
knative.dev/eventing v0.35.1-0.20221110161316-82bf83cd7768
knative.dev/hack v0.0.0-20221104013908-8f3c7050408b
knative.dev/pkg v0.0.0-20221107171117-0243d641354d
knative.dev/serving v0.35.1-0.20221114131921-874ccebb8063
)

require github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
Expand Down Expand Up @@ -232,7 +232,7 @@ require (
k8s.io/cli-runtime v0.25.2 // indirect
k8s.io/klog/v2 v2.70.2-0.20220707122935-0990e81f1a8f // indirect
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
knative.dev/networking v0.0.0-20221028034507-cb26aa7e2527 // indirect
knative.dev/networking v0.0.0-20221104155004-0d4e93709170 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/kustomize/api v0.12.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
Expand Down
24 changes: 12 additions & 12 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2864,18 +2864,18 @@ k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed h1:jAne/RjBTyawwAy0utX5eqigAwz/lQhTmy+Hr/Cpue4=
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
knative.dev/client v0.34.1-0.20221024014916-4a545d07fb1f h1:rLGxHmz14X/f/2tYEyVza5+zdyXwR6CKdHYX2wGfD8Y=
knative.dev/client v0.34.1-0.20221024014916-4a545d07fb1f/go.mod h1:Zj9uPmVhfi6Y1k+5izhMHG27Ch99sqEveXBRR1+606c=
knative.dev/eventing v0.35.1-0.20221031132216-6ea012a83781 h1:8H57JEY4StE03iVOQNE5ZMsBbTVmuQiekgi+qptEZHs=
knative.dev/eventing v0.35.1-0.20221031132216-6ea012a83781/go.mod h1:LRcPcuemoX4bKzktYZlmZfV4CMLC6Ef9PH5/eVyOSqE=
knative.dev/hack v0.0.0-20221031132314-566898d800e9 h1:TkrNe/pYuNu5PUyIfFAIUxgcmivItCspde1hCAC+fgw=
knative.dev/hack v0.0.0-20221031132314-566898d800e9/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20221028034507-cb26aa7e2527 h1:PetC6RsjrVr0uGxrQIIhOWUv8f1gLn0zjfHFSlQ58Dw=
knative.dev/networking v0.0.0-20221028034507-cb26aa7e2527/go.mod h1:+QSyRHXTjRWLEL47r6EgPhGCturTFxXCVvbOO0JwYOE=
knative.dev/pkg v0.0.0-20221031132215-6eb8f1845a9d h1:BRSonjQw4u63gaWeoE5i2724FF3K7teFf8DcmwjGdAQ=
knative.dev/pkg v0.0.0-20221031132215-6eb8f1845a9d/go.mod h1:j5kO7gKmWGj2DJpefCEiPbItToiYf+2bCtI+A6REkQo=
knative.dev/serving v0.35.1-0.20221031132512-c737bb132b1e h1:Pdr3tMmcyy8onZprz5N8I/wCx9YSsSjdfMncN+W9chw=
knative.dev/serving v0.35.1-0.20221031132512-c737bb132b1e/go.mod h1:n6D2OsLwN3j2HrAMhM8wCbOZuD5ayKbaIldN4NsXd7U=
knative.dev/client v0.34.1-0.20221107145322-daa3c65ab933 h1:R5P3w4xfCY031NXKRCe/gR3vQoxsAa18RFVhN6vieSo=
knative.dev/client v0.34.1-0.20221107145322-daa3c65ab933/go.mod h1:kBS4HLuKpoHQ3rAw6P9OO99WR7khTgFzeDkyggnuihk=
knative.dev/eventing v0.35.1-0.20221110161316-82bf83cd7768 h1:1tXzgScaCU6sfCCIaPZbFhqP07ioQ7F5c8oYDExnJFQ=
knative.dev/eventing v0.35.1-0.20221110161316-82bf83cd7768/go.mod h1:zJDSc7D3NIiufFopIBwueuYJW5kl0ooPYe+CO4XTUMU=
knative.dev/hack v0.0.0-20221104013908-8f3c7050408b h1:EqqlOqjCy/hVexdmPpUjcplO2eZc12+jTdTpodfLaI4=
knative.dev/hack v0.0.0-20221104013908-8f3c7050408b/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20221104155004-0d4e93709170 h1:/DP0jHUGFJcF20BH4waFLz/W/RBMH4f7wQpf12t0eDI=
knative.dev/networking v0.0.0-20221104155004-0d4e93709170/go.mod h1:qwWlbknoGTz/NV+MKB7Hb2nMjwI5zfum3KLLSl2QUMc=
knative.dev/pkg v0.0.0-20221107171117-0243d641354d h1:ACj/4O74QvoB8zE/mlg1ji680gFW7RaUIjAL1x5IN58=
knative.dev/pkg v0.0.0-20221107171117-0243d641354d/go.mod h1:JwNkOLWAeuMYlH9WQA83k+afGCanWcvWvdXZsI3xKo4=
knative.dev/serving v0.35.1-0.20221114131921-874ccebb8063 h1:EmA4GBzGMFgy+QwN9kfqmAI4iSgM6hmp/YBMS1OMcVg=
knative.dev/serving v0.35.1-0.20221114131921-874ccebb8063/go.mod h1:1xMpe+dkh/F8NuM9ho2K6+hN1D8Ijt87rdn0QND51h4=
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
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.

Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ type SubscriptionsAPIFilter struct {

// TriggerFilterAttributes is a map of context attribute names to values for
// filtering by equality. Only exact matches will pass the filter. You can use
// the value '' to indicate all strings match.
// the value to indicate all strings match.
type TriggerFilterAttributes map[string]string

// TriggerStatus represents the current state of a Trigger.
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.

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.

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.

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.

3 changes: 0 additions & 3 deletions vendor/knative.dev/hack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ This is a helper script for Knative E2E test scripts. To use it:
1. By default `knative_teardown()` and `test_teardown()` will be called after
the tests finish, use `--skip-teardowns` if you don't want them to be called.

1. By default Istio is installed on the cluster via Addon, use
`--skip-istio-addon` if you choose not to have it preinstalled.

1. By default Google Kubernetes Engine telemetry to Cloud Logging and Monitoring is disabled.
This can be enabled by setting `ENABLE_GKE_TELEMETRY` to `true`.

Expand Down
15 changes: 3 additions & 12 deletions vendor/knative.dev/hack/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function setup_test_cluster() {

header "Setting up test cluster"
kubectl get nodes

# Set the actual project the test cluster resides in
# It will be a project assigned by Boskos if test is running on Prow,
# otherwise will be ${E2E_GCP_PROJECT_ID} set up by user.
Expand Down Expand Up @@ -90,18 +91,13 @@ function setup_test_cluster() {
echo "- Cluster is ${k8s_cluster}"
echo "- Docker is ${KO_DOCKER_REPO}"

export KO_DATA_PATH="${REPO_ROOT_DIR}/.git"

# Do not run teardowns if we explicitly want to skip them.
(( ! SKIP_TEARDOWNS )) && add_trap teardown_test_resources EXIT

# Handle failures ourselves, so we can dump useful info.
set +o errexit
set +o pipefail

# Wait for Istio installation to complete, if necessary, before calling knative_setup.
# TODO(chizhg): is it really needed?
(( ! SKIP_ISTIO_ADDON )) && (wait_until_batch_job_complete istio-system || return 1)
if function_exists knative_setup; then
knative_setup || fail_test "Knative setup failed"
fi
Expand Down Expand Up @@ -131,7 +127,6 @@ function fail_test() {
}

SKIP_TEARDOWNS=0
SKIP_ISTIO_ADDON=0
E2E_SCRIPT=""
CLOUD_PROVIDER="gke"

Expand Down Expand Up @@ -171,8 +166,8 @@ function initialize() {
case ${parameter} in
--run-tests) run_tests=1 ;;
--skip-teardowns) SKIP_TEARDOWNS=1 ;;
# TODO(chizhg): remove this flag once the addons is defined as an env var.
--skip-istio-addon) SKIP_ISTIO_ADDON=1 ;;
--skip-istio-addon) echo "--skip-istio-addon is no longer supported"
;; # This flag is a noop
*)
case ${parameter} in
--cloud-provider) shift; CLOUD_PROVIDER="$1" ;;
Expand All @@ -185,11 +180,7 @@ function initialize() {
(( IS_PROW )) && [[ -z "${GCP_PROJECT_ID:-}" ]] && IS_BOSKOS=1

if [[ "${CLOUD_PROVIDER}" == "gke" ]]; then
if (( SKIP_ISTIO_ADDON )); then
custom_flags+=("--addons=NodeLocalDNS")
else
custom_flags+=("--addons=Istio,NodeLocalDNS")
fi
fi

readonly IS_BOSKOS
Expand Down
4 changes: 2 additions & 2 deletions vendor/knative.dev/networking/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"bytes"
"errors"
"fmt"
"io/ioutil"
"io"
"net/url"
"strings"
"text/template"
Expand Down Expand Up @@ -418,7 +418,7 @@ func checkTagTemplate(t *template.Template) error {
Name: "foo",
Tag: "v2",
}
return t.Execute(ioutil.Discard, data)
return t.Execute(io.Discard, data)
}

// asLabelSelector returns a LabelSelector extracted from a given configmap key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
// under Status rather than strings.
// This is to support existing resources until they migrate.
//
// Do not use this for anything new, use Addressable
// # Do not use this for anything new, use Addressable
//
// LegacyTargetable is the old schema for the addressable portion
// of the payload
Expand Down
6 changes: 3 additions & 3 deletions vendor/knative.dev/pkg/apis/duck/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ type Populatable = ducktypes.Populatable
// the provided Implementable duck type. It is expected that under the resource
// definition implementing a particular "Fooable" that one would write:
//
// type ConcreteResource struct { ... }
// type ConcreteResource struct { ... }
//
// // Check that ConcreteResource properly implement Fooable.
// err := duck.VerifyType(&ConcreteResource{}, &something.Fooable{})
// // Check that ConcreteResource properly implement Fooable.
// err := duck.VerifyType(&ConcreteResource{}, &something.Fooable{})
//
// This will return an error if the duck typing is not satisfied.
func VerifyType(instance interface{}, iface Implementable) error {
Expand Down
5 changes: 4 additions & 1 deletion vendor/knative.dev/pkg/changeset/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ var (
// The result will have a '-dirty' suffix if the workspace was not clean
func Get() string {
once.Do(func() {
rev = get()
if rev == "" {
rev = get()
}
// It has been set through ldflags, do nothing
})

return rev
Expand Down
4 changes: 2 additions & 2 deletions vendor/knative.dev/pkg/configmap/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ limitations under the License.

// Package configmap exists to facilitate consuming Kubernetes ConfigMap
// resources in various ways, including:
// - Watching them for changes over time, and
// - Loading them from a VolumeMount.
// - Watching them for changes over time, and
// - Loading them from a VolumeMount.
package configmap
4 changes: 2 additions & 2 deletions vendor/knative.dev/pkg/configmap/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Logger interface {
// Constructors is a map for specifying configmap names to
// their function constructors
//
// The values of this map must be functions with the definition
// # The values of this map must be functions with the definition
//
// func(*k8s.io/api/core/v1.ConfigMap) (... , error)
//
Expand All @@ -60,7 +60,7 @@ type UntypedStore struct {
// NewUntypedStore creates an UntypedStore with given name,
// Logger and Constructors
//
// The Logger must not be nil
// # The Logger must not be nil
//
// The values in the Constructors map must be functions with
// the definition
Expand Down
Loading

0 comments on commit 802ab35

Please sign in to comment.