diff --git a/go.mod b/go.mod index 3004fe216cb..a3f5e2fdd93 100644 --- a/go.mod +++ b/go.mod @@ -39,8 +39,8 @@ require ( k8s.io/apiserver v0.17.6 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible k8s.io/utils v0.0.0-20200603063816-c1c6865ac451 - knative.dev/pkg v0.0.0-20200819202314-b5411f2221aa - knative.dev/test-infra v0.0.0-20200819210814-f578ab25945b + knative.dev/pkg v0.0.0-20200820181214-50386ad39634 + knative.dev/test-infra v0.0.0-20200820231346-543fe3e80c03 sigs.k8s.io/yaml v1.2.0 ) diff --git a/go.sum b/go.sum index 4577adfbd44..20916ab066e 100644 --- a/go.sum +++ b/go.sum @@ -1848,16 +1848,16 @@ knative.dev/pkg v0.0.0-20200505191044-3da93ebb24c2/go.mod h1:Q6sL35DdGs8hIQZKdaC knative.dev/pkg v0.0.0-20200515002500-16d7b963416f/go.mod h1:tMOHGbxtRz8zYFGEGpV/bpoTEM1o89MwYFC4YJXl3GY= knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9/go.mod h1:QgNZTxnwpB/oSpNcfnLVlw+WpEwwyKAvJlvR3hgeltA= knative.dev/pkg v0.0.0-20200711004937-22502028e31a/go.mod h1:AqAJV6rYi8IGikDjJ/9ZQd9qKdkXVlesVnVjwx62YB8= -knative.dev/pkg v0.0.0-20200819202314-b5411f2221aa h1:WBLatpsBkLbi3CE3iwH5SCeMy1QQSxYs3Vf2EPKpsFk= -knative.dev/pkg v0.0.0-20200819202314-b5411f2221aa/go.mod h1:UQNXXn3xdykWbTkhXYUZnev2H3s82+gNrgxYDJ5jIRE= +knative.dev/pkg v0.0.0-20200820181214-50386ad39634 h1:qIoOfpUOCmy1AWJ/LEhVd5Oj1Vb2PxEQTL+ui4DIaDc= +knative.dev/pkg v0.0.0-20200820181214-50386ad39634/go.mod h1:UQNXXn3xdykWbTkhXYUZnev2H3s82+gNrgxYDJ5jIRE= knative.dev/test-infra v0.0.0-20200407185800-1b88cb3b45a5/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ= knative.dev/test-infra v0.0.0-20200505052144-5ea2f705bb55/go.mod h1:WqF1Azka+FxPZ20keR2zCNtiQA1MP9ZB4BH4HuI+SIU= knative.dev/test-infra v0.0.0-20200513011557-d03429a76034/go.mod h1:aMif0KXL4g19YCYwsy4Ocjjz5xgPlseYV+B95Oo4JGE= knative.dev/test-infra v0.0.0-20200519015156-82551620b0a9/go.mod h1:A5b2OAXTOeHT3hHhVQm3dmtbuWvIDP7qzgtqxA3/2pE= knative.dev/test-infra v0.0.0-20200707183444-aed09e56ddc7/go.mod h1:RjYAhXnZqeHw9+B0zsbqSPlae0lCvjekO/nw5ZMpLCs= knative.dev/test-infra v0.0.0-20200817225313-c0ea00ce480c/go.mod h1:Pmg2c7Z7q7BGFUV/GOpU5BlrD3ePJft4MPqx8AYBplc= -knative.dev/test-infra v0.0.0-20200819210814-f578ab25945b h1:1iSavTEBQtZOWAnTE/4i5E0uGOWn+WgpYDqx++AoiLU= -knative.dev/test-infra v0.0.0-20200819210814-f578ab25945b/go.mod h1:Pmg2c7Z7q7BGFUV/GOpU5BlrD3ePJft4MPqx8AYBplc= +knative.dev/test-infra v0.0.0-20200820231346-543fe3e80c03 h1:tBz8QL+H4chihsWHGDJ8/1xwHiFMDqRWHHid/qlfSoo= +knative.dev/test-infra v0.0.0-20200820231346-543fe3e80c03/go.mod h1:Pmg2c7Z7q7BGFUV/GOpU5BlrD3ePJft4MPqx8AYBplc= 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= diff --git a/vendor/knative.dev/pkg/apis/duck/README.md b/vendor/knative.dev/pkg/apis/duck/README.md index ab9a590308f..688f54246b5 100644 --- a/vendor/knative.dev/pkg/apis/duck/README.md +++ b/vendor/knative.dev/pkg/apis/duck/README.md @@ -1,8 +1,9 @@ # Duck Types Knative leverages duck-typing to interact with resources inside of Kubernetes -without explicit knowlage of the full resource shape. `knative/pkg` defines two -duck types that are used throughout Knative: `Addressable` and `Source`. +without explicit knowledge of the full resource shape. `knative/pkg` defines +three duck types that are used throughout Knative: `Addressable`, `Binding`, and +`Source`. For APIs leveraging `ObjectReference`, the context of the resource in question identifies the duck-type. To enable the case where no `ObjectRefrence` is used, diff --git a/vendor/knative.dev/pkg/hack/update-codegen.sh b/vendor/knative.dev/pkg/hack/update-codegen.sh index 3e030bfac04..0743ad68938 100644 --- a/vendor/knative.dev/pkg/hack/update-codegen.sh +++ b/vendor/knative.dev/pkg/hack/update-codegen.sh @@ -47,7 +47,7 @@ EXTERNAL_INFORMER_PKG="k8s.io/client-go/informers" \ ${REPO_ROOT_DIR}/hack/generate-knative.sh "injection" \ k8s.io/client-go \ k8s.io/api \ - "admissionregistration:v1beta1,v1 apps:v1 autoscaling:v1,v2beta1 batch:v1,v1beta1 core:v1 rbac:v1" \ + "admissionregistration:v1beta1,v1 apps:v1 autoscaling:v1,v2beta1 batch:v1,v1beta1 core:v1 rbac:v1 coordination:v1" \ --go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt \ --force-genreconciler-kinds "Namespace,Deployment" diff --git a/vendor/knative.dev/test-infra/scripts/README.md b/vendor/knative.dev/test-infra/scripts/README.md index 01361fd4a1b..6fc26484947 100644 --- a/vendor/knative.dev/test-infra/scripts/README.md +++ b/vendor/knative.dev/test-infra/scripts/README.md @@ -113,12 +113,13 @@ This is a helper script for Knative E2E test scripts. To use it: 1. [optional] Customize the test cluster. Set the following environment variables if the default values don't fit your needs: - - `E2E_GCP_PROJECT_ID`: GCP project ID for creating the clusters, defaults to none. + - `E2E_GCP_PROJECT_ID`: GCP project ID for creating the clusters, defaults to + none. - `E2E_GKE_CLUSTER_REGION`: Cluster region, defaults to `us-central1`. - - `E2E_GKE_CLUSTER_BACKUP_REGIONS`: Space-separated list of regions to retry test - cluster creation in case of stockout. Defaults to `us-west1 us-east1`. - - `E2E_GKE_CLUSTER_ZONE`: Cluster zone (e.g., `a`), defaults to none (i.e. use a - regional cluster). + - `E2E_GKE_CLUSTER_BACKUP_REGIONS`: Space-separated list of regions to retry + test cluster creation in case of stockout. Defaults to `us-west1 us-east1`. + - `E2E_GKE_CLUSTER_ZONE`: Cluster zone (e.g., `a`), defaults to none (i.e. + use a regional cluster). - `E2E_GKE_CLUSTER_BACKUP_ZONES`: Space-separated list of zones to retry test cluster creation in case of stockout. If defined, `E2E_GKE_CLUSTER_BACKUP_REGIONS` will be ignored thus it defaults to none. @@ -128,7 +129,8 @@ This is a helper script for Knative E2E test scripts. To use it: autoscaling, defaults to 1. - `E2E_MAX_CLUSTER_NODES`: Maximum number of nodes in the cluster when autoscaling, defaults to 3. - - `E2E_GKE_SCOPES`: Scopes for the GKE node instances, defaults to `cloud-platform`. + - `E2E_GKE_SCOPES`: Scopes for the GKE node instances, defaults to + `cloud-platform`. - `E2E_CLUSTER_VERSION`: Version for the cluster, defaults to `latest`. 1. Source the script. diff --git a/vendor/modules.txt b/vendor/modules.txt index caa97839735..804ed444534 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1028,7 +1028,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/pkg v0.0.0-20200819202314-b5411f2221aa +# knative.dev/pkg v0.0.0-20200820181214-50386ad39634 ## explicit knative.dev/pkg/apiextensions/storageversion knative.dev/pkg/apiextensions/storageversion/cmd/migrate @@ -1153,7 +1153,7 @@ knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/conversion knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/test-infra v0.0.0-20200819210814-f578ab25945b +# knative.dev/test-infra v0.0.0-20200820231346-543fe3e80c03 ## explicit knative.dev/test-infra/scripts # sigs.k8s.io/yaml v1.2.0