🚨 Breaking or Notable
- Kubernetes minimum version has changed to v1.18
- See our K8s minimum version principle
- GC v1 and Labeler v1 deprecated and removed from the code base (@whaught)
- Webhooks certificates now use Ed25519 instead of RSA/2048 and have an expiry of one week (knative/pkg#1998, @Harwayne)
💫 New Features & Changes
- Introduces autocreateClusterDomainClaim in config-network config map. This allows DomainMappings to be safely used in shared clusters by disabling automatic ClusterDomainClaim creation. With this option set to "false", cluster administrators must explicitly delegate domain names to namespaces by creating a ClusterDomainClaim with an appropriate spec.Namespace set. (#10537, @julz)
- Domain mappings disallow mapping from cluster local domain names (generally domains under "cluster.local") (#10798, @julz)
- Allow setting
ReadOnlyRootFilesystem
on the container'sSecurityContext
(#10560, @senthilnathan) - A container's readiness probe
FailureThreshold
&TimeoutSeconds
are now defaulted to3
and1
respectively when a user opts into non-aggressive probing (ie.PeriodTimeout
> 1) (#10700, @shinigambit) - Avoids implicitly adding an "Accept-Encoding: gzip" header to proxied requests if one was not already present. (#10691, @julz)
- Gradual Rollout is possible to set on individual Revisions using
serving.knative.dev/rolloutDuration
annotation, (#10561, @vagababov et al.) - Support Istio 1.9 (knative-sandbox/net-istio#515, @arturenault)
- Support Contour 1.12 (knative-sandbox/net-contour#414, @mattmoor)
🐞 Bug Fixes
- Fixes problem with domainmapping when working with auto-tls and kourier challenge
- Fixed a bug where the activator's metrics could get stuck and thus scale to and from zero didn't work as expected. (#10729, @markusthoemmes)
- Fixes a race in Queue Proxy drain logic that could, in a very unlikely edge case, lead to the pre-stop hook not exiting even though draining has finished (#10781, @julz)
- Avoid slow out-of-memory issue related to metrics (knative/pkg#2005, @skonto)
- Stop reporting reflector metrics since they were removed upstream (knative/pkg#2020, @skonto)
Dependencies
Added
- github.com/containerd/stargz-snapshotter/estargz: a9a0c2d
- github.com/gobuffalo/flect: v0.2.2
- github.com/google/go-containerregistry/pkg/authn/k8schain: 5c4818d
- github.com/jmespath/go-jmespath/internal/testify: v1.5.1
- github.com/josharian/intern: v1.0.0
- github.com/moby/term: 672ec06
- github.com/stoewer/go-strcase: v1.2.0
- gotest.tools/v3: v3.0.2
- sigs.k8s.io/structured-merge-diff/v4: v4.0.2
Changed
- contrib.go.opencensus.io/exporter/stackdriver: v0.13.4 → v0.13.5
- github.com/Azure/azure-sdk-for-go: v42.3.0+incompatible → v50.2.0+incompatible
- github.com/Azure/go-autorest/autorest/adal: v0.9.5 → v0.9.10
- github.com/Azure/go-autorest/autorest/to: v0.3.0 → v0.4.0
- github.com/Azure/go-autorest/autorest/validation: v0.2.0 → v0.3.1
- github.com/Azure/go-autorest/autorest: v0.10.2 → v0.11.17
- github.com/Azure/go-autorest/logger: v0.1.0 → v0.2.0
- github.com/GoogleCloudPlatform/k8s-cloud-provider: 27a4ced → 7901bc8
- github.com/aws/aws-sdk-go: v1.31.12 → v1.37.1
- github.com/cncf/udpa/go: efcf912 → 5459f2c
- github.com/docker/cli: a4bedce → v20.10.2+incompatible
- github.com/docker/docker: v1.13.1 → v20.10.2+incompatible
- github.com/emicklei/go-restful: v2.9.5+incompatible → v2.15.0+incompatible
- github.com/envoyproxy/go-control-plane: v0.9.7 → fd9021f
- github.com/go-logr/logr: v0.1.0 → v0.4.0
- github.com/go-openapi/jsonpointer: v0.19.3 → v0.19.5
- github.com/go-openapi/jsonreference: v0.19.3 → v0.19.5
- github.com/go-openapi/spec: v0.19.6 → v0.20.2
- github.com/go-openapi/swag: v0.19.7 → v0.19.13
- github.com/gogo/protobuf: v1.3.1 → v1.3.2
- github.com/google/go-containerregistry: v0.2.1 → 19c2b63
- github.com/google/gofuzz: v1.1.0 → v1.2.0
- github.com/google/uuid: v1.1.2 → v1.2.0
- github.com/googleapis/gnostic: v0.4.0 → v0.5.3
- github.com/jmespath/go-jmespath: v0.3.0 → v0.4.0
- github.com/kisielk/errcheck: v1.2.0 → v1.5.0
- github.com/kr/pretty: v0.1.0 → v0.2.0
- github.com/mailru/easyjson: 6c0755d → v0.7.6
- github.com/matttproud/golang_protobuf_extensions: v1.0.1 → c182aff
- github.com/onsi/gomega: v1.10.1 → v1.10.3
- github.com/opencontainers/go-digest: v1.0.0-rc1 → v1.0.0
- github.com/prometheus/client_golang: v1.8.0 → v1.9.0
- github.com/rogpeppe/go-internal: v1.5.2 → v1.3.0
- github.com/rs/dnscache: 06bb552 → 295bba8
- github.com/rubiojr/go-vhd: 0bfd3b3 → 02e2102
- github.com/sirupsen/logrus: v1.6.0 → v1.7.0
- github.com/stretchr/testify: v1.5.1 → v1.6.1
- github.com/vdemeester/k8s-pkg-credentialprovider: f1d1696 → v1.19.7
- go.etcd.io/bbolt: v1.3.3 → v1.3.5
- go.etcd.io/etcd: 3cf2f69 → 17cef6e
- go.opencensus.io: v0.22.5 → v0.22.6
- go.uber.org/automaxprocs: v1.3.0 → v1.4.0
- golang.org/x/crypto: 7f63de1 → eec23a3
- golang.org/x/mod: v0.3.0 → v0.4.1
- golang.org/x/net: ac852fb → 5f4716e
- golang.org/x/oauth2: 08078c5 → f9ce19e
- golang.org/x/sys: ef89a24 → 22da62e
- golang.org/x/term: 7de9c90 → 2321bbc
- golang.org/x/text: v0.3.4 → v0.3.5
- golang.org/x/time: 3af7569 → 7e3f01d
- golang.org/x/tools: d93e913 → v0.1.0
- google.golang.org/genproto: 40ec1c2 → 8c77b98
- google.golang.org/grpc: v1.34.0 → v1.35.0
- gopkg.in/check.v1: 8fa4692 → 038fdea
- gopkg.in/yaml.v2: v2.3.0 → v2.4.0
- gopkg.in/yaml.v3: 674ba3e → 496545a
- k8s.io/api: v0.18.12 → v0.19.7
- k8s.io/apiextensions-apiserver: v0.18.12 → v0.19.7
- k8s.io/apimachinery: v0.18.12 → v0.19.7
- k8s.io/apiserver: v0.18.12 → v0.19.7
- k8s.io/client-go: v0.18.12 → v0.19.7
- k8s.io/cloud-provider: v0.18.8 → v0.19.7
- k8s.io/code-generator: v0.18.12 → v0.19.7
- k8s.io/component-base: v0.18.12 → v0.19.7
- k8s.io/csi-translation-lib: v0.18.8 → v0.19.7
- k8s.io/gengo: e0e292d → b6c5ce2
- k8s.io/klog/v2: v2.0.0 → v2.5.0
- k8s.io/kube-openapi: bcb3869 → 8566a33
- k8s.io/legacy-cloud-providers: v0.18.8 → v0.19.7
- k8s.io/utils: c1c6865 → fddb29f
- knative.dev/caching: 1ee4750 → 1212288
- knative.dev/hack: 4ed1ecb → 8368e1f
- knative.dev/networking: ecb89ce → 088986a
- knative.dev/pkg: 51c72e2 → 84c98f3
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.0.7 → v0.0.9
Removed
- github.com/coreos/go-etcd: v2.0.0+incompatible
- github.com/cpuguy83/go-md2man: v1.0.10
- github.com/gobuffalo/envy: v1.7.1
- github.com/jessevdk/go-flags: v1.4.0
- github.com/joho/godotenv: v1.3.0
- github.com/markbates/inflect: v1.0.4
- github.com/opencontainers/runc: v0.1.1
- github.com/russross/blackfriday: v1.5.2
- github.com/ugorji/go/codec: d75b2dc
- sigs.k8s.io/structured-merge-diff/v2: v2.0.1
- sigs.k8s.io/structured-merge-diff/v3: 43c19bb
- sigs.k8s.io/structured-merge-diff: 15d366b