Files
external-snapshotter/CHANGELOG/CHANGELOG-4.0.md
2020-12-17 04:39:26 +00:00

21 KiB

Release notes for v4.0.0

Documentation

Changelog since v3.0.0

Breaking Changes

  • Update to client/v4 (#451, @xing-yang)

  • Update snapshot-controller, CSI snapshotter sidecar, and validation webhook based on V1 APIs. This requires V1 snapshot APIs to be installed. (#425, @xing-yang)

Deprecations

CSI Snapshotter Sidecar

  • metrics-address flag is deprecated and replaced by http-endpoint, which enables handlers from both metrics manager and leader election health check. (#439, @xing-yang)

Feature

API Changes

CSI Snapshotter Sidecar

  • Add process_start_time_seconds metric. (#387, @Jiawei0227)
  • The CSI snapshotter has a new --extra-create-metadata flag. When set to true, the name and namespace of the source VolumeSnapshot, and the name of the source VolumeSnapshotContent will be passed as parameters to the CSI driver in CreateSnapshotRequest. (#375, @chrishenzie)
  • Added leader election health check at the metrics port + path "/healthz/leader-election".
    • metrics-address flag is deprecated and replaced by http-endpoint, which enables handlers from both metrics manager and leader election health check. (#439, @xing-yang)

Snapshot Controller

  • The http-endpoint and metrics-path flags have been added to support metrics for the snapshot-controller. (#409, @ggriffiths)

Bug or Regression

Snapshot Controller

  • Bug fix to allow creation of snapshot content if pvc finalizer exists, even if pvc is marked for deletion. (#413, @RaunakShah)
  • Fixed crash of snapshot-controller when source PVC of a snapshot to take does not exist. (#381, @jsafrane)

Validation Webhook

  • The validation-webhook server will now watch for changes to --tls-cert-file and --tls-private-key-file and update the server's TLS config accordingly. (#429, @ggriffiths)

Other (Cleanup or Flake)

  • Increased the default re-sync period to 15 minutes for the snapshotter sidecar and snapshot controller. (#447, @ggriffiths)
  • klog/v2 is used for logging. (#439, @xing-yang)

Dependencies

Added

  • cloud.google.com/go/firestore: v1.1.0
  • github.com/Azure/go-autorest: v14.2.0+incompatible
  • github.com/Knetic/govaluate: 9aa4983
  • github.com/Shopify/sarama: v1.19.0
  • github.com/Shopify/toxiproxy: v2.1.4+incompatible
  • github.com/VividCortex/gohistogram: v1.0.0
  • github.com/afex/hystrix-go: fa1af6a
  • github.com/apache/thrift: v0.13.0
  • github.com/armon/go-metrics: f0300d1
  • github.com/armon/go-radix: 7fddfc3
  • github.com/aryann/difflib: e206f87
  • github.com/aws/aws-lambda-go: v1.13.3
  • github.com/aws/aws-sdk-go-v2: v0.18.0
  • github.com/bketelsen/crypt: 5cbc8cc
  • github.com/casbin/casbin/v2: v2.1.2
  • github.com/clbanning/x2j: 8252494
  • github.com/codahale/hdrhistogram: 3a0bb77
  • github.com/eapache/go-resiliency: v1.1.0
  • github.com/eapache/go-xerial-snappy: 776d571
  • github.com/eapache/queue: v1.1.0
  • github.com/edsrzf/mmap-go: v1.0.0
  • github.com/form3tech-oss/jwt-go: v3.2.2+incompatible
  • github.com/franela/goblin: c9ffbef
  • github.com/franela/goreq: bcd34c9
  • github.com/fvbommel/sortorder: v1.0.1
  • github.com/go-gl/glfw: e6da0ac
  • github.com/go-sql-driver/mysql: v1.4.0
  • github.com/gogo/googleapis: v1.1.0
  • github.com/golang/snappy: 2e65f85
  • github.com/google/martian/v3: v3.0.0
  • github.com/hashicorp/consul/api: v1.3.0
  • github.com/hashicorp/consul/sdk: v0.3.0
  • github.com/hashicorp/errwrap: v1.0.0
  • github.com/hashicorp/go-cleanhttp: v0.5.1
  • github.com/hashicorp/go-immutable-radix: v1.0.0
  • github.com/hashicorp/go-msgpack: v0.5.3
  • github.com/hashicorp/go-multierror: v1.0.0
  • github.com/hashicorp/go-rootcerts: v1.0.0
  • github.com/hashicorp/go-sockaddr: v1.0.0
  • github.com/hashicorp/go-uuid: v1.0.1
  • github.com/hashicorp/go-version: v1.2.0
  • github.com/hashicorp/go.net: v0.0.1
  • github.com/hashicorp/logutils: v1.0.0
  • github.com/hashicorp/mdns: v1.0.0
  • github.com/hashicorp/memberlist: v0.1.3
  • github.com/hashicorp/serf: v0.8.2
  • github.com/hudl/fargo: v1.3.0
  • github.com/influxdata/influxdb1-client: 8bf82d3
  • github.com/jmespath/go-jmespath/internal/testify: v1.5.1
  • github.com/jpillora/backoff: v1.0.0
  • github.com/kubernetes-csi/csi-test/v4: v4.0.2
  • github.com/lightstep/lightstep-tracer-common/golang/gogo: bc2310a
  • github.com/lightstep/lightstep-tracer-go: v0.18.1
  • github.com/lyft/protoc-gen-validate: v0.0.13
  • github.com/mitchellh/cli: v1.0.0
  • github.com/mitchellh/go-testing-interface: v1.0.0
  • github.com/mitchellh/gox: v0.4.0
  • github.com/mitchellh/iochan: v1.0.0
  • github.com/nats-io/jwt: v0.3.2
  • github.com/nats-io/nats-server/v2: v2.1.2
  • github.com/nats-io/nats.go: v1.9.1
  • github.com/nats-io/nkeys: v0.1.3
  • github.com/nats-io/nuid: v1.0.1
  • github.com/oklog/oklog: v0.3.2
  • github.com/oklog/run: v1.0.0
  • github.com/op/go-logging: 970db52
  • github.com/opentracing-contrib/go-observer: a52f234
  • github.com/opentracing/basictracer-go: v1.0.0
  • github.com/opentracing/opentracing-go: v1.1.0
  • github.com/openzipkin-contrib/zipkin-go-opentracing: v0.4.5
  • github.com/openzipkin/zipkin-go: v0.2.2
  • github.com/pact-foundation/pact-go: v1.0.4
  • github.com/pascaldekloe/goe: 57f6aae
  • github.com/performancecopilot/speed: v3.0.0+incompatible
  • github.com/pierrec/lz4: v2.0.5+incompatible
  • github.com/pkg/profile: v1.2.1
  • github.com/posener/complete: v1.1.1
  • github.com/rcrowley/go-metrics: 3113b84
  • github.com/robertkrimen/otto: c382bd3
  • github.com/ryanuber/columnize: 9b3edd6
  • github.com/samuel/go-zookeeper: 2cc03de
  • github.com/sean-/seed: e2103e2
  • github.com/sony/gobreaker: v0.4.1
  • github.com/stoewer/go-strcase: v1.2.0
  • github.com/streadway/amqp: edfb901
  • github.com/streadway/handy: d5acb31
  • github.com/subosito/gotenv: v1.2.0
  • github.com/willf/bitset: d5bec33
  • go.uber.org/tools: 2cfd321
  • golang.org/x/term: 2321bbc
  • gopkg.in/ini.v1: v1.51.0
  • gopkg.in/sourcemap.v1: v1.0.5
  • gopkg.in/yaml.v3: eeeca48
  • k8s.io/component-helpers: v0.20.0
  • k8s.io/controller-manager: v0.20.0
  • k8s.io/mount-utils: v0.20.0
  • sourcegraph.com/sourcegraph/appdash: ebfcffb

Changed

Removed