Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 3.73 KB

File metadata and controls

91 lines (64 loc) · 3.73 KB

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

Added

  • BREAKING: Re-write the ConversionWebhookServer. It can now do CRD conversions, handle multiple CRDs and takes care of reconciling the CRDs (#1066).
  • BREAKING: The TlsServer can now handle certificate rotation. To achieve this, a new CertificateResolver was added. Also, TlsServer::new now returns an additional mpsc::Receiver<Certificate>, so that the caller can get notified about certificate rotations happening (#1066).

Fixed

  • Don't pull in the aws-lc-rs crate, as this currently fails to build in make run-dev (#1043).

Changed

  • BREAKING: The constant DEFAULT_IP_ADDRESS has been renamed to DEFAULT_LISTEN_ADDRESS and binds to all addresses (instead of only loopback) by default. This was changed because all the webhooks deployed to Kubernetes (e.g. conversion or mutating - which this crate targets) need to be accessible by it, which is not the case when only using loopback. Also, the constant DEFAULT_SOCKET_ADDR has been renamed to DEFAULT_SOCKET_ADDRESS (#1045).
  • BREAKING: The TlsServer now requires you to pass SAN (subject alternative name) DNS entries, so the caller will trust the issued certificate (#1066).

[0.3.1] - 2024-07-10

Changed

  • Remove instrumentation of long running functions, add more granular instrumentation of futures. Adjust span and event levels (#811).
  • Bump rust-toolchain to 1.79.0 (#822).

Fixed

  • Fix the extraction of ConnectInfo (data about the connection client) and the Host info (data about the server) in the AxumTraceLayer. This was previously not extracted correctly and thus not included in the OpenTelemetry compatible traces (#806).
  • Spawn blocking code on a blocking thread (#815).

[0.3.0] - 2024-05-08

Added

  • Instrument WebhookServer with AxumTraceLayer, add static healthcheck without instrumentation (#758).
  • Add shutdown signal hander for the WebhookServer (#767).

Changed

  • Bump Rust dependencies and GitHub Actions (#782).
  • Bump kube to 0.89.0 and update all dependencies (#762).
  • BREAKING: Bump k8s compilation version to 1.29. Also bump all dependencies. There are some breaking changes in k8s-openapi, e.g. PVCs now have VolumeResourceRequirements instead of ResourceRequirements, and PodAffinityTerm has two new fields match_label_keys and mismatch_label_keys (#769).
  • Bump GitHub workflow actions (#772).
  • Revert zeroize version bump (#772).

Fixed

  • Explicitly set the TLS provider for the ServerConfig, and enable "safe" protocols (#778).

[0.2.0] - 2024-03-26

Changed

  • Implement PartialEq for most Snafu Error enums (#757).
  • Update Rust to 1.77 (#759).